1 STRUCT_SPECIAL(termios
)
4 TYPE_SHORT
, TYPE_SHORT
, TYPE_SHORT
, TYPE_SHORT
)
6 STRUCT(serial_multiport_struct
,
7 TYPE_INT
, TYPE_INT
, TYPE_CHAR
, TYPE_CHAR
, TYPE_INT
, TYPE_CHAR
, TYPE_CHAR
,
8 TYPE_INT
, TYPE_CHAR
, TYPE_CHAR
, TYPE_INT
, TYPE_CHAR
, TYPE_CHAR
, TYPE_INT
,
9 MK_ARRAY(TYPE_INT
, 32))
11 STRUCT(serial_icounter_struct
,
12 TYPE_INT
, TYPE_INT
, TYPE_INT
, TYPE_INT
, MK_ARRAY(TYPE_INT
, 16))
15 TYPE_SHORT
, MK_ARRAY(TYPE_CHAR
, 14))
18 TYPE_ULONG
, MK_STRUCT(STRUCT_sockaddr
), MK_STRUCT(STRUCT_sockaddr
), MK_STRUCT(STRUCT_sockaddr
),
19 TYPE_SHORT
, TYPE_SHORT
, TYPE_ULONG
, TYPE_PTRVOID
, TYPE_SHORT
, TYPE_PTRVOID
,
20 TYPE_ULONG
, TYPE_ULONG
, TYPE_SHORT
)
23 TYPE_ULONG
, TYPE_ULONG
, TYPE_SHORT
, TYPE_CHAR
, TYPE_CHAR
, TYPE_CHAR
,
25 TYPE_CHAR
, TYPE_CHAR
, TYPE_CHAR
)
27 /* The *_ifreq_list arrays deal with the fact that struct ifreq has unions */
29 STRUCT(sockaddr_ifreq
,
30 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
), MK_STRUCT(STRUCT_sockaddr
))
33 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
), TYPE_SHORT
)
36 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
), TYPE_INT
)
39 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
), MK_STRUCT(STRUCT_ifmap
))
42 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
),
43 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
))
46 MK_ARRAY(TYPE_CHAR
, IFNAMSIZ
), TYPE_PTRVOID
)
49 TYPE_INT
, TYPE_PTRVOID
)
52 MK_STRUCT(STRUCT_sockaddr
), MK_STRUCT(STRUCT_sockaddr
), TYPE_INT
, MK_STRUCT(STRUCT_sockaddr
),
53 MK_ARRAY(TYPE_CHAR
, 16))
56 MK_STRUCT(STRUCT_sockaddr
), MK_STRUCT(STRUCT_sockaddr
), TYPE_INT
, MK_STRUCT(STRUCT_sockaddr
))
58 STRUCT(cdrom_read_audio
,
59 TYPE_CHAR
, TYPE_CHAR
, TYPE_CHAR
, TYPE_CHAR
, TYPE_CHAR
, TYPE_INT
, TYPE_PTRVOID
,
63 TYPE_CHAR
, TYPE_CHAR
, TYPE_SHORT
, TYPE_ULONG
)
66 TYPE_LONG
, TYPE_LONG
, TYPE_SHORT
, MK_ARRAY(TYPE_CHAR
, 256))
69 TYPE_CHAR
, TYPE_CHAR
, TYPE_SHORT
)
72 TYPE_CHAR
, MK_ARRAY(TYPE_CHAR
, 512))
74 STRUCT(audio_buf_info
,
75 TYPE_INT
, TYPE_INT
, TYPE_INT
, TYPE_INT
)
78 TYPE_INT
, TYPE_INT
, TYPE_INT
)
81 MK_ARRAY(TYPE_CHAR
, 16), MK_ARRAY(TYPE_CHAR
, 32), TYPE_INT
, MK_ARRAY(TYPE_INT
, 10))
83 /* loop device ioctls */
85 TYPE_INT
, /* lo_number */
86 TYPE_SHORT
, /* lo_device */
87 TYPE_ULONG
, /* lo_inode */
88 TYPE_SHORT
, /* lo_rdevice */
89 TYPE_INT
, /* lo_offset */
90 TYPE_INT
, /* lo_encrypt_type */
91 TYPE_INT
, /* lo_encrypt_key_size */
92 TYPE_INT
, /* lo_flags */
93 MK_ARRAY(TYPE_CHAR
, 64), /* lo_name */
94 MK_ARRAY(TYPE_CHAR
, 32), /* lo_encrypt_key */
95 MK_ARRAY(TYPE_ULONG
, 2), /* lo_init */
96 MK_ARRAY(TYPE_CHAR
, 4)) /* reserved */
99 TYPE_ULONGLONG
, /* lo_device */
100 TYPE_ULONGLONG
, /* lo_inode */
101 TYPE_ULONGLONG
, /* lo_rdevice */
102 TYPE_ULONGLONG
, /* lo_offset */
103 TYPE_ULONG
, /* lo_number */
104 TYPE_ULONG
, /* lo_encrypt_type */
105 TYPE_ULONG
, /* lo_encrypt_key_size */
106 TYPE_ULONG
, /* lo_flags */
107 MK_ARRAY(TYPE_CHAR
, 64), /* lo_name */
108 MK_ARRAY(TYPE_CHAR
, 64), /* lo_crypt_name */
109 MK_ARRAY(TYPE_CHAR
, 32), /* lo_encrypt_key */
110 MK_ARRAY(TYPE_ULONGLONG
, 2)) /* lo_init */
112 /* mag tape ioctls */
113 STRUCT(mtop
, TYPE_SHORT
, TYPE_INT
)
114 STRUCT(mtget
, TYPE_LONG
, TYPE_LONG
, TYPE_LONG
, TYPE_LONG
, TYPE_LONG
,
116 STRUCT(mtpos
, TYPE_LONG
)