]> git.baikalelectronics.ru Git - kernel.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)
commit9b4be9f18cbfd502b043ca9791e453bf38493bff
tree9de3f3a1ed8d79052fdd9abe7d72bed594de6140
parente1d0392342d54183d6b599f0679d275e8703394a
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