diff options
author | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-14 19:12:07 +0000 |
---|---|---|
committer | Bart De Schuymer <bdschuym@pandora.be> | 2002-07-14 19:12:07 +0000 |
commit | 02ac9442198a2f7ccc50d24ad0a832e5f697cf20 (patch) | |
tree | 3cdcd2f003631b5e2c1777a5f2d476095712202a /kernel/linux/include/linux | |
parent | 0babb91a812670448e2170f0ac65637b19cf4ef6 (diff) |
add support for retrieving the init table data
Diffstat (limited to 'kernel/linux/include/linux')
-rw-r--r-- | kernel/linux/include/linux/netfilter_bridge/ebtables.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/linux/include/linux/netfilter_bridge/ebtables.h b/kernel/linux/include/linux/netfilter_bridge/ebtables.h index ca1d7aa..683610f 100644 --- a/kernel/linux/include/linux/netfilter_bridge/ebtables.h +++ b/kernel/linux/include/linux/netfilter_bridge/ebtables.h @@ -29,7 +29,9 @@ #define EBT_SO_GET_INFO (EBT_BASE_CTL) #define EBT_SO_GET_ENTRIES (EBT_SO_GET_INFO+1) -#define EBT_SO_GET_MAX (EBT_SO_GET_ENTRIES+1) +#define EBT_SO_GET_INIT_INFO (EBT_SO_GET_ENTRIES+1) +#define EBT_SO_GET_INIT_ENTRIES (EBT_SO_GET_INIT_INFO+1) +#define EBT_SO_GET_MAX (EBT_SO_GET_INIT_ENTRIES+1) // verdicts >0 are "branches" #define EBT_ACCEPT -1 @@ -55,9 +57,9 @@ struct ebt_entries { // one standard (accept, drop, return) per hook int policy; // nr. of entries - __u32 nentries; + unsigned int nentries; // entry list - __u8 data[0]; + char data[0]; }; // used for the bitmask of struct ebt_entry |