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 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’.

  • No labels