NetIPv6_IsAddrMcast

Description

Validate an IPv6 address as a multicast address.

Files

net_ipv6.h/net_ipv6.c

Prototype

          CPU_BOOLEAN NetIPv6_IsAddrMcast(NET_IPv6_ADDR  *p_addr);

Arguments

p_addr

Pointer to IPv6 address to validate.

Returned Value

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

Required Configuration

None.

Notes / Warnings

An IPv6 Multicast address is defined as having the following format :

8 bits4 bits4 bits112 bits
11111111flagsscopeGroup ID

Refer to RFC #4291, section 2.7 for more details.