NetIPv6_IsAddrMcastAllNodes

Description

Validate an IPv6 address as the all nodes multicast address.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrMcastAllNodes(NET_IPv6_ADDR  *p_addr);

Arguments

p_addr

Pointer to the IPv6 address to validate.

Returned Value

DEF_YES, if the IPv6 address is the all nodes multicast IPv6 address.
DEF_NO, otherwise.

Required Configuration

None.

Notes / Warnings

RFC #4291 Section 2.7.1 specifies that the following IPv6 addresses "identify the group of all IPv6 nodes" within their respective scope :

  • FF01:0000:0000:0000:0000:0000:0000:1 Scope 1 -> Interface-local
  • FF02:0000:0000:0000:0000:0000:0000:1 Scope 2 -> Link-local