dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
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
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