Functions | |
int | ICMPv6SendNS (NETIF_DEVICE *ptr_device, IP6N DstAddress, IP6N SrcAddress, IP6N TargetAddress) |
int | ICMPv6SendNA (NETIF_DEVICE *ptr_device, IP6N DstAddress, IP6N SrcAddress, IP6N TargetAddress, UINT8 Flags) |
int | ICMPv6RecvNS (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
int | ICMPv6RecvNA (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
int | ICMPv6RecvRA (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
int | ICMPv6RecvRedirect (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
int | ICMPv6RecvRS (PBM_Pkt *pPkt, IPV6HDR *ptr_ipv6hdr) |
int | ICMPv6SendRS (NETIF_DEVICE *ptr_device, IP6N SrcAddress) |
int ICMPv6RecvNA | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function handles the ICMPv6 Neighbour Advertisment Message
[in] | pPkt | Pointer to the entire ICMPv6 Packet. |
[in] | ptr_ipv6hdr | Pointer to the IPv6 Header. |
0 | - Success | |
<0 | - Error |
int ICMPv6RecvNS | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function handles the ICMPv6 Neighbour Solicitation Message
[in] | pPkt | Pointer to the entire ICMPv6 Packet. |
[in] | ptr_ipv6hdr | Pointer to the IPv6 Header. |
0 | - Success | |
<0 | - Error |
int ICMPv6RecvRA | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function handles the ICMPv6 Router Advertisment Message
[in] | pPkt | Pointer to the entire ICMPv6 Packet. |
[in] | ptr_ipv6hdr | Pointer to the IPv6 Header. |
0 | - Success | |
<0 | - Error |
int ICMPv6RecvRedirect | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function handles the ICMPv6 Redirect Message
[in] | pPkt | Pointer to the entire ICMPv6 Packet. |
[in] | ptr_ipv6hdr | Pointer to the IPv6 Header. |
0 | - Success | |
<0 | - Error |
int ICMPv6RecvRS | ( | PBM_Pkt * | pPkt, | |
IPV6HDR * | ptr_ipv6hdr | |||
) |
Description
The function handles the ICMPv6 Router Solicitation Message
[in] | pPkt | Pointer to the entire ICMPv6 Packet. |
[in] | ptr_ipv6hdr | Pointer to the IPv6 Header. |
0 | - Success | |
<0 | - Error |
int ICMPv6SendNA | ( | NETIF_DEVICE * | ptr_device, | |
IP6N | DstAddress, | |||
IP6N | SrcAddress, | |||
IP6N | TargetAddress, | |||
UINT8 | Flags | |||
) |
Description
The function is used to send out a Neighbor Advertisment.
This is for *internal* NDK Stack Usage.
[in] | ptr_device | The Network Interface object on which the packet is to be transmitted. |
[in] | DstAddress | The destination address to which the NA packet is directed too. |
[in] | SrcAddress | The Source address of the interface |
[in] | TargetAddress | The Target address to which the NA message is being transmitted. |
[in] | Flags | The value of the (R)eserved, (S)olicited and (O)verride flags. |
0 | - Success | |
<0 | - Error |
int ICMPv6SendNS | ( | NETIF_DEVICE * | ptr_device, | |
IP6N | DstAddress, | |||
IP6N | SrcAddress, | |||
IP6N | TargetAddress | |||
) |
Description
The function is used to send out a Neighbor solicitation
This is for *internal* NDK Stack Usage.
[in] | ptr_device | The Network Interface object on which the packet is to be transmitted. |
[in] | DstAddress | The destination address to which the NS packet is directed too. As per RFC 2461; this can either be the Solicted Node Multicast Address or the the target address. |
[in] | SrcAddress | The Source address of the interface; this can either be UNSPECIFIED i.e. :: if the NS is being sent for DAD or it will be the address of the source interface. |
[in] | TargetAddress | The Target address to which the NS message is being transmitted. |
0 | - Success | |
<0 | - Error |
int ICMPv6SendRS | ( | NETIF_DEVICE * | ptr_device, | |
IP6N | SrcAddress | |||
) |
Description
The function is used to send out a Router solicitation. All RS messages are sent to the ALL_ROUTER Destination Address.
This is for *internal* NDK Stack Usage.
[in] | ptr_device | The Network Interface object on which the packet is to be transmitted. |
[in] | SrcAddress | The Source address of the interface; this could be set to the UNSPECIFIED address. If the Source address is UNSPECIFIED; the function does not append the SOURCE_LL Option to the RS packet. |
0 | - Success | |
<0 | - Error |