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

Version 1 Next »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

NetIP_IsAddrClassC()

Validate an IP address as a Class-C IP address.

Files

net_ip.h/net_ip.c

Prototype

CPU_BOOLEAN NetIP_IsAddrClassC(NET_IP_ADDR addr);

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