patch-2.4.14 linux/include/linux/netfilter_ipv4/ipt_ttl.h
Next file: linux/include/linux/ntfs_fs.h
Previous file: linux/include/linux/netfilter_ipv4/ipt_length.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Tue Oct 30 15:08:12 2001
- Orig file:
v2.4.13/linux/include/linux/netfilter_ipv4/ipt_ttl.h
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.4.13/linux/include/linux/netfilter_ipv4/ipt_ttl.h linux/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
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)