ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/ip.h
(Generate patch)

Comparing BasiliskII/src/slirp/ip.h (file contents):
Revision 1.2 by gbeauche, 2006-01-17T21:19:12Z vs.
Revision 1.3 by gbeauche, 2006-01-27T23:31:38Z

# Line 86 | Line 86 | typedef u_int32_t n_long;
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 */
# Line 160 | Line 160 | struct ip_timestamp {
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 {
# Line 265 | Line 265 | struct ipq {
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.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines