if.h, if - sockets local interfaces
#include <net/if.h>
The <net/if.h> header defines the if_nameindex structure, which includes the following members:
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):
IF_NAMESIZE
See attributes(5) for descriptions of the following attributes:
|
if_nametoindex(3XNET), attributes(5), standards(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |