patch-2.1.68 linux/net/ipv4/ip_masq_app.c

Next file: linux/net/ipv4/ip_masq_ftp.c
Previous file: linux/net/ipv4/ip_masq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.67/linux/net/ipv4/ip_masq_app.c linux/net/ipv4/ip_masq_app.c
@@ -306,7 +306,7 @@
  *	returns (new - old) skb->len diff.
  */
 
-int ip_masq_app_pkt_out(struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
+int ip_masq_app_pkt_out(struct ip_masq *ms, struct sk_buff **skb_p, __u32 maddr)
 {
         struct ip_masq_app * mapp;
         struct iphdr *iph;
@@ -351,7 +351,7 @@
         if ( mapp->pkt_out == NULL )
                 return 0;
 
-        diff = mapp->pkt_out(mapp, ms, skb_p, dev);
+        diff = mapp->pkt_out(mapp, ms, skb_p, maddr);
 
         /*
          *	Update ip_masq seq stuff if len has changed.
@@ -369,7 +369,7 @@
  *	returns (new - old) skb->len diff.
  */
 
-int ip_masq_app_pkt_in(struct ip_masq *ms, struct sk_buff **skb_p, struct device *dev)
+int ip_masq_app_pkt_in(struct ip_masq *ms, struct sk_buff **skb_p)
 {
         struct ip_masq_app * mapp;
         struct iphdr *iph;
@@ -414,7 +414,7 @@
         if ( mapp->pkt_in == NULL )
                 return 0;
 
-        diff = mapp->pkt_in(mapp, ms, skb_p, dev);
+        diff = mapp->pkt_in(mapp, ms, skb_p);
 
         /*
          *	Update ip_masq seq stuff if len has changed.

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov