Versions Compared

Key

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

Validate an IP IPv4 address as the limited broadcast IP IPv4 address.

Files

net_ipipv4.h/net_ipipv4.c

Prototype

Code Block

          CPU_BOOLEAN NetIPv4_IsAddrBroadcast(NET_IPv4_ADDR addr);

Arguments

addr

IP IPv4 address to validate.

Returned Value

DEF_YES

if IP IPv4 address is a limited broadcast IP IPv4 address;

DEF_NO

otherwise.

Required Configuration

None.

Notes / Warnings

IP IPv4 address must be in host-order.

The broadcast IP IPv4 address is 255.255.255.255.