144630Smckusick /*
244630Smckusick  * Copyright (c) 1989 Jan-Simon Pendry
344630Smckusick  * Copyright (c) 1989 Imperial College of Science, Technology & Medicine
4*61785Sbostic  * Copyright (c) 1989, 1993
5*61785Sbostic  *	The Regents of the University of California.  All rights reserved.
644630Smckusick  *
744630Smckusick  * This code is derived from software contributed to Berkeley by
844630Smckusick  * Jan-Simon Pendry at Imperial College, London.
944630Smckusick  *
1044630Smckusick  * %sccs.include.redist.c%
1144630Smckusick  *
12*61785Sbostic  *	@(#)misc-hpux.h	8.1 (Berkeley) 06/06/93
1349685Spendry  *
1452452Spendry  * $Id: misc-hpux.h,v 5.2.2.1 1992/02/09 15:10:24 jsp beta $
1549685Spendry  *
1644630Smckusick  */
1744630Smckusick 
1844630Smckusick /*
1944630Smckusick  * These definitions are from <nfs/nfs.h>
2044630Smckusick  * Unfortunately, that file cannot be included
2144630Smckusick  * because it contains lots of structure definitions
2244630Smckusick  * that are not wanted (they produce name clashes).
2344630Smckusick  * Isn't HP-UX wonderful!
2444630Smckusick  */
2544630Smckusick 
2644630Smckusick /*
2744630Smckusick  * HP-UX specific definitions
2844630Smckusick  */
2944630Smckusick struct nfs_args {
3044630Smckusick 	struct sockaddr_in	*addr;		/* file server address */
3144630Smckusick 	fhandle_t		*fh;		/* File handle to be mounted */
3244630Smckusick 	int			flags;		/* flags */
3344630Smckusick 	int			wsize;		/* write size in bytes */
3444630Smckusick 	int			rsize;		/* read size in bytes */
3544630Smckusick 	int			timeo;		/* initial timeout in .1 secs */
3644630Smckusick 	int			retrans;	/* times to retry send */
3744630Smckusick 	char			*hostname;	/* server's name */
3852452Spendry #ifdef __hp9000s700 /* XXX for HPUX 8.0 */
3952452Spendry 	char			*fsname;	/* server's filesystem name */
4052452Spendry #endif
4144630Smckusick };
4244630Smckusick 
4344630Smckusick /*
4444630Smckusick  * NFS mount option flags
4544630Smckusick  */
4644630Smckusick #define	NFSMNT_SOFT	0x001	/* soft mount (hard is default) */
4744630Smckusick #define	NFSMNT_WSIZE	0x002	/* set write size */
4844630Smckusick #define	NFSMNT_RSIZE	0x004	/* set read size */
4944630Smckusick #define	NFSMNT_TIMEO	0x008	/* set initial timeout */
5044630Smckusick #define	NFSMNT_RETRANS	0x010	/* set number of request retrys */
5144630Smckusick #define	NFSMNT_HOSTNAME	0x020	/* set hostname for error printf */
5244630Smckusick #define	NFSMNT_INT	0x040	/* set option to have interruptable mounts */
5344630Smckusick #define	NFSMNT_NODEVS   0x080   /* turn off device file access (default on) */
54