NetIPv6_IsAddrLoopback
Description
Validate an IPv6 address as the IPv6 loopback address.
Files
net_ipv6.h/net_ipv6.c
Prototype
CPU_BOOLEAN NetIPv6_IsAddrLoopback(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 IPv6 loopback address.DEF_NO
, otherwise.
Required Configuration
None.
Notes / Warnings
The IPv6 loopback address is defined as 0000:0000:0000:0000:0000:0000:0000:0001.