NetIPv4_IsValidAddrSubnetMask

Validate an IPv4 address subnet mask.

Files

net_ipv4.h/net_ipv4.c

Prototype

          CPU_BOOLEAN NetIPv4_IsValidAddrSubnetMask(NET_IPv4_ADDR addr_subnet_mask);

Arguments

addr_subnet_mask

IPv4 host address subnet mask.

Returned Value

DEF_YES

if valid IPv4 address subnet mask;

DEF_NO

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 address must be in host-order.