1PORTMAP2(3)                      portmap2 2.0                      PORTMAP2(3)
2
3
4

NAME

6       packet.nfs.portmap2 - PORTMAPv2 decoding module
7

CLASSES

9   class CALLIT2args(baseobj.BaseObj)
10       struct CALLIT2args {
11           portmap_prog2 prog;
12           unsigned int  vers;
13           unsigned int  proc;
14           opaque        args<>;
15       };
16
17
18       Methods defined here:
19       ---------------------
20
21       __init__(self, unpack)
22       Constructor
23
24       Initialize object's private data according to the arguments given.
25       Arguments can be given as positional, named arguments or a
26       combination of both.
27
28   class CALLIT2res(baseobj.BaseObj)
29       struct CALLIT2res {
30           unsigned int port;
31           opaque       res<>;
32       };
33
34
35       Methods defined here:
36       ---------------------
37
38       __init__(self, unpack)
39       Constructor
40
41       Initialize object's private data according to the arguments given.
42       Arguments can be given as positional, named arguments or a
43       combination of both.
44
45   class DUMP2res(baseobj.BaseObj)
46       struct DUMP2res {
47           entry2 *entries;
48       };
49
50
51       Methods defined here:
52       ---------------------
53
54       __init__(self, unpack)
55       Constructor
56
57       Initialize object's private data according to the arguments given.
58       Arguments can be given as positional, named arguments or a
59       combination of both.
60
61   class GETPORT2args(mapping)
62       struct mapping {
63           portmap_prog2 prog;
64           unsigned int  vers;
65           proto2        prot;
66           unsigned int  port;
67       };
68
69
70   class GETPORT2res(baseobj.BaseObj)
71       struct GETPORT2res {
72           unsigned int result;
73       };
74
75
76       Methods defined here:
77       ---------------------
78
79       __init__(self, unpack)
80       Constructor
81
82       Initialize object's private data according to the arguments given.
83       Arguments can be given as positional, named arguments or a
84       combination of both.
85
86   class PORTMAP2args(packet.utils.RPCload)
87       union switch PORTMAP2args (portmap_proc2 procedure) {
88           case const.PMAPPROC_NULL:
89               void;
90           case const.PMAPPROC_SET:
91               SET2args opset;
92           case const.PMAPPROC_UNSET:
93               UNSET2args opunset;
94           case const.PMAPPROC_GETPORT:
95               GETPORT2args opgetport;
96           case const.PMAPPROC_DUMP:
97               void;
98           case const.PMAPPROC_CALLIT:
99               CALLIT2args opcallit;
100       };
101
102
103       Methods defined here:
104       ---------------------
105
106       __init__(self, unpack, procedure)
107       Constructor
108
109       Initialize object's private data according to the arguments given.
110       Arguments can be given as positional, named arguments or a
111       combination of both.
112
113   class PORTMAP2res(packet.utils.RPCload)
114       union switch PORTMAP2res (portmap_proc2 procedure) {
115           case const.PMAPPROC_NULL:
116               void;
117           case const.PMAPPROC_SET:
118               SET2res opset;
119           case const.PMAPPROC_UNSET:
120               UNSET2res opunset;
121           case const.PMAPPROC_GETPORT:
122               GETPORT2res opgetport;
123           case const.PMAPPROC_DUMP:
124               DUMP2res opdump;
125           case const.PMAPPROC_CALLIT:
126               CALLIT2res opcallit;
127       };
128
129
130       Methods defined here:
131       ---------------------
132
133       __init__(self, unpack, procedure)
134       Constructor
135
136       Initialize object's private data according to the arguments given.
137       Arguments can be given as positional, named arguments or a
138       combination of both.
139
140   class SET2args(mapping)
141       struct mapping {
142           portmap_prog2 prog;
143           unsigned int  vers;
144           proto2        prot;
145           unsigned int  port;
146       };
147
148
149   class SET2res(bool_res)
150       struct bool_res {
151           bool result;
152       };
153
154
155   class UNSET2args(mapping)
156       struct mapping {
157           portmap_prog2 prog;
158           unsigned int  vers;
159           proto2        prot;
160           unsigned int  port;
161       };
162
163
164   class UNSET2res(bool_res)
165       struct bool_res {
166           bool result;
167       };
168
169
170   class bool_res(baseobj.BaseObj)
171       struct bool_res {
172           bool result;
173       };
174
175
176       Methods defined here:
177       ---------------------
178
179       __init__(self, unpack)
180       Constructor
181
182       Initialize object's private data according to the arguments given.
183       Arguments can be given as positional, named arguments or a
184       combination of both.
185
186   class entry2(baseobj.BaseObj)
187       struct entry2 {
188           mapping map;
189           entry2  *next;
190       };
191
192
193       Methods defined here:
194       ---------------------
195
196       __init__(self, unpack)
197       Constructor
198
199       Initialize object's private data according to the arguments given.
200       Arguments can be given as positional, named arguments or a
201       combination of both.
202
203   class mapping(baseobj.BaseObj)
204       struct mapping {
205           portmap_prog2 prog;
206           unsigned int  vers;
207           proto2        prot;
208           unsigned int  port;
209       };
210
211
212       Methods defined here:
213       ---------------------
214
215       __init__(self, unpack)
216       Constructor
217
218       Initialize object's private data according to the arguments given.
219       Arguments can be given as positional, named arguments or a
220       combination of both.
221
222   class portmap_proc2(packet.utils.Enum)
223       enum portmap_proc2
224
225
226   class portmap_prog2(packet.utils.Enum)
227       enum portmap_prog2
228
229
230   class proto2(packet.utils.Enum)
231       enum proto2
232
233

SEE ALSO

235       baseobj(3),       packet.nfs.portmap2_const(3),       packet.unpack(3),
236       packet.utils(3)
237
238

BUGS

240       No known bugs.
241

AUTHOR

243       Jorge Mora (mora@netapp.com)
244
245
246
247NFStest 3.2                      21 March 2023                     PORTMAP2(3)
Impressum