DOKK / manpages / debian 13 / nfstest / packet.nfs.portmap2.3.en
PORTMAP2(3) portmap2 2.0 PORTMAP2(3)

packet.nfs.portmap2 - PORTMAPv2 decoding module

struct CALLIT2args {

portmap_prog2 prog;
unsigned int vers;
unsigned int proc;
opaque args<>; };
Methods defined here:
---------------------
__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.

struct CALLIT2res {

unsigned int port;
opaque res<>; };
Methods defined here:
---------------------
__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.

struct DUMP2res {

entry2 *entries; };
Methods defined here:
---------------------
__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.

struct mapping {

portmap_prog2 prog;
unsigned int vers;
proto2 prot;
unsigned int port; };

struct GETPORT2res {

unsigned int result; };
Methods defined here:
---------------------
__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.

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)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.

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)
Constructor
Initialize object's private data according to the arguments given.
Arguments can be given as positional, named arguments or a
combination of both.

struct mapping {

portmap_prog2 prog;
unsigned int vers;
proto2 prot;
unsigned int port; };

struct bool_res {

bool result; };

struct mapping {

portmap_prog2 prog;
unsigned int vers;
proto2 prot;
unsigned int port; };

struct bool_res {

bool result; };

struct bool_res {

bool result; };
Methods defined here:
---------------------
__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.

struct entry2 {

mapping map;
entry2 *next; };
Methods defined here:
---------------------
__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.

struct mapping {

portmap_prog2 prog;
unsigned int vers;
proto2 prot;
unsigned int port; };
Methods defined here:
---------------------
__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.

enum portmap_proc2

enum portmap_prog2

enum proto2

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

No known bugs.

Jorge Mora (mora@netapp.com)

21 March 2023 NFStest 3.2