/
NetIF_Stop
NetIF_Stop
Stop a network interface.
Files
net_if.h/net_if.c
Prototype
void NetIF_Stop(NET_IF_NBR if_nbr, NET_ERR *p_err);
Arguments
if_nbr
Network interface number to stop.
p_err
Pointer to variable that will receive the return error code from this function:
NET_IF_ERR_NONE
NET_IF_ERR_NULL_FNCT
NET_IF_ERR_INVALID_IF
NET_IF_ERR_INVALID_CFG
NET_IF_ERR_INVALID_STATE
NET_ERR_FAULT_LOCK_ACQUIRE
Returned Value
None.
Required Configuration
None.
Notes / Warnings
Additional error codes may be returned by the specific interface or device driver.
Related content
NetIF_Start
NetIF_Start
More like this
NetDev_Stop() (Ethernet)
NetDev_Stop() (Ethernet)
More like this
NetDev_Stop() (Wireless)
NetDev_Stop() (Wireless)
More like this
NetWiFiMgr_Stop()
NetWiFiMgr_Stop()
More like this
NetIF_IsValid
NetIF_IsValid
More like this
NetIF_IsValidCfgd
NetIF_IsValidCfgd
More like this