summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter_ipv4/ipt_ttl.h
diff options
context:
space:
mode:
authorrusty <rusty>2001-02-28 11:21:53 +0000
committerrusty <rusty>2001-02-28 11:21:53 +0000
commitbf95365c89d536434981b7873fafc9d13ba0bfb9 (patch)
tree62f2ec32c62882b3f48bc67dae64ba9a730b5784 /include/linux/netfilter_ipv4/ipt_ttl.h
parentc72c8454e736fc194336ba9dc05b5623706eaff7 (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 0000000..ee24fd8
--- /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