NetIPv6_IsAddrMcastSolNode

Description

Validate an IPv6 address as a solicited node multicast address.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrMcastSolNode(NET_IPv6_ADDR  *p_addr);

Arguments

p_addr

Pointer to the IPv6 address to validate.

Returned Value

DEF_YES, if the IPv6 address is a solicited node multicast IPv6 address.
DEF_NO, otherwise.

Required Configuration

None.

Notes / Warnings

RFC #4291 Section 2.7.1 specifies that "Solicited-Node multicast address are computed as a function of a node's unicast and anycast addresses. A Solicited-Node multicast address is formed by taking the low-order 24 bits of an address (unicast or anycast) and appending those bits to the prefix FF02:0:0:0:0:1:FF00::/104 resulting in a multicast address in the range" from :
FF02:0000:0000:0000:0000:0001:FF00:0000
to ...
FF02:0000:0000:0000:0000:0001:FFFF:FFFF"