Deleted Added
full compact
36c36
< * $Id: spx_usrreq.c,v 1.10 1997/02/22 09:42:00 peter Exp $
---
> * $Id: spx_usrreq.c,v 1.11 1997/04/05 20:05:11 jhay Exp $
42a43
> #include <sys/proc.h>
77,79c78,80
< static int spx_attach(struct socket *so, int proto);
< static int spx_bind(struct socket *so, struct mbuf *nam);
< static int spx_connect(struct socket *so, struct mbuf *nam);
---
> static int spx_attach(struct socket *so, int proto, struct proc *p);
> static int spx_bind(struct socket *so, struct mbuf *nam, struct proc *p);
> static int spx_connect(struct socket *so, struct mbuf *nam, struct proc *p);
82c83
< static int spx_listen(struct socket *so);
---
> static int spx_listen(struct socket *so, struct proc *p);
86c87
< struct mbuf *addr, struct mbuf *control);
---
> struct mbuf *addr, struct mbuf *control, struct proc *p);
88c89
< static int spx_sp_attach(struct socket *so, int proto);
---
> static int spx_sp_attach(struct socket *so, int proto, struct proc *p);
213c214
< if (ipx_pcbconnect(ipxp, am)) {
---
> if (ipx_pcbconnect(ipxp, am, &proc0)) {
1176c1177
< spx_ctloutput(req, so, level, name, value)
---
> spx_ctloutput(req, so, level, name, value, p)
1180a1182
> struct proc *p;
1190c1192
< return (ipx_ctloutput(req, so, level, name, value));
---
> return (ipx_ctloutput(req, so, level, name, value, p));
1340c1342
< spx_attach(so, proto)
---
> spx_attach(so, proto, p)
1342a1345
> struct proc *p;
1357c1360
< error = ipx_pcballoc(so, &ipxpcb);
---
> error = ipx_pcballoc(so, &ipxpcb, p);
1406c1409
< spx_bind(so, nam)
---
> spx_bind(so, nam, p)
1408a1412
> struct proc *p;
1414c1418
< return (ipx_pcbbind(ipxp, nam));
---
> return (ipx_pcbbind(ipxp, nam, p));
1424c1428
< spx_connect(so, nam)
---
> spx_connect(so, nam, p)
1426a1431
> struct proc *p;
1438c1443
< error = ipx_pcbbind(ipxp, (struct mbuf *)0);
---
> error = ipx_pcbbind(ipxp, (struct mbuf *)0, p);
1442c1447
< error = ipx_pcbconnect(ipxp, nam);
---
> error = ipx_pcbconnect(ipxp, nam, p);
1512c1517
< spx_listen(so)
---
> spx_listen(so, p)
1513a1519
> struct proc *p;
1524c1530
< error = ipx_pcbbind(ipxp, (struct mbuf *)0);
---
> error = ipx_pcbbind(ipxp, (struct mbuf *)0, p);
1576c1582
< spx_send(so, flags, m, addr, controlp)
---
> spx_send(so, flags, m, addr, controlp, p)
1581a1588
> struct proc *p;
1644c1651
< spx_sp_attach(so, proto)
---
> spx_sp_attach(so, proto, p)
1646a1654
> struct proc *p;
1652c1660
< error = spx_attach(so, proto);
---
> error = spx_attach(so, proto, p);