Get the IP address subnet mask for a host’s configured IP address.
Files
net_ip.h/net_ip.c
Prototype
Arguments
addr
Configured IP host address.
perr
Pointer to variable that will receive the return error code from this function:
NET_IP_ERR_NONE
NET_IP_ERR_INVALID_ADDR_HOST
NET_OS_ERR_LOCK
Returned Value
Configured IP host address’s subnet mask (in host-order), if no errors.
NET_IP_ADDR_NONE
, otherwise.
Required Configuration
None.
Notes / Warnings
IP addresses in host-order.