Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 265543
b: refs/heads/master
c: 7ff30c4
h: refs/heads/master
i:
  265541: f5c1273
  265539: e8ad9e4
  265535: 1c30f5b
v: v3
  • Loading branch information
Ben Hutchings authored and David S. Miller committed Aug 26, 2011
1 parent 407b867 commit c069bca
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bcb949b8847655516ba499ca75cd8529f167e360
refs/heads/master: 7ff30c43f316f1febcfb6e84d511ab34ea433e7b
14 changes: 7 additions & 7 deletions trunk/include/linux/netfilter_arp/arp_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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).
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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];
Expand Down
20 changes: 10 additions & 10 deletions trunk/include/linux/netfilter_ipv4/ip_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ struct ipt_ip {
unsigned char iniface_mask[IFNAMSIZ], outiface_mask[IFNAMSIZ];

/* Protocol, 0 = ANY */
u_int16_t proto;
__u16 proto;

/* Flags word */
u_int8_t flags;
__u8 flags;
/* Inverse flags */
u_int8_t invflags;
__u8 invflags;
};

/* Values for "flag" field in struct ipt_ip (general ip structure). */
Expand Down Expand Up @@ -114,9 +114,9 @@ struct ipt_entry {
unsigned int nfcache;

/* Size of ipt_entry + matches */
u_int16_t target_offset;
__u16 target_offset;
/* Size of ipt_entry + matches + target */
u_int16_t next_offset;
__u16 next_offset;

/* Back pointer */
unsigned int comefrom;
Expand Down Expand Up @@ -149,9 +149,9 @@ struct ipt_entry {

/* ICMP matching stuff */
struct ipt_icmp {
u_int8_t type; /* type to match */
u_int8_t code[2]; /* range of code */
u_int8_t invflags; /* Inverse flags */
__u8 type; /* type to match */
__u8 code[2]; /* range of code */
__u8 invflags; /* Inverse flags */
};

/* Values for "inv" field for struct ipt_icmp. */
Expand Down Expand Up @@ -288,8 +288,8 @@ extern unsigned int ipt_do_table(struct sk_buff *skb,
struct compat_ipt_entry {
struct ipt_ip ip;
compat_uint_t nfcache;
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];
Expand Down
22 changes: 11 additions & 11 deletions trunk/include/linux/netfilter_ipv6/ip6_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ struct ip6t_ip6 {
* MH do not match any packets.
* - You also need to set IP6T_FLAGS_PROTO to "flags" to check protocol.
*/
u_int16_t proto;
__u16 proto;
/* TOS to match iff flags & IP6T_F_TOS */
u_int8_t tos;
__u8 tos;

/* Flags word */
u_int8_t flags;
__u8 flags;
/* Inverse flags */
u_int8_t invflags;
__u8 invflags;
};

/* Values for "flag" field in struct ip6t_ip6 (general ip6 structure). */
Expand Down Expand Up @@ -118,9 +118,9 @@ struct ip6t_entry {
unsigned int nfcache;

/* Size of ipt_entry + matches */
u_int16_t target_offset;
__u16 target_offset;
/* Size of ipt_entry + matches + target */
u_int16_t next_offset;
__u16 next_offset;

/* Back pointer */
unsigned int comefrom;
Expand Down Expand Up @@ -186,9 +186,9 @@ struct ip6t_error {

/* ICMP matching stuff */
struct ip6t_icmp {
u_int8_t type; /* type to match */
u_int8_t code[2]; /* range of code */
u_int8_t invflags; /* Inverse flags */
__u8 type; /* type to match */
__u8 code[2]; /* range of code */
__u8 invflags; /* Inverse flags */
};

/* Values for "inv" field for struct ipt_icmp. */
Expand Down Expand Up @@ -298,8 +298,8 @@ extern int ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
struct compat_ip6t_entry {
struct ip6t_ip6 ipv6;
compat_uint_t nfcache;
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];
Expand Down

0 comments on commit c069bca

Please sign in to comment.