15#define ONCRPC_MOUNT 100005
25#define MNT3ERR_NOENT 2
29#define MNT3ERR_ACCES 13
31#define MNT3ERR_NOTDIR 20
33#define MNT3ERR_INVAL 22
35#define MNT3ERR_NAMETOOLONG 63
37#define MNT3ERR_NOTSUPP 10004
39#define MNT3ERR_SERVERFAULT 10006
69 const char *mountpoint );
71 const char *mountpoint );
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define MOUNT_VERS
NFS MOUNT protocol version.
static void mount_init_session(struct oncrpc_session *session, struct oncrpc_cred *credential)
Prepare an ONC RPC session to be used as a MOUNT session.
int mount_umnt(struct interface *intf, struct oncrpc_session *session, const char *mountpoint)
Send a UMNT request.
#define ONCRPC_MOUNT
NFS MOUNT protocol number.
int mount_mnt(struct interface *intf, struct oncrpc_session *session, const char *mountpoint)
Send a MNT request.
int mount_get_mnt_reply(struct mount_mnt_reply *mnt_reply, struct oncrpc_reply *reply)
Parse an MNT reply.
Network File System protocol.
struct oncrpc_cred oncrpc_auth_none
AUTH NONE authentication flavor.
void oncrpc_init_session(struct oncrpc_session *session, struct oncrpc_cred *credential, struct oncrpc_cred *verifier, uint32_t prog_name, uint32_t prog_vers)
Prepare an ONC RPC session structure to be used by the ONC RPC layer.
uint32_t status
Reply status.
struct nfs_fh fh
Root file handle.