Validate an IP address as a valid, configurable IP host address.
Files
net_ip.h/net_ip.c
Prototype
Arguments
addr_host
IP host address to validate.
addr_subnet_mask
IP host address subnet mask.
Returned Value
DEF_YES
if configurable IP host address;
DEF_NO
otherwise.
Required Configuration
None.
Notes / Warnings
IP addresses must be in host-order.
A configurable IP host address must not be one of the following:
- This host (see section C-12-21)
- Specified host
- Localhost (see section C-12-18)
- Limited broadcast (see section C-12-12)
- Directed broadcast
- Subnet broadcast