Validate an IPv4 address as one the host’s configured IPv4 address(es).
Files
net_ipv4.h/net_ipv4.c
Prototype
Arguments
addr
IPv4 address to validate.
Returned Value
DEF_YES
if IPv4 address is any one of the host’s configured IPv4 address(es);
DEF_NO
otherwise.
Required Configuration
None.
Notes / Warnings
IPv4 address must be in host-order.