Versions Compared

Key

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

NetIP_CfgAddrRemoveAll()

Remove all configured IP host address(es) from an interface.

...

net_ip.h/net_ip.c

Prototype

...

Arguments

if_nbr

Interface number to remove all configured IP host address(es).

...

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

NET_IP_ERR_NONE
NET_IP_ERR_ADDR_CFG_STATE
NET_IF_ERR_INVALID_IF
NET_OS_ERR_LOCK

Returned Value

DEF_OK,

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

...