On Saturday 2011-09-03 20:49, Anthony G. Basile wrote:
Currently nf_nat.h, nf_conntrack_tuple.h and related headers under
include/net/netfilter are not installed as part of the public kernel
headers. However, there are userland applications, other than iptables
which ships with its own headers, which need these to make use of NAT in
the kernel's netfilter API. For example, miniupnpd, requires them and is
forced to search /usr/src/linux when building.
This patch makes these headers public by installing them in
INSTALL_HDR_PATH.
See: https://bugs.gentoo.org/376873
Signed-off-by: Anthony G. Basile <redacted>
quoted hunk ↗ jump to hunk
@@ -0,0 +1,6 @@
+header-y += nf_nat.h
+header-y += nf_conntrack.h
+header-y += nf_conntrack_tuple.h
+header-y += nf_conntrack_extend.h
+header-y += ipv4/
+header-y += ipv6/
Should not the to-be-exported files better go into linux/ instead?