git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@139 c046a42c-6fe2-441c-8c8c-71466251a162
70 lines
2.1 KiB
C
70 lines
2.1 KiB
C
STRUCT_SPECIAL(termios)
|
|
|
|
STRUCT(winsize,
|
|
TYPE_SHORT, TYPE_SHORT, TYPE_SHORT, TYPE_SHORT)
|
|
|
|
STRUCT(serial_multiport_struct,
|
|
TYPE_INT, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR,
|
|
TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_CHAR, TYPE_CHAR, TYPE_INT,
|
|
MK_ARRAY(TYPE_INT, 32))
|
|
|
|
STRUCT(serial_icounter_struct,
|
|
TYPE_INT, TYPE_INT, TYPE_INT, TYPE_INT, MK_ARRAY(TYPE_INT, 16))
|
|
|
|
STRUCT(sockaddr,
|
|
TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 14))
|
|
|
|
STRUCT(rtentry,
|
|
TYPE_ULONG, MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr),
|
|
TYPE_SHORT, TYPE_SHORT, TYPE_ULONG, TYPE_PTRVOID, TYPE_SHORT, TYPE_PTRVOID,
|
|
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT)
|
|
|
|
STRUCT(ifmap,
|
|
TYPE_ULONG, TYPE_ULONG, TYPE_SHORT, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR,
|
|
/* Spare 3 bytes */
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR)
|
|
|
|
/* The *_ifreq_list arrays deal with the fact that struct ifreq has unions */
|
|
|
|
STRUCT(sockaddr_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_sockaddr))
|
|
|
|
STRUCT(short_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_SHORT)
|
|
|
|
STRUCT(int_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_INT)
|
|
|
|
STRUCT(ifmap_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), MK_STRUCT(STRUCT_ifmap))
|
|
|
|
STRUCT(char_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ),
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ))
|
|
|
|
STRUCT(ptr_ifreq,
|
|
MK_ARRAY(TYPE_CHAR, IFNAMSIZ), TYPE_PTRVOID)
|
|
|
|
STRUCT(ifconf,
|
|
TYPE_INT, TYPE_PTRVOID)
|
|
|
|
STRUCT(arpreq,
|
|
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr),
|
|
MK_ARRAY(TYPE_CHAR, 16))
|
|
|
|
STRUCT(arpreq_old,
|
|
MK_STRUCT(STRUCT_sockaddr), MK_STRUCT(STRUCT_sockaddr), TYPE_INT, MK_STRUCT(STRUCT_sockaddr))
|
|
|
|
STRUCT(cdrom_read_audio,
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_CHAR, TYPE_INT, TYPE_PTRVOID,
|
|
TYPE_NULL)
|
|
|
|
STRUCT(hd_geometry,
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_SHORT, TYPE_ULONG)
|
|
|
|
STRUCT(dirent,
|
|
TYPE_LONG, TYPE_LONG, TYPE_SHORT, MK_ARRAY(TYPE_CHAR, 256))
|
|
|
|
STRUCT(kbentry,
|
|
TYPE_CHAR, TYPE_CHAR, TYPE_SHORT)
|