diff options
| author | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
|---|---|---|
| committer | svn2git <svn2git@FreeBSD.org> | 1994-05-01 08:00:00 +0000 |
| commit | a16f65c7d117419bd266c28a1901ef129a337569 (patch) | |
| tree | 2626602f66dc3551e7a7c7bc9ad763c3bc7ab40a /sys/net/raw_cb.c | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Diffstat (limited to 'sys/net/raw_cb.c')
| -rw-r--r-- | sys/net/raw_cb.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/net/raw_cb.c b/sys/net/raw_cb.c index 81371469390b..d0631173dc0d 100644 --- a/sys/net/raw_cb.c +++ b/sys/net/raw_cb.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)raw_cb.c 7.11 (Berkeley) 6/28/90 - * $Id: raw_cb.c,v 1.2 1993/10/16 17:43:34 rgrimes Exp $ + * $Id: raw_cb.c,v 1.4 1993/11/25 01:34:08 wollman Exp $ */ #include "param.h" @@ -62,10 +62,13 @@ u_long raw_sendspace = RAWSNDQ; u_long raw_recvspace = RAWRCVQ; +struct rawcb rawcb; + /* * Allocate a control block and a nominal amount * of buffer space for the socket. */ +int raw_attach(so, proto) register struct socket *so; int proto; @@ -93,6 +96,7 @@ raw_attach(so, proto) * Detach the raw connection block and discard * socket resources. */ +void raw_detach(rp) register struct rawcb *rp; { @@ -112,6 +116,7 @@ raw_detach(rp) /* * Disconnect and possibly release resources. */ +void raw_disconnect(rp) struct rawcb *rp; { |
