version 1.10, 2008/12/17 07:19:27 |
version 1.11, 2008/12/29 17:59:08 |
|
|
struct sock *f = (struct sock *)p->u.io.file; |
struct sock *f = (struct sock *)p->u.io.file; |
|
|
DPRINTFN(1, "rsock_done: %p\n", f); |
DPRINTFN(1, "rsock_done: %p\n", f); |
|
if (f == NULL) |
|
return; |
sock_reset(f); |
sock_reset(f); |
f->pipe.file.rproc = NULL; |
f->pipe.file.rproc = NULL; |
if (f->pipe.file.wproc) { |
if (f->pipe.file.wproc) { |
aproc_del(f->pipe.file.wproc); |
aproc_del(f->pipe.file.wproc); |
file_del(&f->pipe.file); |
file_del(&f->pipe.file); |
} |
} |
|
p->u.io.file = NULL; |
} |
} |
|
|
int |
int |
|
|
struct sock *f = (struct sock *)p->u.io.file; |
struct sock *f = (struct sock *)p->u.io.file; |
|
|
DPRINTFN(1, "wsock_done: %p\n", f); |
DPRINTFN(1, "wsock_done: %p\n", f); |
|
if (f == NULL) |
|
return; |
sock_reset(f); |
sock_reset(f); |
f->pipe.file.wproc = NULL; |
f->pipe.file.wproc = NULL; |
if (f->pipe.file.rproc) { |
if (f->pipe.file.rproc) { |
aproc_del(f->pipe.file.rproc); |
aproc_del(f->pipe.file.rproc); |
file_del(&f->pipe.file); |
file_del(&f->pipe.file); |
} |
} |
|
p->u.io.file = NULL; |
} |
} |
|
|
int |
int |