NetIPv6_IsAddrMcastRsvd

Description

Validate the IPv6 address as a a reserved multicast IPv6 address.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrMcastRsvd(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 reserved multicast IPv6 address.
DEF_NO, otherwise.

Required Configuration

None.

Notes / Warnings

RFC #4291 Section 2.7.1 specifies that the following addresses "are reserved and shall never be assigned to any multicast group" :

  • FF00:0:0:0:0:0:0:0
  • FF01:0:0:0:0:0:0:0
  • FF02:0:0:0:0:0:0:0
  • FF03:0:0:0:0:0:0:0
  • FF04:0:0:0:0:0:0:0
  • FF05:0:0:0:0:0:0:0
  • FF06:0:0:0:0:0:0:0
  • FF07:0:0:0:0:0:0:0
  • FF08:0:0:0:0:0:0:0
  • FF09:0:0:0:0:0:0:0
  • FF0A:0:0:0:0:0:0:0
  • FF0B:0:0:0:0:0:0:0
  • FF0C:0:0:0:0:0:0:0
  • FF0D:0:0:0:0:0:0:0
  • FF0E:0:0:0:0:0:0:0
  • FF0F:0:0:0:0:0:0:0