Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Get the IPv4 address subnet mask for a host’s configured IPv4 address.

Files

net_ipv4.h/net_ipv4.c

Prototype

Arguments

addr

Configured IPv4 host address.

p_err

Pointer to variable that will receive the return error code from this function:

NET_IPv4_ERR_NONE
NET_IPv4_ERR_INVALID_ADDR_HOST
NET_OS_ERR_LOCK

Returned Value

Configured IPv4 host address’s subnet mask (in host-order), if no errors.

NET_IPv4_ADDR_NONE, otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 addresses in host-order.

  • No labels