86 |
|
|
87 |
|
struct ip { |
88 |
|
#ifdef WORDS_BIGENDIAN |
89 |
< |
u_int ip_v:4, /* version */ |
89 |
> |
u_char ip_v:4, /* version */ |
90 |
|
ip_hl:4; /* header length */ |
91 |
|
#else |
92 |
< |
u_int ip_hl:4, /* header length */ |
92 |
> |
u_char ip_hl:4, /* header length */ |
93 |
|
ip_v:4; /* version */ |
94 |
|
#endif |
95 |
|
u_int8_t ip_tos; /* type of service */ |
160 |
|
u_int8_t ipt_len; /* size of structure (variable) */ |
161 |
|
u_int8_t ipt_ptr; /* index of current entry */ |
162 |
|
#ifdef WORDS_BIGENDIAN |
163 |
< |
u_int ipt_oflw:4, /* overflow counter */ |
163 |
> |
u_char ipt_oflw:4, /* overflow counter */ |
164 |
|
ipt_flg:4; /* flags, see below */ |
165 |
|
#else |
166 |
< |
u_int ipt_flg:4, /* flags, see below */ |
166 |
> |
u_char ipt_flg:4, /* flags, see below */ |
167 |
|
ipt_oflw:4; /* overflow counter */ |
168 |
|
#endif |
169 |
|
union ipt_timestamp { |
265 |
|
*/ |
266 |
|
struct ipasfrag { |
267 |
|
#ifdef WORDS_BIGENDIAN |
268 |
< |
u_int ip_v:4, |
268 |
> |
u_char ip_v:4, |
269 |
|
ip_hl:4; |
270 |
|
#else |
271 |
< |
u_int ip_hl:4, |
271 |
> |
u_char ip_hl:4, |
272 |
|
ip_v:4; |
273 |
|
#endif |
274 |
|
/* BUG : u_int changed to u_int8_t. |