From: Pablo Neira Ayuso Date: Sat, 1 Oct 2011 17:51:29 +0000 (-0400) Subject: netfilter: export NAT definitions through linux/netfilter_ipv4/nf_nat.h X-Git-Tag: v3.2-rc1~68^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d83f63b19d45ba0898b97824afcc8e0b5c954cb;p=pandora-kernel.git netfilter: export NAT definitions through linux/netfilter_ipv4/nf_nat.h This patch exports several definitions that used to live under include/net/netfilter/nf_nat.h. These definitions, although not exported, have been used by iptables and other userspace applications like miniupnpd since long time. Basically, these userspace tools included some internal definition of the required structures and they assume no changes in the binary representation (which is OK indeed). To resolve this situation, this patch makes public the required structure and install them in INSTALL_HDR_PATH. See: https://bugs.gentoo.org/376873, for more information. This patch is heavily based on the initial patch sent by: Anthony G. Basile Which was entitled: netfilter: export sanitized nf_nat.h to INSTALL_HDR_PATH Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed