patch-2.3.14 linux/net/core/firewall.c
Next file: linux/net/core/neighbour.c
Previous file: linux/net/core/dst.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Aug 18 11:38:48 1999
- Orig file:
v2.3.13/linux/net/core/firewall.c
- Orig date:
Wed May 12 08:31:44 1999
diff -u --recursive --new-file v2.3.13/linux/net/core/firewall.c linux/net/core/firewall.c
@@ -99,7 +99,7 @@
return -ENOENT;
}
-int call_fw_firewall(int pf, struct device *dev, void *phdr, void *arg, struct sk_buff **skb)
+int call_fw_firewall(int pf, struct net_device *dev, void *phdr, void *arg, struct sk_buff **skb)
{
struct firewall_ops *fw=firewall_chain[pf];
@@ -117,7 +117,7 @@
* Actual invocation of the chains
*/
-int call_in_firewall(int pf, struct device *dev, void *phdr, void *arg, struct sk_buff **skb)
+int call_in_firewall(int pf, struct net_device *dev, void *phdr, void *arg, struct sk_buff **skb)
{
struct firewall_ops *fw=firewall_chain[pf];
@@ -131,7 +131,7 @@
return firewall_policy[pf];
}
-int call_out_firewall(int pf, struct device *dev, void *phdr, void *arg, struct sk_buff **skb)
+int call_out_firewall(int pf, struct net_device *dev, void *phdr, void *arg, struct sk_buff **skb)
{
struct firewall_ops *fw=firewall_chain[pf];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)