GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  VFS_CHECKEXP (9)

NAME

VFS_CHECKEXP - check if a file system is exported to a client

CONTENTS

Synopsis
Description
Return Values
See Also
Authors

SYNOPSIS


.In sys/param.h
.In sys/mount.h int VFS_CHECKEXP struct mount *mp struct sockaddr *nam int *exflagsp struct ucred **credanonp

DESCRIPTION

The VFS_CHECKEXP macro is used by the NFS server to check if a mount point is exported to a client.

The arguments it expects are:
mp The mount point to be checked.
nam An mbuf containing the network address of the client.
exflagsp Return parameter for the export flags for this client.
credanonp
  Return parameter for the anonymous credentials for this client.

The VFS_CHECKEXP macro should be called on a file system’s mount structure to determine if it is exported to a client whose address is contained in nam.

It is generally called before VFS_FHTOVP(9) to validate that a client has access to the file system.

The file system should call vfs_export_lookup(9) with the address of an appropriate
.Vt netexport structure and the address of the client, nam, to verify that the client can access this file system.

RETURN VALUES

The export flags and anonymous credentials specific to the client (returned by vfs_export_lookup(9)) will be returned in *exflagsp and *credanonp.

SEE ALSO

VFS(9), VFS_FHTOVP(9), VOP_VPTOFH(9), vnode(9)

AUTHORS

This manual page was written by
.An Alfred Perlstein .
Search for    or go to Top of page |  Section 9 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.