![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
Network interface names and indices (<net/if.h>) More...
Go to the source code of this file.
Data Structures | |
| struct | if_nameindex |
| Network interface name-to-index mapping. More... | |
Macros | |
| #define | IF_NAMESIZE 1 |
Functions | |
| char * | if_indextoname (unsigned int ifindex, char *ifname) |
| Map a network interface index to its name. | |
| void | if_freenameindex (struct if_nameindex *ptr) |
| Free a list returned by if_nameindex(). | |
| struct if_nameindex * | if_nameindex (void) |
| Return all network interfaces as a name-index array. | |
| unsigned int | if_nametoindex (const char *ifname) |
| Map a network interface name to its index. | |
Network interface names and indices (<net/if.h>)
Definition in file if.h.