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
23   class CALLIT2res(baseobj.BaseObj)
24       struct CALLIT2res {
25           unsigned int port;
26           opaque       res<>;
27       };
28
29
30       Methods defined here:
31       ---------------------
32
33       __init__(self, unpack)
34
35   class DUMP2res(baseobj.BaseObj)
36       struct DUMP2res {
37           entry2 *entries;
38       };
39
40
41       Methods defined here:
42       ---------------------
43
44       __init__(self, unpack)
45
46   class GETPORT2res(baseobj.BaseObj)
47       struct GETPORT2res {
48           unsigned int result;
49       };
50
51
52       Methods defined here:
53       ---------------------
54
55       __init__(self, unpack)
56
57   class PORTMAP2args(packet.utils.RPCload)
58       union switch PORTMAP2args (portmap_proc2 procedure) {
59           case const.PMAPPROC_NULL:
60               void;
61           case const.PMAPPROC_SET:
62               SET2args opset;
63           case const.PMAPPROC_UNSET:
64               UNSET2args opunset;
65           case const.PMAPPROC_GETPORT:
66               GETPORT2args opgetport;
67           case const.PMAPPROC_DUMP:
68               void;
69           case const.PMAPPROC_CALLIT:
70               CALLIT2args opcallit;
71       };
72
73
74       Methods defined here:
75       ---------------------
76
77       __init__(self, unpack, procedure)
78
79   class PORTMAP2res(packet.utils.RPCload)
80       union switch PORTMAP2res (portmap_proc2 procedure) {
81           case const.PMAPPROC_NULL:
82               void;
83           case const.PMAPPROC_SET:
84               SET2res opset;
85           case const.PMAPPROC_UNSET:
86               UNSET2res opunset;
87           case const.PMAPPROC_GETPORT:
88               GETPORT2res opgetport;
89           case const.PMAPPROC_DUMP:
90               DUMP2res opdump;
91           case const.PMAPPROC_CALLIT:
92               CALLIT2res opcallit;
93       };
94
95
96       Methods defined here:
97       ---------------------
98
99       __init__(self, unpack, procedure)
100
101   class bool_res(baseobj.BaseObj)
102       struct bool_res {
103           bool result;
104       };
105
106
107       Methods defined here:
108       ---------------------
109
110       __init__(self, unpack)
111
112   class entry2(baseobj.BaseObj)
113       struct entry2 {
114           mapping map;
115           entry2  *next;
116       };
117
118
119       Methods defined here:
120       ---------------------
121
122       __init__(self, unpack)
123
124   class mapping(baseobj.BaseObj)
125       struct mapping {
126           portmap_prog2 prog;
127           unsigned int  vers;
128           proto2        prot;
129           unsigned int  port;
130       };
131
132
133       Methods defined here:
134       ---------------------
135
136       __init__(self, unpack)
137
138   class portmap_proc2(packet.utils.Enum)
139       enum portmap_proc2
140
141
142   class portmap_prog2(packet.utils.Enum)
143       enum portmap_prog2
144
145
146   class proto2(packet.utils.Enum)
147       enum proto2
148
149

SEE ALSO

151       baseobj(3), packet.unpack(3), packet.utils(3)
152
153

BUGS

155       No known bugs.
156

AUTHOR

158       Jorge Mora (mora@netapp.com)
159
160
161
162NFStest 2.1.5                  14 February 2017                    PORTMAP2(3)
Impressum