summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2002-03-18 12:44:05 +0000
committerHarald Welte <laforge@gnumonks.org>2002-03-18 12:44:05 +0000
commitec03bdf9a8a645c2c4a644009475dc9d75a72558 (patch)
tree70b5eb632335cb12c7fe86a475d4572414685c67
parent4d2076ab863e2ae7ee7ef76684db94e01f940ff2 (diff)
libipt_pkttype now compiled by default
-rwxr-xr-xextensions/.pkttype-test2
-rw-r--r--extensions/Makefile2
-rw-r--r--include/linux/netfilter_ipv4/ipt_pkttype.h9
3 files changed, 10 insertions, 3 deletions
diff --git a/extensions/.pkttype-test b/extensions/.pkttype-test
deleted file mode 100755
index ea1a0753..00000000
--- a/extensions/.pkttype-test
+++ /dev/null
@@ -1,2 +0,0 @@
-#! /bin/sh
-[ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ipt_pkttype.h ] && echo pkttype
diff --git a/extensions/Makefile b/extensions/Makefile
index 4e2fa052..a1366a51 100644
--- a/extensions/Makefile
+++ b/extensions/Makefile
@@ -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
index 00000000..c189e94f
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_pkttype.h
@@ -0,0 +1,9 @@
+#ifndef _IPT_PKTTYPE_H
+#define _IPT_PKTTYPE_H
+
+struct ipt_pkttype_info {
+ int pkttype;
+ int invert;
+};
+
+#endif /*_IPT_PKTTYPE_H*/