Changeset 59220 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Dec 24, 2015 11:36:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/hostres.c
r59219 r59220 32 32 uint16_t id; 33 33 34 #ifdef RT_OS_WINDOWS 35 /* size of the type forces alignment */ 36 # define U16_BIT_FIELD_T uint16_t 37 #else 38 /* gcc -pedantic complains about implementaion-defined types */ 39 # define U16_BIT_FIELD_T unsigned int 40 #endif 41 34 42 /* XXX: endianness */ 35 uint16_trd:1;36 uint16_ttc:1;37 uint16_taa:1;38 uint16_topcode:4;39 uint16_tqr:1;40 uint16_trcode:4;41 uint16_tZ:3;42 uint16_tra:1;43 U16_BIT_FIELD_T rd:1; 44 U16_BIT_FIELD_T tc:1; 45 U16_BIT_FIELD_T aa:1; 46 U16_BIT_FIELD_T opcode:4; 47 U16_BIT_FIELD_T qr:1; 48 U16_BIT_FIELD_T rcode:4; 49 U16_BIT_FIELD_T Z:3; 50 U16_BIT_FIELD_T ra:1; 43 51 44 52 uint16_t qdcount;
Note:
See TracChangeset
for help on using the changeset viewer.