patch-1.3.85 linux/include/linux/firewall.h
Next file: linux/include/linux/fs.h
Previous file: linux/include/linux/fdreg.h
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Mon Apr 8 11:41:03 1996
- Orig file:
v1.3.84/linux/include/linux/firewall.h
- Orig date:
Tue Oct 17 13:42:35 1995
diff -u --recursive --new-file v1.3.84/linux/include/linux/firewall.h linux/include/linux/firewall.h
@@ -15,11 +15,11 @@
{
struct firewall_ops *next;
int (*fw_forward)(struct firewall_ops *this, int pf,
- struct sk_buff *skb, void *phdr);
+ struct device *dev, void *phdr);
int (*fw_input)(struct firewall_ops *this, int pf,
- struct sk_buff *skb, void *phdr);
+ struct device *dev, void *phdr);
int (*fw_output)(struct firewall_ops *this, int pf,
- struct sk_buff *skb, void *phdr);
+ struct device *dev, void *phdr);
/* Data falling in the second 486 cache line isn't used directly
during a firewall call and scan, only by insert/delete and other
unusual cases
@@ -31,9 +31,9 @@
#ifdef __KERNEL__
extern int register_firewall(int pf, struct firewall_ops *fw);
extern int unregister_firewall(int pf, struct firewall_ops *fw);
-extern int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr);
-extern int call_in_firewall(int pf, struct sk_buff *skb, void *phdr);
-extern int call_out_firewall(int pf, struct sk_buff *skb, void *phdr);
+extern int call_fw_firewall(int pf, struct device *dev, void *phdr);
+extern int call_in_firewall(int pf, struct device *dev, void *phdr);
+extern int call_out_firewall(int pf, struct device *dev, void *phdr);
extern void fwchain_init(void);
#endif
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