Versions Compared

Key

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

...

NetIP_IsAddrClassA()

...

Validate an IP address as a Class-A IP address. Anchor10918651091865

Files

Anchor10918661091866net_ip.h/net_ip.c Anchor10918671091867

Prototype

...

 

Arguments

addr

IP address to validate.

...

...

Returned Value

...

10918721091872DEF_YES Anchor12558171255817

if IP address is a Class-A IP address;

...

DEF_NO Anchor12558241255824

otherwise.

...

Required Configuration

...

None. Anchor10918761091876

Notes / Warnings

Anchor10918771091877IP address must be in host-order. Anchor10918781091878

Class-A IP addresses have their most significant bit be ‘0’.