Changeset View
Changeset View
Standalone View
Standalone View
head/sys/arm64/linux/linux.h
Show First 20 Lines • Show All 258 Lines • ▼ Show 20 Lines | |||||
union l_semun { | union l_semun { | ||||
l_int val; | l_int val; | ||||
l_uintptr_t buf; | l_uintptr_t buf; | ||||
l_uintptr_t array; | l_uintptr_t array; | ||||
l_uintptr_t __buf; | l_uintptr_t __buf; | ||||
l_uintptr_t __pad; | l_uintptr_t __pad; | ||||
}; | }; | ||||
struct l_sockaddr { | |||||
l_ushort sa_family; | |||||
char sa_data[14]; | |||||
}; | |||||
struct l_ifmap { | struct l_ifmap { | ||||
l_ulong mem_start; | l_ulong mem_start; | ||||
l_ulong mem_end; | l_ulong mem_end; | ||||
l_ushort base_addr; | l_ushort base_addr; | ||||
u_char irq; | u_char irq; | ||||
u_char dma; | u_char dma; | ||||
u_char port; | u_char port; | ||||
} __packed; | } __packed; | ||||
#define LINUX_IFHWADDRLEN 6 | |||||
#define LINUX_IFNAMSIZ 16 | |||||
struct l_ifreq { | struct l_ifreq { | ||||
union { | union { | ||||
char ifrn_name[LINUX_IFNAMSIZ]; | char ifrn_name[LINUX_IFNAMSIZ]; | ||||
} ifr_ifrn; | } ifr_ifrn; | ||||
union { | union { | ||||
struct l_sockaddr ifru_addr; | struct l_sockaddr ifru_addr; | ||||
Show All 31 Lines |