===== include/linux/netfilter_ipv4/ip_tables.h 1.12 vs edited ===== --- 1.12/include/linux/netfilter_ipv4/ip_tables.h 2004-11-02 01:39:53 +01:00 +++ edited/include/linux/netfilter_ipv4/ip_tables.h 2004-12-29 13:32:56 +01:00 @@ -439,6 +447,25 @@ /* Set to THIS_MODULE. */ struct module *me; +}; + +/* Standard entry. */ +struct ipt_standard +{ + struct ipt_entry entry; + struct ipt_standard_target target; +}; + +struct ipt_error_target +{ + struct ipt_entry_target target; + char errorname[IPT_FUNCTION_MAXNAMELEN]; +}; + +struct ipt_error +{ + struct ipt_entry entry; + struct ipt_error_target target; }; extern int ipt_register_table(struct ipt_table *table); ===== net/ipv4/netfilter/iptable_raw.c 1.3 vs edited ===== --- 1.3/net/ipv4/netfilter/iptable_raw.c 2004-06-23 16:44:05 +02:00 +++ edited/net/ipv4/netfilter/iptable_raw.c 2004-12-29 13:33:24 +01:00 @@ -8,25 +8,6 @@ #define RAW_VALID_HOOKS ((1 << NF_IP_PRE_ROUTING) | (1 << NF_IP_LOCAL_OUT)) -/* Standard entry. */ -struct ipt_standard -{ - struct ipt_entry entry; - struct ipt_standard_target target; -}; - -struct ipt_error_target -{ - struct ipt_entry_target target; - char errorname[IPT_FUNCTION_MAXNAMELEN]; -}; - -struct ipt_error -{ - struct ipt_entry entry; - struct ipt_error_target target; -}; - static struct { struct ipt_replace repl; ===== net/ipv4/netfilter/iptable_mangle.c 1.17 vs edited ===== --- 1.17/net/ipv4/netfilter/iptable_mangle.c 2004-06-21 23:31:50 +02:00 +++ edited/net/ipv4/netfilter/iptable_mangle.c 2004-12-29 13:33:41 +01:00 @@ -29,25 +29,6 @@ (1 << NF_IP_LOCAL_OUT) | \ (1 << NF_IP_POST_ROUTING)) -/* Standard entry. */ -struct ipt_standard -{ - struct ipt_entry entry; - struct ipt_standard_target target; -}; - -struct ipt_error_target -{ - struct ipt_entry_target target; - char errorname[IPT_FUNCTION_MAXNAMELEN]; -}; - -struct ipt_error -{ - struct ipt_entry entry; - struct ipt_error_target target; -}; - /* Ouch - five different hooks? Maybe this should be a config option..... -- BC */ static struct { ===== net/ipv4/netfilter/iptable_filter.c 1.13 vs edited ===== --- 1.13/net/ipv4/netfilter/iptable_filter.c 2004-11-13 22:40:51 +01:00 +++ edited/net/ipv4/netfilter/iptable_filter.c 2004-12-29 13:33:05 +01:00 @@ -20,25 +20,6 @@ #define FILTER_VALID_HOOKS ((1 << NF_IP_LOCAL_IN) | (1 << NF_IP_FORWARD) | (1 << NF_IP_LOCAL_OUT)) -/* Standard entry. */ -struct ipt_standard -{ - struct ipt_entry entry; - struct ipt_standard_target target; -}; - -struct ipt_error_target -{ - struct ipt_entry_target target; - char errorname[IPT_FUNCTION_MAXNAMELEN]; -}; - -struct ipt_error -{ - struct ipt_entry entry; - struct ipt_error_target target; -}; - static struct { struct ipt_replace repl; ===== net/ipv4/netfilter/ip_nat_rule.c 1.15 vs edited ===== --- 1.15/net/ipv4/netfilter/ip_nat_rule.c 2004-11-13 22:40:51 +01:00 +++ edited/net/ipv4/netfilter/ip_nat_rule.c 2004-12-29 13:34:07 +01:00 @@ -35,25 +35,6 @@ #define NAT_VALID_HOOKS ((1<