summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ttl.h
diff options
context:
space:
mode:
authorRusty Russell <rusty@linuxcare.com.au>2001-02-28 11:21:53 +0000
committerRusty Russell <rusty@rustcorp.com.au>2001-02-28 11:21:53 +0000
commit008a83fad0f131e08d03235e7615fb392d1f3c3b (patch)
tree62f2ec32c62882b3f48bc67dae64ba9a730b5784 /include/linux/netfilter_ipv4/ipt_ttl.h
parent2ca59042f5108b8ab5fcfbce494ca12c0c38551f (diff)
Move some include files to be present always, so build always includes them even if patches not applied (eg. for distributions).
Diffstat (limited to 'include/linux/netfilter_ipv4/ipt_ttl.h')
-rw-r--r--include/linux/netfilter_ipv4/ipt_ttl.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/netfilter_ipv4/ipt_ttl.h b/include/linux/netfilter_ipv4/ipt_ttl.h
new file mode 100644
index 00000000..ee24fd86
--- /dev/null
+++ b/include/linux/netfilter_ipv4/ipt_ttl.h
@@ -0,0 +1,21 @@
+/* IP tables module for matching the value of the TTL
+ * (C) 2000 by Harald Welte <laforge@gnumonks.org> */
+
+#ifndef _IPT_TTL_H
+#define _IPT_TTL_H
+
+enum {
+ IPT_TTL_EQ = 0, /* equals */
+ IPT_TTL_NE, /* not equals */
+ IPT_TTL_LT, /* less than */
+ IPT_TTL_GT, /* greater than */
+};
+
+
+struct ipt_ttl_info {
+ u_int8_t mode;
+ u_int8_t ttl;
+};
+
+
+#endif