Lely core libraries 2.3.4
|
A structure describing a network interface. More...
#include <if.h>
Data Fields | |
unsigned int | index |
The interface index. | |
char | name [IO_IF_NAME_STRLEN] |
The interface name. | |
int | domain |
The domain of the interface (one of IO_SOCK_BTH, IO_SOCK_IPV4, IO_SOCK_IPV6 or IO_SOCK_UNIX). | |
int | flags |
The status of the interface (any combination of IO_IF_UP, IO_IF_BROADCAST, IO_IF_LOOPBACK, IO_IF_POINTTOPOINT and IO_IF_MULTICAST). | |
io_addr_t | addr |
The address of the interface. | |
io_addr_t | netmask |
The netmask used by the interface. | |
io_addr_t | broadaddr |
The broadcast address of the interface. | |