Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | struct l_sockaddr { | ||||
unsigned short sa_family; | unsigned short sa_family; | ||||
char sa_data[14]; | char sa_data[14]; | ||||
}; | }; | ||||
#define LINUX_ARPHRD_ETHER 1 | #define LINUX_ARPHRD_ETHER 1 | ||||
#define LINUX_ARPHRD_LOOPBACK 772 | #define LINUX_ARPHRD_LOOPBACK 772 | ||||
/* | /* | ||||
* Supported address families | |||||
*/ | |||||
#define LINUX_AF_UNSPEC 0 | |||||
#define LINUX_AF_UNIX 1 | |||||
#define LINUX_AF_INET 2 | |||||
#define LINUX_AF_AX25 3 | |||||
#define LINUX_AF_IPX 4 | |||||
#define LINUX_AF_APPLETALK 5 | |||||
#define LINUX_AF_INET6 10 | |||||
/* | |||||
* net device flags | * net device flags | ||||
*/ | */ | ||||
#define LINUX_IFF_UP 0x0001 | #define LINUX_IFF_UP 0x0001 | ||||
#define LINUX_IFF_BROADCAST 0x0002 | #define LINUX_IFF_BROADCAST 0x0002 | ||||
#define LINUX_IFF_DEBUG 0x0004 | #define LINUX_IFF_DEBUG 0x0004 | ||||
#define LINUX_IFF_LOOPBACK 0x0008 | #define LINUX_IFF_LOOPBACK 0x0008 | ||||
#define LINUX_IFF_POINTOPOINT 0x0010 | #define LINUX_IFF_POINTOPOINT 0x0010 | ||||
#define LINUX_IFF_NOTRAILERS 0x0020 | #define LINUX_IFF_NOTRAILERS 0x0020 | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |