NetIPv4_IsValidAddrHostCfgd

Validate an IPv4 address as a valid, configurable IPv4 host address.

Files

net_ipv4.h/net_ipv4.c

Prototype

          CPU_BOOLEAN NetIPv4_IsValidAddrHostCfgd(NET_IPv4_ADDR addr_host,
                                                  NET_IPv4_ADDR addr_subnet_mask);

Arguments

addr_host

IPv4 host address to validate.

addr_subnet_mask

IPv4 host address subnet mask.

Returned Value

DEF_YES

if configurable IPv4 host address;

DEF_NO

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 addresses must be in host-order.

A configurable IPv4 host address must not be one of the following: