diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-01-31 22:42:52 +0100 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-02-01 01:17:29 +0100 |
commit | 350661a6eb089f3e54e67e022db9e16ea280499f (patch) | |
tree | e6857b58f535bab42e2381f7fbb027f4cc9aa63a /include/linux/netfilter/xt_connbytes.h | |
parent | 028ad9ec6d5c27c107c9a7a316617cbe366abb0f (diff) |
includes: header updates
Update the shipped Linux kernel headers from 2.6.33-rc6, as
iptables's ipt_ECN.h for example references ipt_DSCP.h, which no
longer exists.
Since a number of old code pieces have been removed in the kernel in
that fashion, the structs for older versions are moved into the .c
file, to keep header updating simple.
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Diffstat (limited to 'include/linux/netfilter/xt_connbytes.h')
-rw-r--r-- | include/linux/netfilter/xt_connbytes.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/netfilter/xt_connbytes.h b/include/linux/netfilter/xt_connbytes.h index c022c989..92fcbb0d 100644 --- a/include/linux/netfilter/xt_connbytes.h +++ b/include/linux/netfilter/xt_connbytes.h @@ -1,6 +1,8 @@ #ifndef _XT_CONNBYTES_H #define _XT_CONNBYTES_H +#include <linux/types.h> + enum xt_connbytes_what { XT_CONNBYTES_PKTS, XT_CONNBYTES_BYTES, @@ -13,13 +15,12 @@ enum xt_connbytes_direction { XT_CONNBYTES_DIR_BOTH, }; -struct xt_connbytes_info -{ +struct xt_connbytes_info { struct { aligned_u64 from; /* count to be matched */ aligned_u64 to; /* count to be matched */ } count; - u_int8_t what; /* ipt_connbytes_what */ - u_int8_t direction; /* ipt_connbytes_direction */ + __u8 what; /* ipt_connbytes_what */ + __u8 direction; /* ipt_connbytes_direction */ }; #endif |