diff options
author | dfr <dfr@FreeBSD.org> | 1997-05-13 17:25:44 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1997-05-13 17:25:44 +0000 |
commit | 0ba97092680c4808043fa1343bdae20bee46f511 (patch) | |
tree | 5afe9763a6c2a8bbef645cad86a3858d5041b81d /sys/nfs/nfs.h | |
parent | 62e3660838a29aa3dbc08deff5e8560a4b2d4f66 (diff) | |
download | FreeBSD-src-0ba97092680c4808043fa1343bdae20bee46f511.zip FreeBSD-src-0ba97092680c4808043fa1343bdae20bee46f511.tar.gz |
Don't keep addresses in mbuf chains. This should simplify the next round
of network changes from Garret.
Reviewed by: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Diffstat (limited to 'sys/nfs/nfs.h')
-rw-r--r-- | sys/nfs/nfs.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h index a3c45bd..406024e 100644 --- a/sys/nfs/nfs.h +++ b/sys/nfs/nfs.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)nfs.h 8.4 (Berkeley) 5/1/95 - * $Id: nfs.h,v 1.24 1997/03/29 12:34:33 bde Exp $ + * $Id: nfs.h,v 1.25 1997/05/10 16:12:02 dfr Exp $ */ #ifndef _NFS_NFS_H_ @@ -404,6 +404,12 @@ struct nfsuid { #define NU_NAM 0x2 #define NU_NETFAM(u) (((u)->nu_flag & NU_INETADDR) ? AF_INET : AF_ISO) +struct nfsrv_rec { + STAILQ_ENTRY(nfsrv_rec) nr_link; + struct mbuf *nr_address; + struct mbuf *nr_packet; +}; + struct nfssvc_sock { TAILQ_ENTRY(nfssvc_sock) ns_chain; /* List of all nfssvc_sock's */ TAILQ_HEAD(, nfsuid) ns_uidlruhead; @@ -412,8 +418,7 @@ struct nfssvc_sock { struct mbuf *ns_nam; struct mbuf *ns_raw; struct mbuf *ns_rawend; - struct mbuf *ns_rec; - struct mbuf *ns_recend; + STAILQ_HEAD(, nfsrv_rec) ns_rec; struct mbuf *ns_frag; int ns_flag; int ns_solock; |