nfsargs.h (11982) | nfsargs.h (12453) |
---|---|
1/* 2 * Copyright (c) 1989, 1993 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.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1989, 1993 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.1 (Berkeley) 6/10/93 |
37 * $Id: nfs.h,v 1.12 1995/10/29 15:32:43 phk Exp $ | 37 * $Id: nfs.h,v 1.13 1995/10/31 21:17:59 joerg Exp $ |
38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43#include <nfs/rpcv2.h> 44 45/* --- 436 unchanged lines hidden (view full) --- 482 !bcmp((caddr_t)&(o)->nd_cr, (caddr_t)&(n)->nd_cr, \ 483 sizeof (struct ucred))) 484 485int nfs_reply __P((struct nfsreq *)); 486int nfs_getreq __P((struct nfsrv_descript *,struct nfsd *,int)); 487int nfs_send __P((struct socket *,struct mbuf *,struct mbuf *,struct nfsreq *)); 488int nfs_rephead __P((int,struct nfsrv_descript *,struct nfssvc_sock *,int,int,u_quad_t *,struct mbuf **,struct mbuf **,caddr_t *)); 489int nfs_sndlock __P((int *,struct nfsreq *)); | 38 */ 39 40#ifndef _NFS_NFS_H_ 41#define _NFS_NFS_H_ 42 43#include <nfs/rpcv2.h> 44 45/* --- 436 unchanged lines hidden (view full) --- 482 !bcmp((caddr_t)&(o)->nd_cr, (caddr_t)&(n)->nd_cr, \ 483 sizeof (struct ucred))) 484 485int nfs_reply __P((struct nfsreq *)); 486int nfs_getreq __P((struct nfsrv_descript *,struct nfsd *,int)); 487int nfs_send __P((struct socket *,struct mbuf *,struct mbuf *,struct nfsreq *)); 488int nfs_rephead __P((int,struct nfsrv_descript *,struct nfssvc_sock *,int,int,u_quad_t *,struct mbuf **,struct mbuf **,caddr_t *)); 489int nfs_sndlock __P((int *,struct nfsreq *)); |
490void nfs_sndunlock __P((int *flagp)); |
|
490int nfs_disct __P((struct mbuf **,caddr_t *,int,int,caddr_t *)); 491int nfs_vinvalbuf __P((struct vnode *,int,struct ucred *,struct proc *,int)); 492int nfs_readrpc __P((struct vnode *,struct uio *,struct ucred *)); 493int nfs_writerpc __P((struct vnode *,struct uio *,struct ucred *,int *,int *)); 494int nfs_readdirrpc __P((register struct vnode *,struct uio *,struct ucred *)); 495int nfs_asyncio __P((struct buf *,struct ucred *)); 496int nfs_doio __P((struct buf *,struct ucred *,struct proc *)); 497int nfs_readlinkrpc __P((struct vnode *,struct uio *,struct ucred *)); --- 8 unchanged lines hidden (view full) --- 506int netaddr_match __P((int,union nethostaddr *,struct mbuf *)); 507int nfs_request __P((struct vnode *,struct mbuf *,int,struct proc *,struct ucred *,struct mbuf **,struct mbuf **,caddr_t *)); 508int nfs_loadattrcache __P((struct vnode **,struct mbuf **,caddr_t *,struct vattr *)); 509int nfs_namei __P((struct nameidata *,fhandle_t *,int,struct nfssvc_sock *,struct mbuf *,struct mbuf **,caddr_t *,struct vnode **,struct proc *,int)); 510void nfsm_adj __P((struct mbuf *,int,int)); 511int nfsm_mbuftouio __P((struct mbuf **,struct uio *,int,caddr_t *)); 512void nfsrv_initcache __P((void)); 513int nfs_rcvlock __P((struct nfsreq *)); | 491int nfs_disct __P((struct mbuf **,caddr_t *,int,int,caddr_t *)); 492int nfs_vinvalbuf __P((struct vnode *,int,struct ucred *,struct proc *,int)); 493int nfs_readrpc __P((struct vnode *,struct uio *,struct ucred *)); 494int nfs_writerpc __P((struct vnode *,struct uio *,struct ucred *,int *,int *)); 495int nfs_readdirrpc __P((register struct vnode *,struct uio *,struct ucred *)); 496int nfs_asyncio __P((struct buf *,struct ucred *)); 497int nfs_doio __P((struct buf *,struct ucred *,struct proc *)); 498int nfs_readlinkrpc __P((struct vnode *,struct uio *,struct ucred *)); --- 8 unchanged lines hidden (view full) --- 507int netaddr_match __P((int,union nethostaddr *,struct mbuf *)); 508int nfs_request __P((struct vnode *,struct mbuf *,int,struct proc *,struct ucred *,struct mbuf **,struct mbuf **,caddr_t *)); 509int nfs_loadattrcache __P((struct vnode **,struct mbuf **,caddr_t *,struct vattr *)); 510int nfs_namei __P((struct nameidata *,fhandle_t *,int,struct nfssvc_sock *,struct mbuf *,struct mbuf **,caddr_t *,struct vnode **,struct proc *,int)); 511void nfsm_adj __P((struct mbuf *,int,int)); 512int nfsm_mbuftouio __P((struct mbuf **,struct uio *,int,caddr_t *)); 513void nfsrv_initcache __P((void)); 514int nfs_rcvlock __P((struct nfsreq *)); |
515void nfs_rcvunlock __P((int *flagp)); |
|
514int nfs_getauth __P((struct nfsmount *,struct nfsreq *,struct ucred *,char **,int *,char *,int *,NFSKERBKEY_T)); 515int nfs_getnickauth __P((struct nfsmount *,struct ucred *,char **,int *,char *,int)); 516int nfs_savenickauth __P((struct nfsmount *,struct ucred *,int,NFSKERBKEY_T,struct mbuf **,char **,struct mbuf *)); 517int nfs_msg __P((struct proc *,char *,char *)); 518int nfs_adv __P((struct mbuf **,caddr_t *,int,int)); 519int nfsrv_getstream __P((struct nfssvc_sock *,int)); 520void nfs_nhinit __P((void)); 521void nfs_timer __P((void*)); 522u_long nfs_hash __P((nfsfh_t *,int)); 523int nfssvc_iod __P((struct proc *)); 524int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *)); 525int nfssvc_addsock __P((struct file *,struct mbuf *)); | 516int nfs_getauth __P((struct nfsmount *,struct nfsreq *,struct ucred *,char **,int *,char *,int *,NFSKERBKEY_T)); 517int nfs_getnickauth __P((struct nfsmount *,struct ucred *,char **,int *,char *,int)); 518int nfs_savenickauth __P((struct nfsmount *,struct ucred *,int,NFSKERBKEY_T,struct mbuf **,char **,struct mbuf *)); 519int nfs_msg __P((struct proc *,char *,char *)); 520int nfs_adv __P((struct mbuf **,caddr_t *,int,int)); 521int nfsrv_getstream __P((struct nfssvc_sock *,int)); 522void nfs_nhinit __P((void)); 523void nfs_timer __P((void*)); 524u_long nfs_hash __P((nfsfh_t *,int)); 525int nfssvc_iod __P((struct proc *)); 526int nfssvc_nfsd __P((struct nfsd_srvargs *,caddr_t,struct proc *)); 527int nfssvc_addsock __P((struct file *,struct mbuf *)); |
528void nfsrv_slpderef __P((struct nfssvc_sock *slp)); |
|
526int nfsrv_dorec __P((struct nfssvc_sock *,struct nfsd *,struct nfsrv_descript **)); 527int nfsrv_getcache __P((struct nfsrv_descript *,struct nfssvc_sock *,struct mbuf **)); 528void nfsrv_updatecache __P((struct nfsrv_descript *,int,struct mbuf *)); 529int mountnfs __P((struct nfs_args *,struct mount *,struct mbuf *,char *,char *,struct vnode **)); 530int nfs_connect __P((struct nfsmount *,struct nfsreq *)); 531int nfs_getattrcache __P((struct vnode *,struct vattr *)); 532int nfsm_strtmbuf __P((struct mbuf **,char **,char *,long)); 533int nfs_bioread __P((struct vnode *,struct uio *,int,struct ucred *)); --- 19 unchanged lines hidden --- | 529int nfsrv_dorec __P((struct nfssvc_sock *,struct nfsd *,struct nfsrv_descript **)); 530int nfsrv_getcache __P((struct nfsrv_descript *,struct nfssvc_sock *,struct mbuf **)); 531void nfsrv_updatecache __P((struct nfsrv_descript *,int,struct mbuf *)); 532int mountnfs __P((struct nfs_args *,struct mount *,struct mbuf *,char *,char *,struct vnode **)); 533int nfs_connect __P((struct nfsmount *,struct nfsreq *)); 534int nfs_getattrcache __P((struct vnode *,struct vattr *)); 535int nfsm_strtmbuf __P((struct mbuf **,char **,char *,long)); 536int nfs_bioread __P((struct vnode *,struct uio *,int,struct ucred *)); --- 19 unchanged lines hidden --- |