TCPIP_IPV6_SourceAddressGet Function

C

IPV6_ADDR * TCPIP_IPV6_SourceAddressGet(
    IPV6_PACKET * p
);

Description

This API is used to get the source address for an IPv6 packet.

Preconditions

TCPIP_IPV6_Initialize() is required. 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.