Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/nfsserver/nfs_nfsdsocket.c
Show First 20 Lines • Show All 523 Lines • ▼ Show 20 Lines | |||||
/* | /* | ||||
* Do an RPC. Basically, get the file handles translated to vnode pointers | * Do an RPC. Basically, get the file handles translated to vnode pointers | ||||
* and then call the appropriate server routine. The server routines are | * and then call the appropriate server routine. The server routines are | ||||
* split into groups, based on whether they use a file handle or file | * split into groups, based on whether they use a file handle or file | ||||
* handle plus name or ... | * handle plus name or ... | ||||
* The NFS V4 Compound RPC is performed separately by nfsrvd_compound(). | * The NFS V4 Compound RPC is performed separately by nfsrvd_compound(). | ||||
*/ | */ | ||||
APPLESTATIC void | void | ||||
nfsrvd_dorpc(struct nfsrv_descript *nd, int isdgram, u_char *tag, int taglen, | nfsrvd_dorpc(struct nfsrv_descript *nd, int isdgram, u_char *tag, int taglen, | ||||
u_int32_t minorvers) | u_int32_t minorvers) | ||||
{ | { | ||||
int error = 0, lktype; | int error = 0, lktype; | ||||
vnode_t vp; | vnode_t vp; | ||||
mount_t mp = NULL; | mount_t mp = NULL; | ||||
struct nfsrvfh fh; | struct nfsrvfh fh; | ||||
struct nfsexstuff nes; | struct nfsexstuff nes; | ||||
▲ Show 20 Lines • Show All 660 Lines • Show Last 20 Lines |