summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_ip.c
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>1997-05-01 06:21:31 +0000
committerjhay <jhay@FreeBSD.org>1997-05-01 06:21:31 +0000
commit0e56117666533387c89ee4839fa7ca3c4062a388 (patch)
treeccf653b5dae3cc2fe36b01c0ad8d6cc71cdabb17 /sys/netipx/ipx_ip.c
parentee514a2ef805dc75f685e22c001dc90cf76db411 (diff)
downloadFreeBSD-src-0e56117666533387c89ee4839fa7ca3c4062a388.zip
FreeBSD-src-0e56117666533387c89ee4839fa7ca3c4062a388.tar.gz
Make ipx compile again after the network interface changes.
Diffstat (limited to 'sys/netipx/ipx_ip.c')
-rw-r--r--sys/netipx/ipx_ip.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/netipx/ipx_ip.c b/sys/netipx/ipx_ip.c
index 29cbf78..a76b96e 100644
--- a/sys/netipx/ipx_ip.c
+++ b/sys/netipx/ipx_ip.c
@@ -33,7 +33,7 @@
*
* @(#)ipx_ip.c
*
- * $Id: ipx_ip.c,v 1.12 1997/02/22 09:41:54 peter Exp $
+ * $Id: ipx_ip.c,v 1.13 1997/03/24 11:33:33 bde Exp $
*/
/*
@@ -46,11 +46,12 @@
#include <sys/systm.h>
#include <sys/malloc.h>
#include <sys/mbuf.h>
+#include <sys/proc.h>
+#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/socketvar.h>
#include <sys/errno.h>
#include <sys/sockio.h>
-#include <sys/protosw.h>
#include <net/if.h>
#include <net/netisr.h>
@@ -300,9 +301,10 @@ struct ifnet *ifp;
struct ifreq ifr_ipxip = {"ipxip0"};
int
-ipxip_route(so, m)
+ipxip_route(so, m, p)
struct socket *so;
register struct mbuf *m;
+ struct proc *p;
{
register struct ipxip_req *rq = mtod(m, struct ipxip_req *);
struct sockaddr_ipx *ipx_dst = (struct sockaddr_ipx *)&rq->rq_ipx;
@@ -370,10 +372,10 @@ ipxip_route(so, m)
ifr_ipxip.ifr_name[4] = '0' + ipxipif.if_unit - 1;
ifr_ipxip.ifr_dstaddr = * (struct sockaddr *) ipx_dst;
(void)ipx_control(so, (int)SIOCSIFDSTADDR, (caddr_t)&ifr_ipxip,
- (struct ifnet *)ifn);
+ (struct ifnet *)ifn, p);
satoipx_addr(ifr_ipxip.ifr_addr).x_host = ipx_thishost;
return (ipx_control(so, (int)SIOCSIFADDR, (caddr_t)&ifr_ipxip,
- (struct ifnet *)ifn));
+ (struct ifnet *)ifn, p));
}
int
OpenPOWER on IntegriCloud