]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
libipt_pkttype now compiled by default
authorHarald Welte <laforge@gnumonks.org>
Mon, 18 Mar 2002 12:44:05 +0000 (12:44 +0000)
committerHarald Welte <laforge@gnumonks.org>
Mon, 18 Mar 2002 12:44:05 +0000 (12:44 +0000)
extensions/.pkttype-test [deleted file]
extensions/Makefile
include/linux/netfilter_ipv4/ipt_pkttype.h [new file with mode: 0644]

diff --git a/extensions/.pkttype-test b/extensions/.pkttype-test
deleted file mode 100755 (executable)
index ea1a075..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_pkttype.h ] && echo pkttype
index 4e2fa052a7df37a07ebb5ce7e01b5ad09c2105e8..a1366a519defc3aa8b8c9e8dc08e4f728fb63678 100644 (file)
@@ -1,6 +1,6 @@
 #! /usr/bin/make
 
-PF_EXT_SLIB:=ah dscp esp icmp length limit mac mark multiport owner standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TCPMSS TOS ULOG
+PF_EXT_SLIB:=ah dscp esp icmp length limit mac mark multiport owner pkttype standard state tcp tcpmss tos ttl udp unclean DNAT DSCP ECN LOG MARK MASQUERADE MIRROR REDIRECT REJECT SAME SNAT TCPMSS TOS ULOG
 PF6_EXT_SLIB:=icmpv6 length limit mac mark multiport owner standard tcp udp LOG MARK
 
 # The following may not be present, but compile them anyway.
diff --git a/include/linux/netfilter_ipv4/ipt_pkttype.h b/include/linux/netfilter_ipv4/ipt_pkttype.h
new file mode 100644 (file)
index 0000000..c189e94
--- /dev/null
@@ -0,0 +1,9 @@
+#ifndef _IPT_PKTTYPE_H
+#define _IPT_PKTTYPE_H
+
+struct ipt_pkttype_info {
+       int     pkttype;
+       int     invert;
+};
+
+#endif /*_IPT_PKTTYPE_H*/