Versions Compared

Key

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

NetIP_GetAddrHost()

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

...

net_ip.h/net_ip.c

Prototype

...

Arguments

if_nbr

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

...

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

NET_IP_ERR_NONE
NET_IP_ERR_NULL_PTR
NET_IP_ERR_ADDR_NONE_AVAIL
NET_IP_ERR_ADDR_CFG_IN_PROGRESS
NET_IP_ERR_ADDR_TBL_SIZE
NET_IF_ERR_INVALID_IF
NET_OS_ERR_LOCK

Returned Value

DEF_OK,

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

...