Validate an IP address as a Class-C 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-C IP address;
DEF_NO
otherwise.
Required Configuration
None.
Notes / Warnings
IP address must be in host-order.
Class-C IP addresses have their most significant bits be ‘110’.