]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netfilter: xtables: resolve indirect macros 1/3
authorJan Engelhardt <jengelh@medozas.de>
Wed, 13 Oct 2010 13:56:56 +0000 (15:56 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Wed, 13 Oct 2010 16:00:36 +0000 (18:00 +0200)
commit12b00c2c025b8af697d9a022ea2e928cad889ef1
tree9de3f3a1ed8d79052fdd9abe7d72bed594de6140
parenteecc545856c8a0f27783a440d25f4ceaa1f95ce8
netfilter: xtables: resolve indirect macros 1/3

Many of the used macros are just there for userspace compatibility.
Substitute the in-kernel code to directly use the terminal macro
and stuff the defines into #ifndef __KERNEL__ sections.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
include/linux/netfilter_arp/arp_tables.h
include/linux/netfilter_ipv4/ip_tables.h
include/linux/netfilter_ipv6/ip6_tables.h
net/ipv4/netfilter/arp_tables.c
net/ipv4/netfilter/ip_tables.c
net/ipv6/netfilter/ip6_tables.c