TCPIP_IPV6_DestAddressGet Function

C

IPV6_ADDR * TCPIP_IPV6_DestAddressGet(
    IPV6_PACKET * p
);

Description

This function is used to get the destination address for a IPv6 packet.

Preconditions

TCPIP_IPV6_Initialize() should be called. TCPIP_IPV6_InterfaceIsReady should be true.

Parameters

ParametersDescription
pPointer to IPv6 packet.

Returns

IPV6_ADDR *

  • Get a valid IPv6 Source address - On Success.

  • NULL - On Failure.

Remarks

None.