.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2. .TH PORTMAP2 3 "21 March 2023" "NFStest 3.2" "portmap2 2.0" .SH NAME packet.nfs.portmap2 - PORTMAPv2 decoding module .SH CLASSES .SS class CALLIT2args(baseobj.BaseObj) .nf struct CALLIT2args { portmap_prog2 prog; unsigned int vers; unsigned int proc; opaque args<>; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class CALLIT2res(baseobj.BaseObj) .nf struct CALLIT2res { unsigned int port; opaque res<>; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class DUMP2res(baseobj.BaseObj) .nf struct DUMP2res { entry2 *entries; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class GETPORT2args(mapping) .nf struct mapping { portmap_prog2 prog; unsigned int vers; proto2 prot; unsigned int port; }; .fi .SS class GETPORT2res(baseobj.BaseObj) .nf struct GETPORT2res { unsigned int result; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class PORTMAP2args(packet.utils.RPCload) .nf 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; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class PORTMAP2res(packet.utils.RPCload) .nf 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; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class SET2args(mapping) .nf struct mapping { portmap_prog2 prog; unsigned int vers; proto2 prot; unsigned int port; }; .fi .SS class SET2res(bool_res) .nf struct bool_res { bool result; }; .fi .SS class UNSET2args(mapping) .nf struct mapping { portmap_prog2 prog; unsigned int vers; proto2 prot; unsigned int port; }; .fi .SS class UNSET2res(bool_res) .nf struct bool_res { bool result; }; .fi .SS class bool_res(baseobj.BaseObj) .nf struct bool_res { bool result; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class entry2(baseobj.BaseObj) .nf struct entry2 { mapping map; entry2 *next; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class mapping(baseobj.BaseObj) .nf struct mapping { portmap_prog2 prog; unsigned int vers; proto2 prot; unsigned int port; }; .P .B Methods defined here: --------------------- .P .B __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. .fi .SS class portmap_proc2(packet.utils.Enum) .nf enum portmap_proc2 .fi .SS class portmap_prog2(packet.utils.Enum) .nf enum portmap_prog2 .fi .SS class proto2(packet.utils.Enum) .nf enum proto2 .fi .SH SEE ALSO .BR baseobj(3), .BR packet.nfs.portmap2_const(3), .BR packet.unpack(3), .BR packet.utils(3) .SH BUGS No known bugs. .SH AUTHOR Jorge Mora (mora@netapp.com)