headers, netfilter: Use kernel type names __u8, __u16, __u32
[pandora-kernel.git] / include / linux / netfilter_arp / arp_tables.h
index adbf4bf..e08565d 100644 (file)
@@ -52,7 +52,7 @@ struct arpt_arp {
        struct in_addr smsk, tmsk;
 
        /* Device hw address length, src+target device addresses */
-       u_int8_t arhln, arhln_mask;
+       __u8 arhln, arhln_mask;
        struct arpt_devaddr_info src_devaddr;
        struct arpt_devaddr_info tgt_devaddr;
 
@@ -71,9 +71,9 @@ struct arpt_arp {
        unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];
 
        /* Flags word */
-       u_int8_t flags;
+       __u8 flags;
        /* Inverse flags */
-       u_int16_t invflags;
+       __u16 invflags;
 };
 
 /* Values for "flag" field in struct arpt_ip (general arp structure).
@@ -102,9 +102,9 @@ struct arpt_entry
        struct arpt_arp arp;
 
        /* Size of arpt_entry + matches */
-       u_int16_t target_offset;
+       __u16 target_offset;
        /* Size of arpt_entry + matches + target */
-       u_int16_t next_offset;
+       __u16 next_offset;
 
        /* Back pointer */
        unsigned int comefrom;
@@ -260,8 +260,8 @@ extern unsigned int arpt_do_table(struct sk_buff *skb,
 
 struct compat_arpt_entry {
        struct arpt_arp arp;
-       u_int16_t target_offset;
-       u_int16_t next_offset;
+       __u16 target_offset;
+       __u16 next_offset;
        compat_uint_t comefrom;
        struct compat_xt_counters counters;
        unsigned char elems[0];