packet.nfs.portmap2 (3) - Linux Manuals

packet.nfs.portmap2: PORTMAPv2 decoding module

NAME

packet.nfs.portmap2 - PORTMAPv2 decoding module

CLASSES

class CALLIT2args(baseobj.BaseObj)

struct CALLIT2args {
    unsigned int prog;
    unsigned int vers;
    unsigned int proc;
    opaque       args<>;
};


Methods defined here:
---------------------

__init__(self, unpack)

class CALLIT2res(baseobj.BaseObj)

struct CALLIT2res {
    unsigned int port;
    opaque       res<>;
};


Methods defined here:
---------------------

__init__(self, unpack)

class DUMP2res(baseobj.BaseObj)

struct DUMP2res {
    entry2 *entries;
};


Methods defined here:
---------------------

__init__(self, unpack)

class GETPORT2res(baseobj.BaseObj)

struct GETPORT2res {
    unsigned int result;
};


Methods defined here:
---------------------

__init__(self, unpack)

class PORTMAP2args(packet.utils.RPCload)

union switch PORTMAP2args (portmap_proc2 procedure) {
    case const.PMAPPROC_NULL:
        void;
    case const.PMAPPROC_SET:
        SET2args opset;
    case const.PMAPPROC_UNSET:
        UNSET2args opunset;
    case const.PMAPPROC_GETPORT:
        GETPORT2args opgetport;
    case const.PMAPPROC_DUMP:
        void;
    case const.PMAPPROC_CALLIT:
        CALLIT2args opcallit;
};


Methods defined here:
---------------------

__init__(self, unpack, procedure)

class PORTMAP2res(packet.utils.RPCload)

union switch PORTMAP2res (portmap_proc2 procedure) {
    case const.PMAPPROC_NULL:
        void;
    case const.PMAPPROC_SET:
        SET2res opset;
    case const.PMAPPROC_UNSET:
        UNSET2res opunset;
    case const.PMAPPROC_GETPORT:
        GETPORT2res opgetport;
    case const.PMAPPROC_DUMP:
        DUMP2res opdump;
    case const.PMAPPROC_CALLIT:
        CALLIT2res opcallit;
};


Methods defined here:
---------------------

__init__(self, unpack, procedure)

class bool_res(baseobj.BaseObj)

struct bool_res {
    bool result;
};


Methods defined here:
---------------------

__init__(self, unpack)

class entry2(baseobj.BaseObj)

struct entry2 {
    mapping map;
    entry2  *next;
};


Methods defined here:
---------------------

__init__(self, unpack)

class mapping(baseobj.BaseObj)

struct mapping {
    unsigned int prog;
    unsigned int vers;
    proto2       prot;
    unsigned int port;
};


Methods defined here:
---------------------

__init__(self, unpack)

class portmap_proc2(packet.utils.Enum)

enum portmap_proc2

class proto2(packet.utils.Enum)

enum proto2

BUGS

No known bugs.

AUTHOR

Jorge Mora (mora [at] netapp.com)

SEE ALSO

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