Validate an IP address as a Class-A IP address.
Files
net_ip.h/net_ip.c
Prototype
Arguments
addr
IP address to validate.
Returned Value
DEF_YES
if IP address is a Class-A IP address;
DEF_NO
otherwise.
Required Configuration
None.
Notes / Warnings
IP address must be in host-order.
Class-A IP addresses have their most significant bit be ‘0’.