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 5 Next »

Stop dynamic IP address configuration for an interface.

Files

net_ip.h/net_ip.c

Prototype

Arguments

if_nbr

Interface number to stop dynamic address configuration.

perr

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 dynamic IP address configuration successfully stopped;

DEF_FAIL,

otherwise.

Required Configuration

None.

Notes / Warnings

This function should only be called by appropriate network application function(s) [e.g., DHCP initialization functions]. However, if the application attempts to dynamically configure IP address(es), it must call NetIP_CfgAddrAddDynamicStop() only after calling NetIP_CfgAddrAddDynamicStart() and dynamic IP address configuration has failed.

  • No labels