Embedded TCP/IP stack  4.7.0

◆ fnet_netif_get_name()

void fnet_netif_get_name ( fnet_netif_desc_t  netif_desc,
fnet_char_t name,
fnet_size_t  name_size 
)

Retrieves a name of the specified network interface.

Parameters
netif_descNetwork interface descriptor.
nameString buffer that receives a name of the interface netif_desc.
name_sizeSize of the name buffer.
Maximum length of the interface name is defined by the FNET_NETIF_NAMELEN.
See also
fnet_netif_get_by_name()

This function retrieves the name of the specified network interface netif_desc and stores it in the name (for example "eth0", "loop").


© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net