NetIPv4_IsAddrLocalLink

Validate an IPv4 address as a link-local IPv4 address.

net_ipv4.h/net_ipv4.c

          CPU_BOOLEAN NetIPv4_IsAddrLocalLink(NET_IPv4_ADDR addr);

addr

IPv4 address to validate.

DEF_YES

if IPv4 address is a link-local IPv4 address;

DEF_NO

otherwise.

None.

IPv4 address must be in host-order.

Link-local IPv4 addresses are any host address in the ‘169.254.’ subnet.