lwip_if_nametoindex() function
Returns the interface index corresponding to name ifname.
Syntax
unsigned int lwip_if_nametoindex(const char *ifname); Return value
The corresponding index if ifname is the name of an interface; otherwise, zero.
lwip_if_nametoindex():
![]()
lwip_if_nametoindex()