Sync with the new ipfw3 version.
[ipfw.git] / dummynet2 / include / netinet / ip.h
index bdd8cf0..e88551f 100644 (file)
  */
 struct ip {
 #if BYTE_ORDER == LITTLE_ENDIAN
-        u_int   ip_hl:4,                /* header length */
+        u_char  ip_hl:4,                /* header length */
                 ip_v:4;                 /* version */
 #endif
 #if BYTE_ORDER == BIG_ENDIAN
-        u_int   ip_v:4,                 /* version */
+        u_char  ip_v:4,                 /* version */
                 ip_hl:4;                /* header length */
 #endif
         u_char  ip_tos;                 /* type of service */