lwIP
2.1.0
Lightweight IP stack
|
Functions | |
char * | lwip_if_indextoname (unsigned int ifindex, char *ifname) |
unsigned int | lwip_if_nametoindex (const char *ifname) |
char* lwip_if_indextoname | ( | unsigned int | ifindex, |
char * | ifname | ||
) |
Maps an interface index to its corresponding name.
ifindex | interface index |
ifname | shall point to a buffer of at least {IF_NAMESIZE} bytes |
unsigned int lwip_if_nametoindex | ( | const char * | ifname | ) |
Returs the interface index corresponding to name ifname.
ifname | Interface name |