]> err.no Git - linux-2.6/blobdiff - include/linux/ip.h
[PATCH] Add the vgetcpu vsyscall
[linux-2.6] / include / linux / ip.h
index 9e2eb9a602ebdc7154e0ef3a629a9868e219e8c4..2f4600146f833a509e3d7cac68b97013142c9e09 100644 (file)
@@ -57,6 +57,7 @@
 #define IPOPT_SEC      (2 |IPOPT_CONTROL|IPOPT_COPY)
 #define IPOPT_LSRR     (3 |IPOPT_CONTROL|IPOPT_COPY)
 #define IPOPT_TIMESTAMP        (4 |IPOPT_MEASUREMENT)
+#define IPOPT_CIPSO    (6 |IPOPT_CONTROL|IPOPT_COPY)
 #define IPOPT_RR       (7 |IPOPT_CONTROL)
 #define IPOPT_SID      (8 |IPOPT_CONTROL|IPOPT_COPY)
 #define IPOPT_SSRR     (9 |IPOPT_CONTROL|IPOPT_COPY)
@@ -90,14 +91,14 @@ struct iphdr {
 #error "Please fix <asm/byteorder.h>"
 #endif
        __u8    tos;
-       __u16   tot_len;
-       __u16   id;
-       __u16   frag_off;
+       __be16  tot_len;
+       __be16  id;
+       __be16  frag_off;
        __u8    ttl;
        __u8    protocol;
        __u16   check;
-       __u32   saddr;
-       __u32   daddr;
+       __be32  saddr;
+       __be32  daddr;
        /*The options start here. */
 };