patch-1.3.26 linux/include/linux/ip_fw.h

Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/igmp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.25/linux/include/linux/ip_fw.h linux/include/linux/ip_fw.h
@@ -162,6 +162,12 @@
 extern void ip_acct_cnt(struct iphdr *, struct device *, struct ip_fw *);
 extern int ip_acct_ctl(int, void *, int);
 #endif
+
+#define FW_BLOCK	0
+#define FW_ACCEPT	1
+#define FW_REJECT	(-1)
+#define FW_MASQUERADE	2
+
 extern int ip_fw_chk(struct iphdr *, struct device *rif,struct ip_fw *, int, int);
 extern void ip_fw_init(void);
 #endif /* KERNEL */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this