patch-2.3.14 linux/net/ipv4/ip_fw.c
Next file: linux/net/ipv4/ip_gre.c
Previous file: linux/net/ipv4/ip_fragment.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Wed Aug 18 11:38:48 1999
- Orig file:
v2.3.13/linux/net/ipv4/ip_fw.c
- Orig date:
Tue Jun 8 20:32:32 1999
diff -u --recursive --new-file v2.3.13/linux/net/ipv4/ip_fw.c linux/net/ipv4/ip_fw.c
@@ -1652,14 +1652,14 @@
/*
* Interface to the generic firewall chains.
*/
-int ipfw_input_check(struct firewall_ops *this, int pf, struct device *dev,
+int ipfw_input_check(struct firewall_ops *this, int pf, struct net_device *dev,
void *phdr, void *arg, struct sk_buff **pskb)
{
return ip_fw_check(phdr, dev->name,
arg, IP_FW_INPUT_CHAIN, *pskb, SLOT_NUMBER(), 0);
}
-int ipfw_output_check(struct firewall_ops *this, int pf, struct device *dev,
+int ipfw_output_check(struct firewall_ops *this, int pf, struct net_device *dev,
void *phdr, void *arg, struct sk_buff **pskb)
{
/* Locally generated bogus packets by root. <SIGH>. */
@@ -1670,7 +1670,7 @@
arg, IP_FW_OUTPUT_CHAIN, *pskb, SLOT_NUMBER(), 0);
}
-int ipfw_forward_check(struct firewall_ops *this, int pf, struct device *dev,
+int ipfw_forward_check(struct firewall_ops *this, int pf, struct net_device *dev,
void *phdr, void *arg, struct sk_buff **pskb)
{
return ip_fw_check(phdr, dev->name,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)