1
0
Fork 0
alistair23-linux/include/linux/netfilter_ipv4
Alexey Dobriyan 44d34e721e [NETFILTER]: x_tables: return new table from {arp,ip,ip6}t_register_table()
Typical table module registers xt_table structure (i.e. packet_filter)
and link it to list during it. We can't use one template for it because
corresponding list_head will become corrupted. We also can't unregister
with template because it wasn't changed at all and thus doesn't know in
which list it is.

So, we duplicate template at the very first step of table registration.
Table modules will save it for use during unregistration time and actual
filtering.

Do it at once to not screw bisection.

P.S.: renaming i.e. packet_filter => __packet_filter is temporary until
      full netnsization of table modules is done.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-01-31 19:27:36 -08:00
..
Kbuild [NETFILTER]: Sort matches/targets in Kbuild file 2007-11-07 04:08:21 -08:00
ip_queue.h
ip_tables.h [NETFILTER]: x_tables: return new table from {arp,ip,ip6}t_register_table() 2008-01-31 19:27:36 -08:00
ipt_CLASSIFY.h
ipt_CLUSTERIP.h [NETFILTER]: Annotate start of kernel fields in NF headers 2008-01-28 15:02:19 -08:00
ipt_CONNMARK.h
ipt_DSCP.h
ipt_ECN.h
ipt_LOG.h
ipt_MARK.h
ipt_NFQUEUE.h
ipt_REJECT.h
ipt_SAME.h
ipt_TCPMSS.h
ipt_TOS.h
ipt_TTL.h
ipt_ULOG.h
ipt_addrtype.h [NETFILTER]: ipt_addrtype: limit address type checking to an interface 2008-01-28 14:55:56 -08:00
ipt_ah.h
ipt_comment.h
ipt_connbytes.h
ipt_connmark.h
ipt_conntrack.h
ipt_dccp.h
ipt_dscp.h
ipt_ecn.h
ipt_esp.h
ipt_hashlimit.h
ipt_helper.h
ipt_iprange.h [NETFILTER]: Rename ipt_iprange to xt_iprange 2008-01-28 15:02:27 -08:00
ipt_length.h
ipt_limit.h
ipt_mac.h
ipt_mark.h
ipt_multiport.h
ipt_owner.h
ipt_physdev.h
ipt_pkttype.h
ipt_policy.h
ipt_realm.h
ipt_recent.h
ipt_sctp.h
ipt_state.h
ipt_string.h
ipt_tcpmss.h
ipt_tos.h
ipt_ttl.h