Changeset 471745e in rtems


Ignore:
Timestamp:
Apr 17, 2005, 7:31:45 AM (15 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
98cc364d
Parents:
fe853358
Message:

Remove nfs_args.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/sys/mount.h

    rfe853358 r471745e  
    1111 *    notice, this list of conditions and the following disclaimer in the
    1212 *    documentation and/or other materials provided with the distribution.
    13  * 3. All advertising materials mentioning features or use of this software
    14  *    must display the following acknowledgement:
    15  *      This product includes software developed by the University of
    16  *      California, Berkeley and its contributors.
    1713 * 4. Neither the name of the University nor the names of its contributors
    1814 *    may be used to endorse or promote products derived from this software
     
    3127 * SUCH DAMAGE.
    3228 *
    33  *      @(#)mount.h     8.13 (Berkeley) 3/27/94
    34  *      $Id$
    35  */
    36 
     29 *      @(#)mount.h     8.21 (Berkeley) 5/20/95
     30 * $FreeBSD: src/sys/sys/mount.h,v 1.195 2005/03/24 07:29:23 jeff Exp $
     31 */
     32
     33/*
     34 * $Id$
     35 */
     36 
    3737#ifndef _SYS_MOUNT_H_
    3838#define _SYS_MOUNT_H_
     
    416416#endif /* CD9660 */
    417417
    418 #ifdef NFS
    419 /*
    420  * Arguments to mount NFS
    421  */
    422 struct nfs_args {
    423         struct sockaddr *addr;          /* file server address */
    424         int             addrlen;        /* length of address */
    425         int             sotype;         /* Socket type */
    426         int             proto;          /* and Protocol */
    427         u_char          *fh;            /* File handle to be mounted */
    428         int             fhsize;         /* Size, in bytes, of fh */
    429         int             flags;          /* flags */
    430         int             wsize;          /* write size in bytes */
    431         int             rsize;          /* read size in bytes */
    432         int             readdirsize;    /* readdir size in bytes */
    433         int             timeo;          /* initial timeout in .1 secs */
    434         int             retrans;        /* times to retry send */
    435         int             maxgrouplist;   /* Max. size of group list */
    436         int             readahead;      /* # of blocks to readahead */
    437         int             leaseterm;      /* Term (sec) of lease */
    438         int             deadthresh;     /* Retrans threshold */
    439         char            *hostname;      /* server's name */
    440 };
    441 
    442 /*
    443  * NFS mount option flags
    444  */
    445 #define NFSMNT_SOFT             0x00000001  /* soft mount (hard is default) */
    446 #define NFSMNT_WSIZE            0x00000002  /* set write size */
    447 #define NFSMNT_RSIZE            0x00000004  /* set read size */
    448 #define NFSMNT_TIMEO            0x00000008  /* set initial timeout */
    449 #define NFSMNT_RETRANS          0x00000010  /* set number of request retrys */
    450 #define NFSMNT_MAXGRPS          0x00000020  /* set maximum grouplist size */
    451 #define NFSMNT_INT              0x00000040  /* allow interrupts on hard mount */
    452 #define NFSMNT_NOCONN           0x00000080  /* Don't Connect the socket */
    453 #define NFSMNT_NQNFS            0x00000100  /* Use Nqnfs protocol */
    454 #define NFSMNT_NFSV3            0x00000200  /* Use NFS Version 3 protocol */
    455 #define NFSMNT_KERB             0x00000400  /* Use Kerberos authentication */
    456 #define NFSMNT_DUMBTIMR         0x00000800  /* Don't estimate rtt dynamically */
    457 #define NFSMNT_LEASETERM        0x00001000  /* set lease term (nqnfs) */
    458 #define NFSMNT_READAHEAD        0x00002000  /* set read ahead */
    459 #define NFSMNT_DEADTHRESH       0x00004000  /* set dead server retry thresh */
    460 #define NFSMNT_RESVPORT         0x00008000  /* Allocate a reserved port */
    461 #define NFSMNT_RDIRPLUS         0x00010000  /* Use Readdirplus for V3 */
    462 #define NFSMNT_READDIRSIZE      0x00020000  /* Set readdir size */
    463 #define NFSMNT_INTERNAL         0xfffc0000  /* Bits set internally */
    464 #define NFSMNT_HASWRITEVERF     0x00040000  /* Has write verifier for V3 */
    465 #define NFSMNT_GOTPATHCONF      0x00080000  /* Got the V3 pathconf info */
    466 #define NFSMNT_GOTFSINFO        0x00100000  /* Got the V3 fsinfo */
    467 #define NFSMNT_MNTD             0x00200000  /* Mnt server for mnt point */
    468 #define NFSMNT_DISMINPROG       0x00400000  /* Dismount in progress */
    469 #define NFSMNT_DISMNT           0x00800000  /* Dismounted */
    470 #define NFSMNT_SNDLOCK          0x01000000  /* Send socket lock */
    471 #define NFSMNT_WANTSND          0x02000000  /* Want above */
    472 #define NFSMNT_RCVLOCK          0x04000000  /* Rcv socket lock */
    473 #define NFSMNT_WANTRCV          0x08000000  /* Want above */
    474 #define NFSMNT_WAITAUTH         0x10000000  /* Wait for authentication */
    475 #define NFSMNT_HASAUTH          0x20000000  /* Has authenticator */
    476 #define NFSMNT_WANTAUTH         0x40000000  /* Wants an authenticator */
    477 #define NFSMNT_AUTHERR          0x80000000  /* Authentication error */
    478 #endif /* NFS */
    479 
    480418#ifdef _KERNEL
    481419extern  int (*mountroot) __P((void *));
Note: See TracChangeset for help on using the changeset viewer.