nl-linux 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/binder.rb +103 -187
- data/generated/nl/linux/conntrack.rb +1053 -1649
- data/generated/nl/linux/dev_energymodel.rb +303 -265
- data/generated/nl/linux/devlink.rb +4904 -5576
- data/generated/nl/linux/dpll.rb +1097 -1467
- data/generated/nl/linux/drm_ras.rb +235 -195
- data/generated/nl/linux/ethtool.rb +6652 -7415
- data/generated/nl/linux/fou.rb +234 -255
- data/generated/nl/linux/handshake.rb +208 -280
- data/generated/nl/linux/lockd.rb +99 -73
- data/generated/nl/linux/mptcp_pm.rb +589 -687
- data/generated/nl/linux/net_shaper.rb +520 -615
- data/generated/nl/linux/netdev.rb +1640 -1987
- data/generated/nl/linux/nfsd.rb +1341 -1215
- data/generated/nl/linux/nftables.rb +5143 -4870
- data/generated/nl/linux/nl80211.rb +2542 -6316
- data/generated/nl/linux/nlctrl.rb +338 -483
- data/generated/nl/linux/ovpn.rb +1006 -1522
- data/generated/nl/linux/ovs_datapath.rb +291 -186
- data/generated/nl/linux/ovs_flow.rb +1393 -2065
- data/generated/nl/linux/ovs_packet.rb +186 -223
- data/generated/nl/linux/ovs_vport.rb +328 -285
- data/generated/nl/linux/psp.rb +812 -717
- data/generated/nl/linux/rt_addr.rb +513 -243
- data/generated/nl/linux/rt_link.rb +4504 -7238
- data/generated/nl/linux/rt_neigh.rb +935 -847
- data/generated/nl/linux/rt_route.rb +1198 -871
- data/generated/nl/linux/rt_rule.rb +680 -659
- data/generated/nl/linux/sunrpc_cache.rb +323 -321
- data/generated/nl/linux/tc.rb +9058 -10454
- data/generated/nl/linux/tcp_metrics.rb +258 -367
- data/generated/nl/linux/team.rb +327 -345
- data/generated/nl/linux/wireguard.rb +270 -434
- data/lib/nl/linux/nlctrl_resolver.rb +1 -1
- data/lib/nl/linux/version.rb +1 -1
- data/linux/conntrack.yaml +18 -3
- data/linux/devlink.yaml +26 -4
- data/linux/dpll.yaml +19 -0
- data/linux/netdev.yaml +21 -0
- data/linux/nfsd.yaml +111 -0
- data/linux/nl80211.yaml +2 -2
- data/linux/rt-addr.yaml +4 -0
- data/linux/rt-link.yaml +7 -0
- data/linux/rt-neigh.yaml +3 -0
- data/linux/rt-route.yaml +83 -2
- data/sig/generated/nl/linux/binder.rbs +77 -220
- data/sig/generated/nl/linux/conntrack.rbs +770 -1954
- data/sig/generated/nl/linux/dev_energymodel.rbs +207 -291
- data/sig/generated/nl/linux/devlink.rbs +3318 -6068
- data/sig/generated/nl/linux/dpll.rbs +791 -1589
- data/sig/generated/nl/linux/drm_ras.rbs +160 -208
- data/sig/generated/nl/linux/ethtool.rbs +4205 -7581
- data/sig/generated/nl/linux/fou.rbs +139 -254
- data/sig/generated/nl/linux/handshake.rbs +144 -319
- data/sig/generated/nl/linux/lockd.rbs +64 -74
- data/sig/generated/nl/linux/mptcp_pm.rbs +426 -835
- data/sig/generated/nl/linux/net_shaper.rbs +351 -644
- data/sig/generated/nl/linux/netdev.rbs +1151 -2146
- data/sig/generated/nl/linux/nfsd.rbs +1047 -1409
- data/sig/generated/nl/linux/nftables.rbs +2907 -5030
- data/sig/generated/nl/linux/nl80211.rbs +1807 -7964
- data/sig/generated/nl/linux/nlctrl.rbs +220 -544
- data/sig/generated/nl/linux/ovpn.rbs +835 -1859
- data/sig/generated/nl/linux/ovs_datapath.rbs +141 -181
- data/sig/generated/nl/linux/ovs_flow.rbs +817 -2332
- data/sig/generated/nl/linux/ovs_packet.rbs +110 -237
- data/sig/generated/nl/linux/ovs_vport.rbs +174 -294
- data/sig/generated/nl/linux/psp.rbs +550 -741
- data/sig/generated/nl/linux/rt_addr.rbs +188 -226
- data/sig/generated/nl/linux/rt_link.rbs +2687 -8370
- data/sig/generated/nl/linux/rt_neigh.rbs +471 -1005
- data/sig/generated/nl/linux/rt_route.rbs +632 -862
- data/sig/generated/nl/linux/rt_rule.rbs +217 -639
- data/sig/generated/nl/linux/sunrpc_cache.rbs +233 -369
- data/sig/generated/nl/linux/tc.rbs +6199 -13391
- data/sig/generated/nl/linux/tcp_metrics.rbs +179 -421
- data/sig/generated/nl/linux/team.rbs +232 -391
- data/sig/generated/nl/linux/wireguard.rbs +197 -502
- metadata +6 -6
|
@@ -41,216 +41,69 @@ module Nl
|
|
|
41
41
|
|
|
42
42
|
module AttributeSets
|
|
43
43
|
class Fou < ::Nl::AttributeSet
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
module Definitions
|
|
45
|
+
# @rbs return: ::Integer
|
|
46
|
+
# @return [Integer]
|
|
47
|
+
def port: () -> ::Integer
|
|
48
|
+
|
|
49
|
+
# @rbs return: ::Integer
|
|
50
|
+
# @return [Integer]
|
|
51
|
+
def af: () -> ::Integer
|
|
52
|
+
|
|
53
|
+
# @rbs return: ::Integer
|
|
54
|
+
# @return [Integer]
|
|
55
|
+
def ipproto: () -> ::Integer
|
|
56
|
+
|
|
57
|
+
# @rbs return: ::Integer
|
|
58
|
+
# @return [Integer]
|
|
59
|
+
def type: () -> ::Integer
|
|
60
|
+
|
|
61
|
+
# @rbs return: ::Integer
|
|
62
|
+
# @return [Integer]
|
|
63
|
+
def remcsum_nopartial: () -> ::Integer
|
|
64
|
+
|
|
65
|
+
# @rbs return: ::Integer
|
|
66
|
+
# @return [Integer]
|
|
67
|
+
def local_v4: () -> ::Integer
|
|
68
|
+
|
|
69
|
+
# @rbs return: ::String
|
|
70
|
+
# @return [String]
|
|
71
|
+
def local_v6: () -> ::String
|
|
72
|
+
|
|
73
|
+
# @rbs return: ::Integer
|
|
74
|
+
# @return [Integer]
|
|
75
|
+
def peer_v4: () -> ::Integer
|
|
76
|
+
|
|
77
|
+
# @rbs return: ::String
|
|
78
|
+
# @return [String]
|
|
79
|
+
def peer_v6: () -> ::String
|
|
80
|
+
|
|
81
|
+
# @rbs return: ::Integer
|
|
82
|
+
# @return [Integer]
|
|
83
|
+
def peer_port: () -> ::Integer
|
|
84
|
+
|
|
85
|
+
# @rbs return: ::Integer
|
|
86
|
+
# @return [Integer]
|
|
87
|
+
def ifindex: () -> ::Integer
|
|
46
88
|
end
|
|
47
89
|
|
|
48
|
-
|
|
49
|
-
TYPE: ::Integer
|
|
90
|
+
include Definitions
|
|
50
91
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
# @private
|
|
57
|
-
DATATYPE: untyped
|
|
58
|
-
end
|
|
59
|
-
|
|
60
|
-
class Af < Attribute
|
|
61
|
-
TYPE: ::Integer
|
|
62
|
-
|
|
63
|
-
NAME: ::Symbol
|
|
64
|
-
|
|
65
|
-
# @private
|
|
66
|
-
ORDER: ::Integer
|
|
67
|
-
|
|
68
|
-
# @private
|
|
69
|
-
DATATYPE: untyped
|
|
70
|
-
end
|
|
71
|
-
|
|
72
|
-
class Ipproto < Attribute
|
|
73
|
-
TYPE: ::Integer
|
|
74
|
-
|
|
75
|
-
NAME: ::Symbol
|
|
76
|
-
|
|
77
|
-
# @private
|
|
78
|
-
ORDER: ::Integer
|
|
79
|
-
|
|
80
|
-
# @private
|
|
81
|
-
DATATYPE: untyped
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
class Type < Attribute
|
|
85
|
-
TYPE: ::Integer
|
|
86
|
-
|
|
87
|
-
NAME: ::Symbol
|
|
88
|
-
|
|
89
|
-
# @private
|
|
90
|
-
ORDER: ::Integer
|
|
91
|
-
|
|
92
|
-
# @private
|
|
93
|
-
DATATYPE: untyped
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
class RemcsumNopartial < Attribute
|
|
97
|
-
TYPE: ::Integer
|
|
98
|
-
|
|
99
|
-
NAME: ::Symbol
|
|
100
|
-
|
|
101
|
-
# @private
|
|
102
|
-
ORDER: ::Integer
|
|
103
|
-
|
|
104
|
-
# @private
|
|
105
|
-
DATATYPE: untyped
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
class LocalV4 < Attribute
|
|
109
|
-
TYPE: ::Integer
|
|
110
|
-
|
|
111
|
-
NAME: ::Symbol
|
|
112
|
-
|
|
113
|
-
# @private
|
|
114
|
-
ORDER: ::Integer
|
|
115
|
-
|
|
116
|
-
# @private
|
|
117
|
-
DATATYPE: untyped
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
class LocalV6 < Attribute
|
|
121
|
-
TYPE: ::Integer
|
|
122
|
-
|
|
123
|
-
NAME: ::Symbol
|
|
124
|
-
|
|
125
|
-
# @private
|
|
126
|
-
ORDER: ::Integer
|
|
127
|
-
|
|
128
|
-
# @private
|
|
129
|
-
DATATYPE: untyped
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
class PeerV4 < Attribute
|
|
133
|
-
TYPE: ::Integer
|
|
134
|
-
|
|
135
|
-
NAME: ::Symbol
|
|
136
|
-
|
|
137
|
-
# @private
|
|
138
|
-
ORDER: ::Integer
|
|
139
|
-
|
|
140
|
-
# @private
|
|
141
|
-
DATATYPE: untyped
|
|
142
|
-
end
|
|
143
|
-
|
|
144
|
-
class PeerV6 < Attribute
|
|
145
|
-
TYPE: ::Integer
|
|
146
|
-
|
|
147
|
-
NAME: ::Symbol
|
|
148
|
-
|
|
149
|
-
# @private
|
|
150
|
-
ORDER: ::Integer
|
|
151
|
-
|
|
152
|
-
# @private
|
|
153
|
-
DATATYPE: untyped
|
|
154
|
-
end
|
|
155
|
-
|
|
156
|
-
class PeerPort < Attribute
|
|
157
|
-
TYPE: ::Integer
|
|
158
|
-
|
|
159
|
-
NAME: ::Symbol
|
|
160
|
-
|
|
161
|
-
# @private
|
|
162
|
-
ORDER: ::Integer
|
|
163
|
-
|
|
164
|
-
# @private
|
|
165
|
-
DATATYPE: untyped
|
|
166
|
-
end
|
|
167
|
-
|
|
168
|
-
class Ifindex < Attribute
|
|
169
|
-
TYPE: ::Integer
|
|
170
|
-
|
|
171
|
-
NAME: ::Symbol
|
|
92
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
93
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
94
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
95
|
+
end
|
|
96
|
+
end
|
|
172
97
|
|
|
98
|
+
module AttributeSets
|
|
99
|
+
class Fou
|
|
100
|
+
module Definitions
|
|
173
101
|
# @private
|
|
174
|
-
|
|
102
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
175
103
|
|
|
176
104
|
# @private
|
|
177
|
-
|
|
105
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
178
106
|
end
|
|
179
|
-
|
|
180
|
-
# @private
|
|
181
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
182
|
-
|
|
183
|
-
# @private
|
|
184
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
185
|
-
|
|
186
|
-
# @rbs return: ::Integer
|
|
187
|
-
# @return [Integer]
|
|
188
|
-
# @see Port
|
|
189
|
-
def port: () -> ::Integer
|
|
190
|
-
|
|
191
|
-
# @rbs return: ::Integer
|
|
192
|
-
# @return [Integer]
|
|
193
|
-
# @see Af
|
|
194
|
-
def af: () -> ::Integer
|
|
195
|
-
|
|
196
|
-
# @rbs return: ::Integer
|
|
197
|
-
# @return [Integer]
|
|
198
|
-
# @see Ipproto
|
|
199
|
-
def ipproto: () -> ::Integer
|
|
200
|
-
|
|
201
|
-
# @rbs return: ::Integer
|
|
202
|
-
# @return [Integer]
|
|
203
|
-
# @see Type
|
|
204
|
-
def type: () -> ::Integer
|
|
205
|
-
|
|
206
|
-
# @rbs return: ::Integer
|
|
207
|
-
# @return [Integer]
|
|
208
|
-
# @see RemcsumNopartial
|
|
209
|
-
def remcsum_nopartial: () -> ::Integer
|
|
210
|
-
|
|
211
|
-
# @rbs return: ::Integer
|
|
212
|
-
# @return [Integer]
|
|
213
|
-
# @see LocalV4
|
|
214
|
-
def local_v4: () -> ::Integer
|
|
215
|
-
|
|
216
|
-
# @rbs return: ::String
|
|
217
|
-
# @return [String]
|
|
218
|
-
# @see LocalV6
|
|
219
|
-
def local_v6: () -> ::String
|
|
220
|
-
|
|
221
|
-
# @rbs return: ::Integer
|
|
222
|
-
# @return [Integer]
|
|
223
|
-
# @see PeerV4
|
|
224
|
-
def peer_v4: () -> ::Integer
|
|
225
|
-
|
|
226
|
-
# @rbs return: ::String
|
|
227
|
-
# @return [String]
|
|
228
|
-
# @see PeerV6
|
|
229
|
-
def peer_v6: () -> ::String
|
|
230
|
-
|
|
231
|
-
# @rbs return: ::Integer
|
|
232
|
-
# @return [Integer]
|
|
233
|
-
# @see PeerPort
|
|
234
|
-
def peer_port: () -> ::Integer
|
|
235
|
-
|
|
236
|
-
# @rbs return: ::Integer
|
|
237
|
-
# @return [Integer]
|
|
238
|
-
# @see Ifindex
|
|
239
|
-
def ifindex: () -> ::Integer
|
|
240
|
-
|
|
241
|
-
# Looks up Attribute class by name.
|
|
242
|
-
# @rbs name: Symbol
|
|
243
|
-
# @rbs return: Attribute
|
|
244
|
-
# @param [Symbol] name
|
|
245
|
-
# @return [Attribute]
|
|
246
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
247
|
-
|
|
248
|
-
# Looks up Attribute class by type value.
|
|
249
|
-
# @rbs type: Integer
|
|
250
|
-
# @rbs return: Attribute
|
|
251
|
-
# @param [Integer] type
|
|
252
|
-
# @return [Attribute]
|
|
253
|
-
def self.by_type: (Integer type) -> Attribute
|
|
254
107
|
end
|
|
255
108
|
end
|
|
256
109
|
|
|
@@ -258,7 +111,7 @@ module Nl
|
|
|
258
111
|
# Add port.
|
|
259
112
|
#
|
|
260
113
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
261
|
-
class DoAddRequest < ::Nl::
|
|
114
|
+
class DoAddRequest < ::Nl::Message
|
|
262
115
|
TYPE: ::Integer
|
|
263
116
|
|
|
264
117
|
FIXED_HEADER: untyped
|
|
@@ -267,61 +120,64 @@ module Nl
|
|
|
267
120
|
|
|
268
121
|
ATTRIBUTES: untyped
|
|
269
122
|
|
|
123
|
+
include ATTRIBUTE_SET::Definitions
|
|
124
|
+
|
|
125
|
+
def initialize: (?untyped attributes) -> untyped
|
|
126
|
+
|
|
127
|
+
# @private
|
|
128
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
129
|
+
|
|
130
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
131
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
132
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
133
|
+
|
|
134
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
135
|
+
|
|
270
136
|
# @rbs return: ::Integer
|
|
271
137
|
# @return [Integer]
|
|
272
|
-
# @see AttributeSets::Fou::Port
|
|
273
138
|
def port: () -> ::Integer
|
|
274
139
|
|
|
275
140
|
# @rbs return: ::Integer
|
|
276
141
|
# @return [Integer]
|
|
277
|
-
# @see AttributeSets::Fou::Ipproto
|
|
278
142
|
def ipproto: () -> ::Integer
|
|
279
143
|
|
|
280
144
|
# @rbs return: ::Integer
|
|
281
145
|
# @return [Integer]
|
|
282
|
-
# @see AttributeSets::Fou::Type
|
|
283
146
|
def type: () -> ::Integer
|
|
284
147
|
|
|
285
148
|
# @rbs return: ::Integer
|
|
286
149
|
# @return [Integer]
|
|
287
|
-
# @see AttributeSets::Fou::RemcsumNopartial
|
|
288
150
|
def remcsum_nopartial: () -> ::Integer
|
|
289
151
|
|
|
290
152
|
# @rbs return: ::Integer
|
|
291
153
|
# @return [Integer]
|
|
292
|
-
# @see AttributeSets::Fou::LocalV4
|
|
293
154
|
def local_v4: () -> ::Integer
|
|
294
155
|
|
|
295
156
|
# @rbs return: ::String
|
|
296
157
|
# @return [String]
|
|
297
|
-
# @see AttributeSets::Fou::LocalV6
|
|
298
158
|
def local_v6: () -> ::String
|
|
299
159
|
|
|
300
160
|
# @rbs return: ::Integer
|
|
301
161
|
# @return [Integer]
|
|
302
|
-
# @see AttributeSets::Fou::PeerV4
|
|
303
162
|
def peer_v4: () -> ::Integer
|
|
304
163
|
|
|
305
164
|
# @rbs return: ::String
|
|
306
165
|
# @return [String]
|
|
307
|
-
# @see AttributeSets::Fou::PeerV6
|
|
308
166
|
def peer_v6: () -> ::String
|
|
309
167
|
|
|
310
168
|
# @rbs return: ::Integer
|
|
311
169
|
# @return [Integer]
|
|
312
|
-
# @see AttributeSets::Fou::PeerPort
|
|
313
170
|
def peer_port: () -> ::Integer
|
|
314
171
|
|
|
315
172
|
# @rbs return: ::Integer
|
|
316
173
|
# @return [Integer]
|
|
317
|
-
# @see AttributeSets::Fou::Ifindex
|
|
318
174
|
def ifindex: () -> ::Integer
|
|
319
175
|
end
|
|
320
176
|
|
|
321
177
|
# Delete port.
|
|
322
178
|
#
|
|
323
179
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
324
|
-
class DoDelRequest < ::Nl::
|
|
180
|
+
class DoDelRequest < ::Nl::Message
|
|
325
181
|
TYPE: ::Integer
|
|
326
182
|
|
|
327
183
|
FIXED_HEADER: untyped
|
|
@@ -330,49 +186,54 @@ module Nl
|
|
|
330
186
|
|
|
331
187
|
ATTRIBUTES: untyped
|
|
332
188
|
|
|
189
|
+
include ATTRIBUTE_SET::Definitions
|
|
190
|
+
|
|
191
|
+
def initialize: (?untyped attributes) -> untyped
|
|
192
|
+
|
|
193
|
+
# @private
|
|
194
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
195
|
+
|
|
196
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
197
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
198
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
199
|
+
|
|
200
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
201
|
+
|
|
333
202
|
# @rbs return: ::Integer
|
|
334
203
|
# @return [Integer]
|
|
335
|
-
# @see AttributeSets::Fou::Port
|
|
336
204
|
def port: () -> ::Integer
|
|
337
205
|
|
|
338
206
|
# @rbs return: ::Integer
|
|
339
207
|
# @return [Integer]
|
|
340
|
-
# @see AttributeSets::Fou::Af
|
|
341
208
|
def af: () -> ::Integer
|
|
342
209
|
|
|
343
210
|
# @rbs return: ::Integer
|
|
344
211
|
# @return [Integer]
|
|
345
|
-
# @see AttributeSets::Fou::LocalV4
|
|
346
212
|
def local_v4: () -> ::Integer
|
|
347
213
|
|
|
348
214
|
# @rbs return: ::String
|
|
349
215
|
# @return [String]
|
|
350
|
-
# @see AttributeSets::Fou::LocalV6
|
|
351
216
|
def local_v6: () -> ::String
|
|
352
217
|
|
|
353
218
|
# @rbs return: ::Integer
|
|
354
219
|
# @return [Integer]
|
|
355
|
-
# @see AttributeSets::Fou::PeerV4
|
|
356
220
|
def peer_v4: () -> ::Integer
|
|
357
221
|
|
|
358
222
|
# @rbs return: ::String
|
|
359
223
|
# @return [String]
|
|
360
|
-
# @see AttributeSets::Fou::PeerV6
|
|
361
224
|
def peer_v6: () -> ::String
|
|
362
225
|
|
|
363
226
|
# @rbs return: ::Integer
|
|
364
227
|
# @return [Integer]
|
|
365
|
-
# @see AttributeSets::Fou::PeerPort
|
|
366
228
|
def peer_port: () -> ::Integer
|
|
367
229
|
|
|
368
230
|
# @rbs return: ::Integer
|
|
369
231
|
# @return [Integer]
|
|
370
|
-
# @see AttributeSets::Fou::Ifindex
|
|
371
232
|
def ifindex: () -> ::Integer
|
|
372
233
|
end
|
|
373
234
|
|
|
374
235
|
# Get tunnel info.
|
|
375
|
-
class DoGetRequest < ::Nl::
|
|
236
|
+
class DoGetRequest < ::Nl::Message
|
|
376
237
|
TYPE: ::Integer
|
|
377
238
|
|
|
378
239
|
FIXED_HEADER: untyped
|
|
@@ -381,49 +242,54 @@ module Nl
|
|
|
381
242
|
|
|
382
243
|
ATTRIBUTES: untyped
|
|
383
244
|
|
|
245
|
+
include ATTRIBUTE_SET::Definitions
|
|
246
|
+
|
|
247
|
+
def initialize: (?untyped attributes) -> untyped
|
|
248
|
+
|
|
249
|
+
# @private
|
|
250
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
251
|
+
|
|
252
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
253
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
254
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
255
|
+
|
|
256
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
257
|
+
|
|
384
258
|
# @rbs return: ::Integer
|
|
385
259
|
# @return [Integer]
|
|
386
|
-
# @see AttributeSets::Fou::Port
|
|
387
260
|
def port: () -> ::Integer
|
|
388
261
|
|
|
389
262
|
# @rbs return: ::Integer
|
|
390
263
|
# @return [Integer]
|
|
391
|
-
# @see AttributeSets::Fou::Af
|
|
392
264
|
def af: () -> ::Integer
|
|
393
265
|
|
|
394
266
|
# @rbs return: ::Integer
|
|
395
267
|
# @return [Integer]
|
|
396
|
-
# @see AttributeSets::Fou::LocalV4
|
|
397
268
|
def local_v4: () -> ::Integer
|
|
398
269
|
|
|
399
270
|
# @rbs return: ::String
|
|
400
271
|
# @return [String]
|
|
401
|
-
# @see AttributeSets::Fou::LocalV6
|
|
402
272
|
def local_v6: () -> ::String
|
|
403
273
|
|
|
404
274
|
# @rbs return: ::Integer
|
|
405
275
|
# @return [Integer]
|
|
406
|
-
# @see AttributeSets::Fou::PeerV4
|
|
407
276
|
def peer_v4: () -> ::Integer
|
|
408
277
|
|
|
409
278
|
# @rbs return: ::String
|
|
410
279
|
# @return [String]
|
|
411
|
-
# @see AttributeSets::Fou::PeerV6
|
|
412
280
|
def peer_v6: () -> ::String
|
|
413
281
|
|
|
414
282
|
# @rbs return: ::Integer
|
|
415
283
|
# @return [Integer]
|
|
416
|
-
# @see AttributeSets::Fou::PeerPort
|
|
417
284
|
def peer_port: () -> ::Integer
|
|
418
285
|
|
|
419
286
|
# @rbs return: ::Integer
|
|
420
287
|
# @return [Integer]
|
|
421
|
-
# @see AttributeSets::Fou::Ifindex
|
|
422
288
|
def ifindex: () -> ::Integer
|
|
423
289
|
end
|
|
424
290
|
|
|
425
291
|
# Get tunnel info.
|
|
426
|
-
class DoGetReply < ::Nl::
|
|
292
|
+
class DoGetReply < ::Nl::Message
|
|
427
293
|
TYPE: ::Integer
|
|
428
294
|
|
|
429
295
|
FIXED_HEADER: untyped
|
|
@@ -432,59 +298,62 @@ module Nl
|
|
|
432
298
|
|
|
433
299
|
ATTRIBUTES: untyped
|
|
434
300
|
|
|
301
|
+
include ATTRIBUTE_SET::Definitions
|
|
302
|
+
|
|
303
|
+
def initialize: (?untyped attributes) -> untyped
|
|
304
|
+
|
|
305
|
+
# @private
|
|
306
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
307
|
+
|
|
308
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
309
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
310
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
311
|
+
|
|
312
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
313
|
+
|
|
435
314
|
# @rbs return: ::Integer
|
|
436
315
|
# @return [Integer]
|
|
437
|
-
# @see AttributeSets::Fou::Port
|
|
438
316
|
def port: () -> ::Integer
|
|
439
317
|
|
|
440
318
|
# @rbs return: ::Integer
|
|
441
319
|
# @return [Integer]
|
|
442
|
-
# @see AttributeSets::Fou::Ipproto
|
|
443
320
|
def ipproto: () -> ::Integer
|
|
444
321
|
|
|
445
322
|
# @rbs return: ::Integer
|
|
446
323
|
# @return [Integer]
|
|
447
|
-
# @see AttributeSets::Fou::Type
|
|
448
324
|
def type: () -> ::Integer
|
|
449
325
|
|
|
450
326
|
# @rbs return: ::Integer
|
|
451
327
|
# @return [Integer]
|
|
452
|
-
# @see AttributeSets::Fou::RemcsumNopartial
|
|
453
328
|
def remcsum_nopartial: () -> ::Integer
|
|
454
329
|
|
|
455
330
|
# @rbs return: ::Integer
|
|
456
331
|
# @return [Integer]
|
|
457
|
-
# @see AttributeSets::Fou::LocalV4
|
|
458
332
|
def local_v4: () -> ::Integer
|
|
459
333
|
|
|
460
334
|
# @rbs return: ::String
|
|
461
335
|
# @return [String]
|
|
462
|
-
# @see AttributeSets::Fou::LocalV6
|
|
463
336
|
def local_v6: () -> ::String
|
|
464
337
|
|
|
465
338
|
# @rbs return: ::Integer
|
|
466
339
|
# @return [Integer]
|
|
467
|
-
# @see AttributeSets::Fou::PeerV4
|
|
468
340
|
def peer_v4: () -> ::Integer
|
|
469
341
|
|
|
470
342
|
# @rbs return: ::String
|
|
471
343
|
# @return [String]
|
|
472
|
-
# @see AttributeSets::Fou::PeerV6
|
|
473
344
|
def peer_v6: () -> ::String
|
|
474
345
|
|
|
475
346
|
# @rbs return: ::Integer
|
|
476
347
|
# @return [Integer]
|
|
477
|
-
# @see AttributeSets::Fou::PeerPort
|
|
478
348
|
def peer_port: () -> ::Integer
|
|
479
349
|
|
|
480
350
|
# @rbs return: ::Integer
|
|
481
351
|
# @return [Integer]
|
|
482
|
-
# @see AttributeSets::Fou::Ifindex
|
|
483
352
|
def ifindex: () -> ::Integer
|
|
484
353
|
end
|
|
485
354
|
|
|
486
355
|
# Get tunnel info.
|
|
487
|
-
class DumpGetRequest < ::Nl::
|
|
356
|
+
class DumpGetRequest < ::Nl::Message
|
|
488
357
|
TYPE: ::Integer
|
|
489
358
|
|
|
490
359
|
FIXED_HEADER: untyped
|
|
@@ -492,10 +361,23 @@ module Nl
|
|
|
492
361
|
ATTRIBUTE_SET: untyped
|
|
493
362
|
|
|
494
363
|
ATTRIBUTES: untyped
|
|
364
|
+
|
|
365
|
+
include ATTRIBUTE_SET::Definitions
|
|
366
|
+
|
|
367
|
+
def initialize: (?untyped attributes) -> untyped
|
|
368
|
+
|
|
369
|
+
# @private
|
|
370
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
371
|
+
|
|
372
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
373
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
374
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
375
|
+
|
|
376
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
495
377
|
end
|
|
496
378
|
|
|
497
379
|
# Get tunnel info.
|
|
498
|
-
class DumpGetReply < ::Nl::
|
|
380
|
+
class DumpGetReply < ::Nl::Message
|
|
499
381
|
TYPE: ::Integer
|
|
500
382
|
|
|
501
383
|
FIXED_HEADER: untyped
|
|
@@ -504,54 +386,57 @@ module Nl
|
|
|
504
386
|
|
|
505
387
|
ATTRIBUTES: untyped
|
|
506
388
|
|
|
389
|
+
include ATTRIBUTE_SET::Definitions
|
|
390
|
+
|
|
391
|
+
def initialize: (?untyped attributes) -> untyped
|
|
392
|
+
|
|
393
|
+
# @private
|
|
394
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
395
|
+
|
|
396
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
397
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
398
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
399
|
+
|
|
400
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
401
|
+
|
|
507
402
|
# @rbs return: ::Integer
|
|
508
403
|
# @return [Integer]
|
|
509
|
-
# @see AttributeSets::Fou::Port
|
|
510
404
|
def port: () -> ::Integer
|
|
511
405
|
|
|
512
406
|
# @rbs return: ::Integer
|
|
513
407
|
# @return [Integer]
|
|
514
|
-
# @see AttributeSets::Fou::Ipproto
|
|
515
408
|
def ipproto: () -> ::Integer
|
|
516
409
|
|
|
517
410
|
# @rbs return: ::Integer
|
|
518
411
|
# @return [Integer]
|
|
519
|
-
# @see AttributeSets::Fou::Type
|
|
520
412
|
def type: () -> ::Integer
|
|
521
413
|
|
|
522
414
|
# @rbs return: ::Integer
|
|
523
415
|
# @return [Integer]
|
|
524
|
-
# @see AttributeSets::Fou::RemcsumNopartial
|
|
525
416
|
def remcsum_nopartial: () -> ::Integer
|
|
526
417
|
|
|
527
418
|
# @rbs return: ::Integer
|
|
528
419
|
# @return [Integer]
|
|
529
|
-
# @see AttributeSets::Fou::LocalV4
|
|
530
420
|
def local_v4: () -> ::Integer
|
|
531
421
|
|
|
532
422
|
# @rbs return: ::String
|
|
533
423
|
# @return [String]
|
|
534
|
-
# @see AttributeSets::Fou::LocalV6
|
|
535
424
|
def local_v6: () -> ::String
|
|
536
425
|
|
|
537
426
|
# @rbs return: ::Integer
|
|
538
427
|
# @return [Integer]
|
|
539
|
-
# @see AttributeSets::Fou::PeerV4
|
|
540
428
|
def peer_v4: () -> ::Integer
|
|
541
429
|
|
|
542
430
|
# @rbs return: ::String
|
|
543
431
|
# @return [String]
|
|
544
|
-
# @see AttributeSets::Fou::PeerV6
|
|
545
432
|
def peer_v6: () -> ::String
|
|
546
433
|
|
|
547
434
|
# @rbs return: ::Integer
|
|
548
435
|
# @return [Integer]
|
|
549
|
-
# @see AttributeSets::Fou::PeerPort
|
|
550
436
|
def peer_port: () -> ::Integer
|
|
551
437
|
|
|
552
438
|
# @rbs return: ::Integer
|
|
553
439
|
# @return [Integer]
|
|
554
|
-
# @see AttributeSets::Fou::Ifindex
|
|
555
440
|
def ifindex: () -> ::Integer
|
|
556
441
|
end
|
|
557
442
|
end
|