logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

packet.nfs.mount3 - MOUNTv3 decoding module

Author

       Jorge Mora (mora@netapp.com)

NFStest 3.2                                       21 March 2023                                        MOUNT3(3)

Bugs

       No known bugs.

Classes

classDUMP3res(baseobj.BaseObj)
       struct DUMP3res {
           mountentry3 *mountlist;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classEXPORT3res(baseobj.BaseObj)
       struct EXPORT3res {
           exportnode3 *exports;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classMNT3args(baseobj.BaseObj)
       struct MNT3args {
           dirpath3 path;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classMNT3res(baseobj.BaseObj)
       union switch MNT3res (mountstat3 status) {
           case const.MNT3_OK:
               MNT3resok mountinfo;
           default:
               void;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classMNT3resok(baseobj.BaseObj)
       struct MNT3resok {
           fhandle3         fh;
           rpc_auth_flavors auth_flavors<>;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classMOUNT3args(packet.utils.RPCload)
       union switch MOUNT3args (mount_proc3 procedure) {
           case const.MOUNTPROC3_NULL:
               void;
           case const.MOUNTPROC3_MNT:
               MNT3args opmnt;
           case const.MOUNTPROC3_DUMP:
               void;
           case const.MOUNTPROC3_UMNT:
               UMNT3args opumnt;
           case const.MOUNTPROC3_UMNTALL:
               void;
           case const.MOUNTPROC3_EXPORT:
               void;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack,procedure)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classMOUNT3res(packet.utils.RPCload)
       union switch MOUNT3res (mount_proc3 procedure) {
           case const.MOUNTPROC3_NULL:
               void;
           case const.MOUNTPROC3_MNT:
               MNT3res opmnt;
           case const.MOUNTPROC3_DUMP:
               DUMP3res opdump;
           case const.MOUNTPROC3_UMNT:
               void;
           case const.MOUNTPROC3_UMNTALL:
               void;
           case const.MOUNTPROC3_EXPORT:
               EXPORT3res opexport;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack,procedure)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classUMNT3args(baseobj.BaseObj)
       struct UMNT3args {
           dirpath3 path;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classexportnode3(baseobj.BaseObj)
       struct exportnode3 {
           dirpath3    dir;
           groupnode3  *groups;
           exportnode3 *next;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classgroupnode3(baseobj.BaseObj)
       struct groupnode3 {
           name3      name;
           groupnode3 *next;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classmount_proc3(packet.utils.Enum)
       enum mount_proc3

   classmountentry3(baseobj.BaseObj)
       struct mountentry3 {
           name3       hostname;
           dirpath3    directory;
           mountentry3 *next;
       };

       Methodsdefinedhere:
       ---------------------

       __init__(self,unpack)
       Constructor

       Initialize object's private data according to the arguments given.
       Arguments can be given as positional, named arguments or a
       combination of both.

   classmountstat3(packet.utils.Enum)
       enum mountstat3

   classrpc_auth_flavors(packet.utils.Enum)
       enum rpc_auth_flavors

Functions

dirpath3(unpack)fhandle3(unpack)
        Basic Data Types

       name3(unpack)

Name

       packet.nfs.mount3 - MOUNTv3 decoding module

See Also

baseobj(3),packet.nfs.mount3_const(3),packet.unpack(3),packet.utils(3)

See Also