153748Spendry /*
253748Spendry  * Copyright (c) 1990 Jan-Simon Pendry
353748Spendry  * Copyright (c) 1990 Imperial College of Science, Technology & Medicine
4*61785Sbostic  * Copyright (c) 1990, 1993
5*61785Sbostic  *	The Regents of the University of California.  All rights reserved.
653748Spendry  *
753748Spendry  * This code is derived from software contributed to Berkeley by
853748Spendry  * Jan-Simon Pendry at Imperial College, London.
953748Spendry  *
1053748Spendry  * %sccs.include.redist.c%
1153748Spendry  *
12*61785Sbostic  *	@(#)misc-stellix.h	8.1 (Berkeley) 06/06/93
1353748Spendry  *
1453748Spendry  */
1553748Spendry 
1653748Spendry #include <sys/fstyp.h>
1753748Spendry 
1853748Spendry struct ufs_args {
1953748Spendry 	char *fspec;
2053748Spendry };
2153748Spendry 
2253748Spendry struct nfs_args {
2353748Spendry         struct sockaddr_in      *addr;          /* file server address */
2453748Spendry         fhandle_t               *fh;            /* File handle to be mounted */
2553748Spendry         int                     flags;          /* flags */
2653748Spendry         int                     wsize;          /* write size in bytes */
2753748Spendry         int                     rsize;          /* read size in bytes */
2853748Spendry         int                     timeo;          /* initial timeout in .1 secs *
2953748Spendry /
3053748Spendry         int                     retrans;        /* times to retry send */
3153748Spendry         char                    *hostname;      /* server's name */
3253748Spendry };
3353748Spendry #define NFSMNT_SOFT     0x001   /* soft mount (hard is default) */
3453748Spendry #define NFSMNT_WSIZE    0x002   /* set write size */
3553748Spendry #define NFSMNT_RSIZE    0x004   /* set read size */
3653748Spendry #define NFSMNT_TIMEO    0x008   /* set initial timeout (= 1.6 sec) */
3753748Spendry #define NFSMNT_RETRANS  0x010   /* set number of request retrys */
3853748Spendry #define NFSMNT_HOSTNAME 0x020   /* set hostname for error printf */
3953748Spendry #define NFSMNT_INT	0x040	/* allow interrupts on hard mount */
40