patch-1.3.85 linux/net/core/firewall.c
Next file: linux/net/ipv4/ip_forward.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
- Lines: 48
- Date:
Mon Apr 8 11:41:04 1996
- Orig file:
v1.3.84/linux/net/core/firewall.c
- Orig date:
Wed Apr 3 16:06:57 1996
diff -u --recursive --new-file v1.3.84/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -98,13 +98,13 @@
return -ENOENT;
}
-int call_fw_firewall(int pf, struct sk_buff *skb, void *phdr)
+int call_fw_firewall(int pf, struct device *dev, void *phdr)
{
struct firewall_ops *fw=firewall_chain[pf];
while(fw!=NULL)
{
- int rc=fw->fw_forward(fw,pf,skb,phdr);
+ int rc=fw->fw_forward(fw,pf,dev,phdr);
if(rc!=FW_SKIP)
return rc;
fw=fw->next;
@@ -116,13 +116,13 @@
* Actual invocation of the chains
*/
-int call_in_firewall(int pf, struct sk_buff *skb, void *phdr)
+int call_in_firewall(int pf, struct device *dev, void *phdr)
{
struct firewall_ops *fw=firewall_chain[pf];
while(fw!=NULL)
{
- int rc=fw->fw_input(fw,pf,skb,phdr);
+ int rc=fw->fw_input(fw,pf,dev,phdr);
if(rc!=FW_SKIP)
return rc;
fw=fw->next;
@@ -130,13 +130,13 @@
return firewall_policy[pf];
}
-int call_out_firewall(int pf, struct sk_buff *skb, void *phdr)
+int call_out_firewall(int pf, struct device *dev, void *phdr)
{
struct firewall_ops *fw=firewall_chain[pf];
while(fw!=NULL)
{
- int rc=fw->fw_output(fw,pf,skb,phdr);
+ int rc=fw->fw_output(fw,pf,dev,phdr);
if(rc!=FW_SKIP)
return rc;
fw=fw->next;
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