Embedded TCP/IP stack: fnet_netif_release

FNET

void fnet_netif_release ( fnet_netif_desc_t  netif_desc)

Releases network interface and removes it from FNET stack.

Parameters
netif_descNetwork interface descriptor to be released (FNET_CPU_ETH0_IF,FNET_CPU_ETH1_IF).
See also
fnet_init(), fnet_netif_init()

This function releases network interface defined by netif_desc and removes it from the FNET stack.
FNET declares descriptors for Ethernet interfaces (FNET_CPU_ETH0_IF, FNET_CPU_ETH1_IF).

Note
fnet_release() automatically releases all initialized interfaces.

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net