lwip_if_indextoname() function
Maps an interface index to its corresponding name.
Arguments
ifname
shall point to a buffer of at least {IF_NAMESIZE} bytes
Return value
If ifindex is an interface index, then the function shall return the value supplied in ifname, which points to a buffer now containing the interface name. Otherwise, the function shall return a NULL pointer.
lwip_if_indextoname():
![]()
lwip_if_indextoname()