patch-2.1.68 linux/net/ipv4/ip_masq_quake.c
Next file: linux/net/ipv4/ip_masq_raudio.c
Previous file: linux/net/ipv4/ip_masq_irc.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Nov 30 14:00:39 1997
- Orig file:
v2.1.67/linux/net/ipv4/ip_masq_quake.c
- Orig date:
Tue May 13 22:41:23 1997
diff -u --recursive --new-file v2.1.67/linux/net/ipv4/ip_masq_quake.c linux/net/ipv4/ip_masq_quake.c
@@ -73,7 +73,7 @@
}
int
-masq_quake_in (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
+masq_quake_in (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p)
{
struct sk_buff *skb;
struct iphdr *iph;
@@ -158,7 +158,7 @@
}
int
-masq_quake_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
+masq_quake_out (struct ip_masq_app *mapp, struct ip_masq *ms, struct sk_buff **skb_p, __u32 maddr)
{
struct sk_buff *skb;
struct iphdr *iph;
@@ -234,7 +234,7 @@
memcpy(&udp_port, data, 2);
- n_ms = ip_masq_new(dev, IPPROTO_UDP,
+ n_ms = ip_masq_new(maddr, IPPROTO_UDP,
ms->saddr, htons(udp_port),
ms->daddr, ms->dport,
0);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov