Make unp_addr be a pointer to the sockaddr, not to the mbuf, as with raw

sockets.
This commit is contained in:
mycroft 1996-05-23 16:04:24 +00:00
parent 03232fb1f2
commit 37daba1b04

View File

@ -1,4 +1,4 @@
/* $NetBSD: unpcb.h,v 1.6 1994/06/29 06:46:08 cgd Exp $ */
/* $NetBSD: unpcb.h,v 1.7 1996/05/23 16:04:24 mycroft Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -67,7 +67,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 */
};