NetIPv6_IsAddrMcastAllRouters

Description

Validate an IPv6 address as the all routers multicast address.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrMcastAllRouters(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 routers 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 routers" within their respective scope :

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