Parent Directory | Revision Log | Patch
revision 1.8 by chupa, Sat Dec 7 14:01:23 2002 UTC | revision 1.9 by chupa, Thu Jan 2 13:43:49 2003 UTC | |
---|---|---|
# | Line 39 | Line 39 |
39 | struct short_ip | struct short_ip |
40 | { | { |
41 | u_int8_t ipnum; | u_int8_t ipnum; |
42 | #if __BYTE_ORDER == __LITTLE_ENDIAN | #if WORDS_BIGENDIAN |
u_int8_t len :7; | ||
u_int8_t long_bit :1; | ||
#elif __BYTE_ORDER == __BIG_ENDIAN | ||
43 | u_int8_t long_bit :1; | u_int8_t long_bit :1; |
44 | u_int8_t len :7; | u_int8_t len :7; |
45 | #else | #else |
46 | # error "Please fix <bits/endian.h>" | u_int8_t len :7; |
47 | u_int8_t long_bit :1; | |
48 | #endif | #endif |
49 | }; | }; |
50 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |