Make unp_addr be a pointer to the sockaddr, not to the mbuf, as with raw
sockets.
This commit is contained in:
parent
03232fb1f2
commit
37daba1b04
@ -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 */
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user