Versions Compared

Key

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

Validate an IPv4 address as the ‘This Host’ initialization IPv4 address.

Files

net_ipv4.h/net_ipv4.c

Prototype

Code Block

          CPU_BOOLEAN NetIPv4_IsAddrThisHost(NET_IPv4_ADDR addr);

Arguments

addr

IPv4 address to validate.

Returned Value

DEF_YES

if IPv4 address is a ‘This Host’ initialization IPv4 address;

DEF_NO

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 address must be in host-order.

...