Validate an IPv4 address as a valid IPv4 host address.
Files
net_ipv4.h/net_ipv4.c
Prototype
Code Block |
---|
CPU_BOOLEAN NetIPv4_IsValidAddrHost(NET_IPv4_ADDR addr_host); |
Arguments
addr_host
IPv4 host address to validate.
Returned Value
DEF_YES
if valid IPv4 host address;
DEF_NO
otherwise.
Required Configuration
None.
Notes / Warnings
IPv4 address must be in host-order. A valid IPv4 host address must not be one of the following:
...