Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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
    • No labels