| version 1.54.2.11, 2002/06/20 03:47:25 |
version 1.54.2.12, 2002/06/24 22:11:03 |
| Line 324 socreate(int dom, struct socket **aso, i |
|
| Line 324 socreate(int dom, struct socket **aso, i |
|
| struct socket *so; |
struct socket *so; |
| int error, s; |
int error, s; |
| |
|
| p = curproc->l_proc; /* XXX */ |
p = curproc; /* XXX */ |
| if (proto) |
if (proto) |
| prp = pffindproto(dom, proto, type); |
prp = pffindproto(dom, proto, type); |
| else |
else |
| Line 515 soconnect(struct socket *so, struct mbuf |
|
| Line 515 soconnect(struct socket *so, struct mbuf |
|
| struct proc *p; |
struct proc *p; |
| int s, error; |
int s, error; |
| |
|
| p = curproc->l_proc; /* XXX */ |
p = curproc; /* XXX */ |
| if (so->so_options & SO_ACCEPTCONN) |
if (so->so_options & SO_ACCEPTCONN) |
| return (EOPNOTSUPP); |
return (EOPNOTSUPP); |
| s = splsoftnet(); |
s = splsoftnet(); |
| Line 601 sosend(struct socket *so, struct mbuf *a |
|
| Line 601 sosend(struct socket *so, struct mbuf *a |
|
| |
|
| sodopendfree(so); |
sodopendfree(so); |
| |
|
| p = curproc->l_proc; /* XXX */ |
p = curproc; /* XXX */ |
| clen = 0; |
clen = 0; |
| atomic = sosendallatonce(so) || top; |
atomic = sosendallatonce(so) || top; |
| if (uio) |
if (uio) |