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/netns/ns_pcb.h | |
| parent | 8503f4f13f77abf7adc8f7e329c6f9c1d52b6a20 (diff) | |
Release FreeBSD 1.1upstream/1.1.0_cvsrelease/1.1.0_cvs
This commit was manufactured to restore the state of the 1.1-RELEASE image.
Releases prior to 5.3-RELEASE are omitting the secure/ and crypto/ subdirs.
Diffstat (limited to 'sys/netns/ns_pcb.h')
| -rw-r--r-- | sys/netns/ns_pcb.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/sys/netns/ns_pcb.h b/sys/netns/ns_pcb.h index 59bf6761fda4..affb5df5a6be 100644 --- a/sys/netns/ns_pcb.h +++ b/sys/netns/ns_pcb.h @@ -31,9 +31,12 @@ * SUCH DAMAGE. * * from: @(#)ns_pcb.h 7.4 (Berkeley) 6/28/90 - * $Id: ns_pcb.h,v 1.2 1993/10/16 19:54:30 rgrimes Exp $ + * $Id: ns_pcb.h,v 1.5 1993/12/19 00:54:01 wollman Exp $ */ +#ifndef _NETNS_NS_PCB_H_ +#define _NETNS_NS_PCB_H_ 1 + /* * Ns protocol interface control block. */ @@ -76,6 +79,18 @@ struct nspcb { #ifdef KERNEL -struct nspcb nspcb; /* head of list */ -struct nspcb *ns_pcblookup(); -#endif +extern struct nspcb nspcb; /* head of list */ + +extern int ns_pcballoc(struct socket *, struct nspcb *); +extern int ns_pcbbind(struct nspcb *, struct mbuf *); +extern int ns_pcbconnect(struct nspcb *, struct mbuf *); +extern void ns_pcbdisconnect(struct nspcb *); +extern void ns_pcbdetach(struct nspcb *); +extern void ns_setsockaddr(struct nspcb *, struct mbuf *); +extern void ns_setpeeraddr(struct nspcb *, struct mbuf *); +typedef void (*ns_notify_func_t)(struct nspcb *, int); +extern void ns_pcbnotify(struct ns_addr *, int, ns_notify_func_t, long); +extern struct nspcb *ns_pcblookup(struct ns_addr *, int /*u_short*/, int); + +#endif /* KERNEL */ +#endif /* _NETNS_NS_PCB_H_ */ |
