Name | Synopsis | Description | Attributes | See Also
#include <net/if.h>
unsigned if_index /* numeric index of the interface */ char *if_name /* null-terminated name of the interface */
The <net/if.h> header defines the following macro for the length of a buffer containing an interface name (including the terminating null character):
interface name length
See attributes(5) for descriptions of the following attributes:
|
ATTRIBUTE TYPE |
ATTRIBUTE VALUE |
|---|---|
|
Interface Stability |
Standard |
Name | Synopsis | Description | Attributes | See Also