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