12a536430SRick Macklem /*- 22a536430SRick Macklem * Copyright (c) 1989, 1993, 1995 32a536430SRick Macklem * The Regents of the University of California. All rights reserved. 42a536430SRick Macklem * 52a536430SRick Macklem * This code is derived from software contributed to Berkeley by 62a536430SRick Macklem * Rick Macklem at The University of Guelph. 72a536430SRick Macklem * 82a536430SRick Macklem * Redistribution and use in source and binary forms, with or without 92a536430SRick Macklem * modification, are permitted provided that the following conditions 102a536430SRick Macklem * are met: 112a536430SRick Macklem * 1. Redistributions of source code must retain the above copyright 122a536430SRick Macklem * notice, this list of conditions and the following disclaimer. 132a536430SRick Macklem * 2. Redistributions in binary form must reproduce the above copyright 142a536430SRick Macklem * notice, this list of conditions and the following disclaimer in the 152a536430SRick Macklem * documentation and/or other materials provided with the distribution. 162a536430SRick Macklem * 4. Neither the name of the University nor the names of its contributors 172a536430SRick Macklem * may be used to endorse or promote products derived from this software 182a536430SRick Macklem * without specific prior written permission. 192a536430SRick Macklem * 202a536430SRick Macklem * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 212a536430SRick Macklem * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 222a536430SRick Macklem * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 232a536430SRick Macklem * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 242a536430SRick Macklem * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 252a536430SRick Macklem * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 262a536430SRick Macklem * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 272a536430SRick Macklem * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 282a536430SRick Macklem * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 292a536430SRick Macklem * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 302a536430SRick Macklem * SUCH DAMAGE. 312a536430SRick Macklem * 322a536430SRick Macklem * $FreeBSD$ 332a536430SRick Macklem */ 342a536430SRick Macklem 352a536430SRick Macklem #ifndef _NFS_NFSSVC_H_ 362a536430SRick Macklem #define _NFS_NFSSVC_H_ 372a536430SRick Macklem 382a536430SRick Macklem /* 392a536430SRick Macklem * Flags for nfssvc() system call. 402a536430SRick Macklem */ 412a536430SRick Macklem #define NFSSVC_OLDNFSD 0x004 422a536430SRick Macklem #define NFSSVC_ADDSOCK 0x008 432a536430SRick Macklem #define NFSSVC_NFSD 0x010 442a536430SRick Macklem 452a536430SRick Macklem /* 462a536430SRick Macklem * and ones for nfsv4. 472a536430SRick Macklem */ 482a536430SRick Macklem #define NFSSVC_NOPUBLICFH 0x00000020 492a536430SRick Macklem #define NFSSVC_STABLERESTART 0x00000040 502a536430SRick Macklem #define NFSSVC_NFSDNFSD 0x00000080 512a536430SRick Macklem #define NFSSVC_NFSDADDSOCK 0x00000100 522a536430SRick Macklem #define NFSSVC_IDNAME 0x00000200 532a536430SRick Macklem #define NFSSVC_GSSDDELETEALL 0x00000400 542a536430SRick Macklem #define NFSSVC_GSSDADDPORT 0x00000800 552a536430SRick Macklem #define NFSSVC_NFSUSERDPORT 0x00001000 562a536430SRick Macklem #define NFSSVC_NFSUSERDDELPORT 0x00002000 572a536430SRick Macklem #define NFSSVC_V4ROOTEXPORT 0x00004000 582a536430SRick Macklem #define NFSSVC_ADMINREVOKE 0x00008000 592a536430SRick Macklem #define NFSSVC_DUMPCLIENTS 0x00010000 602a536430SRick Macklem #define NFSSVC_DUMPLOCKS 0x00020000 612a536430SRick Macklem #define NFSSVC_GSSDADDFIRST 0x00040000 622a536430SRick Macklem #define NFSSVC_PUBLICFH 0x00080000 632a536430SRick Macklem #define NFSSVC_NFSCBD 0x00100000 642a536430SRick Macklem #define NFSSVC_CBADDSOCK 0x00200000 652a536430SRick Macklem #define NFSSVC_GETSTATS 0x00400000 665f73287aSRick Macklem #define NFSSVC_BACKUPSTABLE 0x00800000 672e3b981aSRick Macklem #define NFSSVC_ZEROCLTSTATS 0x01000000 /* modifier for GETSTATS */ 682e3b981aSRick Macklem #define NFSSVC_ZEROSRVSTATS 0x02000000 /* modifier for GETSTATS */ 69*6001db29SRick Macklem #define NFSSVC_SUSPENDNFSD 0x04000000 70*6001db29SRick Macklem #define NFSSVC_RESUMENFSD 0x08000000 712a536430SRick Macklem 722a536430SRick Macklem #endif /* _NFS_NFSSVC_H */ 73