Versions Compared

Key

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

...

NetIP_IsAddrClassB()

...

Validate an IP address as a Class-B IP address. Anchor10918811091881

Files

Anchor10918821091882net_ip.h/net_ip.c Anchor10918831091883

Prototype

...

 

Arguments

addr

IP address to validate.

...

...

Returned Value

...

10918881091888DEF_YES Anchor12558381255838

if IP address is a Class-B IP address;

...

DEF_NO Anchor12558451255845

otherwise.

...

Required Configuration

...

None. Anchor10918921091892

Notes / Warnings

Anchor10918931091893IP address must be in host-order. Anchor10918941091894

Class-B IP addresses have their most significant bits be ‘10’.