Deleted Added
full compact
nfs.h (100641) nfs.h (115301)
1/*
2 * Copyright (c) 1989, 1993, 1995
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.4 (Berkeley) 5/1/95
1/*
2 * Copyright (c) 1989, 1993, 1995
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.4 (Berkeley) 5/1/95
37 * $FreeBSD: head/sys/nfsserver/nfs.h 100641 2002-07-24 22:27:35Z peter $
37 * $FreeBSD: head/sys/nfsserver/nfs.h 115301 2003-05-25 06:17:33Z truckman $
38 */
39
40#ifndef _NFSSERVER_NFS_H_
41#define _NFSSERVER_NFS_H_
42
43#ifdef _KERNEL
44#include "opt_nfs.h"
45#endif

--- 281 unchanged lines hidden (view full) ---

327 struct nfs_fattr *);
328void nfsm_srvwcc(struct nfsrv_descript *, int, struct vattr *, int,
329 struct vattr *, struct mbuf **, char **);
330void nfsm_srvpostopattr(struct nfsrv_descript *, int, struct vattr *,
331 struct mbuf **, char **);
332int netaddr_match(int, union nethostaddr *, struct sockaddr *);
333int nfs_namei(struct nameidata *, fhandle_t *, int,
334 struct nfssvc_sock *, struct sockaddr *, struct mbuf **,
38 */
39
40#ifndef _NFSSERVER_NFS_H_
41#define _NFSSERVER_NFS_H_
42
43#ifdef _KERNEL
44#include "opt_nfs.h"
45#endif

--- 281 unchanged lines hidden (view full) ---

327 struct nfs_fattr *);
328void nfsm_srvwcc(struct nfsrv_descript *, int, struct vattr *, int,
329 struct vattr *, struct mbuf **, char **);
330void nfsm_srvpostopattr(struct nfsrv_descript *, int, struct vattr *,
331 struct mbuf **, char **);
332int netaddr_match(int, union nethostaddr *, struct sockaddr *);
333int nfs_namei(struct nameidata *, fhandle_t *, int,
334 struct nfssvc_sock *, struct sockaddr *, struct mbuf **,
335 caddr_t *, struct vnode **, struct thread *, int);
335 caddr_t *, struct vnode **, int, struct vattr *, int *,
336 struct thread *, int);
336void nfsm_adj(struct mbuf *, int, int);
337int nfsm_mbuftouio(struct mbuf **, struct uio *, int, caddr_t *);
338void nfsrv_initcache(void);
339void nfsrv_timer(void *);
340int nfsrv_dorec(struct nfssvc_sock *, struct nfsd *,
341 struct nfsrv_descript **);
342int nfsrv_getcache(struct nfsrv_descript *, struct mbuf **);
343void nfsrv_updatecache(struct nfsrv_descript *, int, struct mbuf *);

--- 66 unchanged lines hidden ---
337void nfsm_adj(struct mbuf *, int, int);
338int nfsm_mbuftouio(struct mbuf **, struct uio *, int, caddr_t *);
339void nfsrv_initcache(void);
340void nfsrv_timer(void *);
341int nfsrv_dorec(struct nfssvc_sock *, struct nfsd *,
342 struct nfsrv_descript **);
343int nfsrv_getcache(struct nfsrv_descript *, struct mbuf **);
344void nfsrv_updatecache(struct nfsrv_descript *, int, struct mbuf *);

--- 66 unchanged lines hidden ---