Deleted Added
full compact
nfs.h (25663) nfs.h (25781)
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95
1/*
2 * Copyright (c) 1989, 1993, 1995
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Rick Macklem at The University of Guelph.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 20 unchanged lines hidden (view full) ---

29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 * SUCH DAMAGE.
35 *
36 * @(#)nfs.h 8.4 (Berkeley) 5/1/95
37 * $Id: nfs.h,v 1.24 1997/03/29 12:34:33 bde Exp $
37 * $Id: nfs.h,v 1.25 1997/05/10 16:12:02 dfr Exp $
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43/*
44 * Tunable constants for nfs
45 */

--- 353 unchanged lines hidden (view full) ---

399
400#define nu_inetaddr nu_haddr.had_inetaddr
401#define nu_nam nu_haddr.had_nam
402/* Bits for nu_flag */
403#define NU_INETADDR 0x1
404#define NU_NAM 0x2
405#define NU_NETFAM(u) (((u)->nu_flag & NU_INETADDR) ? AF_INET : AF_ISO)
406
38 */
39
40#ifndef _NFS_NFS_H_
41#define _NFS_NFS_H_
42
43/*
44 * Tunable constants for nfs
45 */

--- 353 unchanged lines hidden (view full) ---

399
400#define nu_inetaddr nu_haddr.had_inetaddr
401#define nu_nam nu_haddr.had_nam
402/* Bits for nu_flag */
403#define NU_INETADDR 0x1
404#define NU_NAM 0x2
405#define NU_NETFAM(u) (((u)->nu_flag & NU_INETADDR) ? AF_INET : AF_ISO)
406
407struct nfsrv_rec {
408 STAILQ_ENTRY(nfsrv_rec) nr_link;
409 struct mbuf *nr_address;
410 struct mbuf *nr_packet;
411};
412
407struct nfssvc_sock {
408 TAILQ_ENTRY(nfssvc_sock) ns_chain; /* List of all nfssvc_sock's */
409 TAILQ_HEAD(, nfsuid) ns_uidlruhead;
410 struct file *ns_fp;
411 struct socket *ns_so;
412 struct mbuf *ns_nam;
413 struct mbuf *ns_raw;
414 struct mbuf *ns_rawend;
413struct nfssvc_sock {
414 TAILQ_ENTRY(nfssvc_sock) ns_chain; /* List of all nfssvc_sock's */
415 TAILQ_HEAD(, nfsuid) ns_uidlruhead;
416 struct file *ns_fp;
417 struct socket *ns_so;
418 struct mbuf *ns_nam;
419 struct mbuf *ns_raw;
420 struct mbuf *ns_rawend;
415 struct mbuf *ns_rec;
416 struct mbuf *ns_recend;
421 STAILQ_HEAD(, nfsrv_rec) ns_rec;
417 struct mbuf *ns_frag;
418 int ns_flag;
419 int ns_solock;
420 int ns_cc;
421 int ns_reclen;
422 int ns_numuids;
423 u_long ns_sref;
424 LIST_HEAD(, nfsrv_descript) ns_tq; /* Write gather lists */

--- 228 unchanged lines hidden ---
422 struct mbuf *ns_frag;
423 int ns_flag;
424 int ns_solock;
425 int ns_cc;
426 int ns_reclen;
427 int ns_numuids;
428 u_long ns_sref;
429 LIST_HEAD(, nfsrv_descript) ns_tq; /* Write gather lists */

--- 228 unchanged lines hidden ---