linux/net/bridge/netfilter
Jan Engelhardt f7108a20de netfilter: xtables: move extension arguments into compound structure (1/6)
The function signatures for Xtables extensions have grown over time.
It involves a lot of typing/replication, and also a bit of stack space
even if they are not used. Realize an NFWS2008 idea and pack them into
structs. The skb remains outside of the struct so gcc can continue to
apply its optimizations.

This patch does this for match extensions' match functions.

A few ambiguities have also been addressed. The "offset" parameter for
example has been renamed to "fragoff" (there are so many different
offsets already) and "protoff" to "thoff" (there is more than just one
protocol here, so clarify).

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2008-10-08 11:35:18 +02:00
..
Kconfig netfilter: ebtables: make BRIDGE_NF_EBTABLES a menuconfig option 2008-10-08 11:35:17 +02:00
Makefile bridge: fix IPV6=n build 2008-06-17 16:16:13 -07:00
ebt_802_3.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_among.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_arp.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_arpreply.c netfilter: remove redundant casts from Ebtables 2008-10-08 11:35:16 +02:00
ebt_dnat.c netfilter: ebtables: use generic table checking 2008-10-08 11:35:15 +02:00
ebt_ip.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_ip6.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_limit.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_log.c netfilter: move Ebtables to use Xtables 2008-10-08 11:35:15 +02:00
ebt_mark.c netfilter: move Ebtables to use Xtables 2008-10-08 11:35:15 +02:00
ebt_mark_m.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_nflog.c netfilter: remove redundant casts from Ebtables 2008-10-08 11:35:16 +02:00
ebt_pkttype.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_redirect.c netfilter: ebtables: use generic table checking 2008-10-08 11:35:15 +02:00
ebt_snat.c netfilter: ebtables: use generic table checking 2008-10-08 11:35:15 +02:00
ebt_stp.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebt_ulog.c netfilter: move Ebtables to use Xtables 2008-10-08 11:35:15 +02:00
ebt_vlan.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00
ebtable_broute.c [NETFILTER]: bridge netfilter: use non-deprecated __RW_LOCK_UNLOCKED macro. 2008-04-14 09:56:03 +02:00
ebtable_filter.c netfilter: ebtables: use nf_register_hooks() 2008-07-26 17:47:53 -07:00
ebtable_nat.c netfilter: ebtables: use nf_register_hooks() 2008-07-26 17:47:53 -07:00
ebtables.c netfilter: xtables: move extension arguments into compound structure (1/6) 2008-10-08 11:35:18 +02:00