Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NetIP_IsAddrClassC()

...

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

Files

Anchor10918981091898net_ip.h/net_ip.c Anchor10918991091899

Prototype

...

 

Arguments

addr

IP address to validate.

...

...

Returned Value

...

10919041091904DEF_YES Anchor12558591255859

if IP address is a Class-C IP address;

...

DEF_NO Anchor12558661255866

otherwise.

...

Required Configuration

...

None. Anchor10919081091908

Notes / Warnings

Anchor10919091091909IP address must be in host-order. Anchor13592101359210

Class-C IP addresses have their most significant bits be ‘110’.