Embedded TCP/IP stack
4.7.0
|
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.
netif_desc | Network interface descriptor. |
name | String buffer that receives a name of the interface netif_desc . |
name_size | Size of the name buffer. Maximum length of the interface name is defined by the FNET_NETIF_NAMELEN. |
This function retrieves the name of the specified network interface netif_desc
and stores it in the name
(for example "eth0", "loop").