Versions Compared

Key

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

Get an interface’s configured IPv4 host address(es).

Files

net_ipv4.h/net_ipv4.c

Prototype

Arguments

if_nbr

Interface number to get configured IPv4 host address(es).

...

NET_IPv4_ERR_NONE
NET_IPv4_ERR_NULL_PTR
NET_IPv4_ERR_ADDR_NONE_AVAIL
NET_IPv4_ERR_ADDR_CFG_IN_PROGRESS
NET_IPv4_ERR_ADDR_TBL_SIZE
NET_IF_ERR_INVALID_IF
NET_ERR_FAULT_LOCK_ACQUIRE

Returned Value

DEF_OK,

if interface’s configured IPv4 host address(es) successfully returned;

DEF_FAIL,

otherwise.

Required Configuration

None.

Notes / Warnings

IPv4 addresses returned in host-order.