aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/unpcb.h
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1997-08-16 19:16:27 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1997-08-16 19:16:27 +0000
commit57bf258e3dc9e77a996e738e6bf3e894943970e2 (patch)
tree6c0a9710fd977c7f3055d78384c325bb09195b9e /sys/sys/unpcb.h
parentcee405ba2712660bd47480f9c304163545121639 (diff)
downloadsrc-57bf258e3dc9e77a996e738e6bf3e894943970e2.tar.gz
src-57bf258e3dc9e77a996e738e6bf3e894943970e2.zip
Fix all areas of the system (or at least all those in LINT) to avoid storing
socket addresses in mbufs. (Socket buffers are the one exception.) A number of kernel APIs needed to get fixed in order to make this happen. Also, fix three protocol families which kept PCBs in mbufs to not malloc them instead. Delete some old compatibility cruft while we're at it, and add some new routines in the in_cksum family.
Notes
Notes: svn path=/head/; revision=28270
Diffstat (limited to 'sys/sys/unpcb.h')
-rw-r--r--sys/sys/unpcb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/unpcb.h b/sys/sys/unpcb.h
index 4269831ccfa5..6cf0855f339d 100644
--- a/sys/sys/unpcb.h
+++ b/sys/sys/unpcb.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)unpcb.h 8.1 (Berkeley) 6/2/93
- * $Id$
+ * $Id: unpcb.h,v 1.5 1997/02/22 09:46:22 peter Exp $
*/
#ifndef _SYS_UNPCB_H_
@@ -69,7 +69,7 @@ struct unpcb {
struct unpcb *unp_conn; /* control block of connected socket */
struct unpcb *unp_refs; /* referencing socket linked list */
struct unpcb *unp_nextref; /* link in unp_refs list */
- struct mbuf *unp_addr; /* bound address of socket */
+ struct sockaddr_un *unp_addr; /* bound address of socket */
int unp_cc; /* copy of rcv.sb_cc */
int unp_mbcnt; /* copy of rcv.sb_mbcnt */
};