nl-linux 0.4.1 → 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 +7 -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
|
@@ -154,6 +154,10 @@ module Nl
|
|
|
154
154
|
# @private
|
|
155
155
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
156
156
|
|
|
157
|
+
# @private
|
|
158
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
159
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
160
|
+
|
|
157
161
|
# Decodes the struct.
|
|
158
162
|
# @rbs decoder: ::Nl::Decoder
|
|
159
163
|
# @rbs return: instance
|
|
@@ -186,6 +190,10 @@ module Nl
|
|
|
186
190
|
# @private
|
|
187
191
|
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
188
192
|
|
|
193
|
+
# @private
|
|
194
|
+
# @rbs (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
195
|
+
def self.from_params: (Hash[Symbol, untyped] params, ?context: untyped) -> instance
|
|
196
|
+
|
|
189
197
|
# Decodes the struct.
|
|
190
198
|
# @rbs decoder: ::Nl::Decoder
|
|
191
199
|
# @rbs return: instance
|
|
@@ -204,2018 +212,766 @@ module Nl
|
|
|
204
212
|
|
|
205
213
|
module AttributeSets
|
|
206
214
|
class CounterAttrs < ::Nl::AttributeSet
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
class Packets < Attribute
|
|
212
|
-
TYPE: ::Integer
|
|
213
|
-
|
|
214
|
-
NAME: ::Symbol
|
|
215
|
-
|
|
216
|
-
# @private
|
|
217
|
-
ORDER: ::Integer
|
|
218
|
-
|
|
219
|
-
# @private
|
|
220
|
-
DATATYPE: untyped
|
|
221
|
-
end
|
|
222
|
-
|
|
223
|
-
class Bytes < Attribute
|
|
224
|
-
TYPE: ::Integer
|
|
225
|
-
|
|
226
|
-
NAME: ::Symbol
|
|
227
|
-
|
|
228
|
-
# @private
|
|
229
|
-
ORDER: ::Integer
|
|
230
|
-
|
|
231
|
-
# @private
|
|
232
|
-
DATATYPE: untyped
|
|
233
|
-
end
|
|
234
|
-
|
|
235
|
-
class PacketsOld < Attribute
|
|
236
|
-
TYPE: ::Integer
|
|
237
|
-
|
|
238
|
-
NAME: ::Symbol
|
|
239
|
-
|
|
240
|
-
# @private
|
|
241
|
-
ORDER: ::Integer
|
|
242
|
-
|
|
243
|
-
# @private
|
|
244
|
-
DATATYPE: untyped
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
class BytesOld < Attribute
|
|
248
|
-
TYPE: ::Integer
|
|
249
|
-
|
|
250
|
-
NAME: ::Symbol
|
|
251
|
-
|
|
252
|
-
# @private
|
|
253
|
-
ORDER: ::Integer
|
|
254
|
-
|
|
255
|
-
# @private
|
|
256
|
-
DATATYPE: untyped
|
|
257
|
-
end
|
|
258
|
-
|
|
259
|
-
class Pad < Attribute
|
|
260
|
-
TYPE: ::Integer
|
|
215
|
+
module Definitions
|
|
216
|
+
# @rbs return: ::Integer
|
|
217
|
+
# @return [Integer]
|
|
218
|
+
def packets: () -> ::Integer
|
|
261
219
|
|
|
262
|
-
|
|
220
|
+
# @rbs return: ::Integer
|
|
221
|
+
# @return [Integer]
|
|
222
|
+
def bytes: () -> ::Integer
|
|
263
223
|
|
|
264
|
-
# @
|
|
265
|
-
|
|
224
|
+
# @rbs return: ::Integer
|
|
225
|
+
# @return [Integer]
|
|
226
|
+
def packets_old: () -> ::Integer
|
|
266
227
|
|
|
267
|
-
# @
|
|
268
|
-
|
|
228
|
+
# @rbs return: ::Integer
|
|
229
|
+
# @return [Integer]
|
|
230
|
+
def bytes_old: () -> ::Integer
|
|
269
231
|
end
|
|
270
232
|
|
|
271
|
-
|
|
272
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
273
|
-
|
|
274
|
-
# @private
|
|
275
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
276
|
-
|
|
277
|
-
# @rbs return: ::Integer
|
|
278
|
-
# @return [Integer]
|
|
279
|
-
# @see Packets
|
|
280
|
-
def packets: () -> ::Integer
|
|
281
|
-
|
|
282
|
-
# @rbs return: ::Integer
|
|
283
|
-
# @return [Integer]
|
|
284
|
-
# @see Bytes
|
|
285
|
-
def bytes: () -> ::Integer
|
|
286
|
-
|
|
287
|
-
# @rbs return: ::Integer
|
|
288
|
-
# @return [Integer]
|
|
289
|
-
# @see PacketsOld
|
|
290
|
-
def packets_old: () -> ::Integer
|
|
233
|
+
include Definitions
|
|
291
234
|
|
|
292
|
-
#
|
|
293
|
-
# @
|
|
294
|
-
|
|
295
|
-
def bytes_old: () -> ::Integer
|
|
296
|
-
|
|
297
|
-
# Looks up Attribute class by name.
|
|
298
|
-
# @rbs name: Symbol
|
|
299
|
-
# @rbs return: Attribute
|
|
300
|
-
# @param [Symbol] name
|
|
301
|
-
# @return [Attribute]
|
|
302
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
303
|
-
|
|
304
|
-
# Looks up Attribute class by type value.
|
|
305
|
-
# @rbs type: Integer
|
|
306
|
-
# @rbs return: Attribute
|
|
307
|
-
# @param [Integer] type
|
|
308
|
-
# @return [Attribute]
|
|
309
|
-
def self.by_type: (Integer type) -> Attribute
|
|
235
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
236
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
237
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
310
238
|
end
|
|
311
239
|
|
|
312
240
|
class TupleProtoAttrs < ::Nl::AttributeSet
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
# @
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
# @
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
# @
|
|
353
|
-
|
|
354
|
-
end
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
# @private
|
|
363
|
-
ORDER: ::Integer
|
|
364
|
-
|
|
365
|
-
# @private
|
|
366
|
-
DATATYPE: untyped
|
|
367
|
-
end
|
|
368
|
-
|
|
369
|
-
class ProtoIcmpType < Attribute
|
|
370
|
-
TYPE: ::Integer
|
|
371
|
-
|
|
372
|
-
NAME: ::Symbol
|
|
373
|
-
|
|
374
|
-
# @private
|
|
375
|
-
ORDER: ::Integer
|
|
376
|
-
|
|
377
|
-
# @private
|
|
378
|
-
DATATYPE: untyped
|
|
379
|
-
end
|
|
380
|
-
|
|
381
|
-
class ProtoIcmpCode < Attribute
|
|
382
|
-
TYPE: ::Integer
|
|
383
|
-
|
|
384
|
-
NAME: ::Symbol
|
|
385
|
-
|
|
386
|
-
# @private
|
|
387
|
-
ORDER: ::Integer
|
|
388
|
-
|
|
389
|
-
# @private
|
|
390
|
-
DATATYPE: untyped
|
|
391
|
-
end
|
|
392
|
-
|
|
393
|
-
# l4 icmp id
|
|
394
|
-
class ProtoIcmpv6Id < Attribute
|
|
395
|
-
TYPE: ::Integer
|
|
396
|
-
|
|
397
|
-
NAME: ::Symbol
|
|
398
|
-
|
|
399
|
-
# @private
|
|
400
|
-
ORDER: ::Integer
|
|
401
|
-
|
|
402
|
-
# @private
|
|
403
|
-
DATATYPE: untyped
|
|
404
|
-
end
|
|
405
|
-
|
|
406
|
-
class ProtoIcmpv6Type < Attribute
|
|
407
|
-
TYPE: ::Integer
|
|
408
|
-
|
|
409
|
-
NAME: ::Symbol
|
|
410
|
-
|
|
411
|
-
# @private
|
|
412
|
-
ORDER: ::Integer
|
|
413
|
-
|
|
414
|
-
# @private
|
|
415
|
-
DATATYPE: untyped
|
|
416
|
-
end
|
|
417
|
-
|
|
418
|
-
class ProtoIcmpv6Code < Attribute
|
|
419
|
-
TYPE: ::Integer
|
|
420
|
-
|
|
421
|
-
NAME: ::Symbol
|
|
422
|
-
|
|
423
|
-
# @private
|
|
424
|
-
ORDER: ::Integer
|
|
425
|
-
|
|
426
|
-
# @private
|
|
427
|
-
DATATYPE: untyped
|
|
428
|
-
end
|
|
429
|
-
|
|
430
|
-
# @private
|
|
431
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
432
|
-
|
|
433
|
-
# @private
|
|
434
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
435
|
-
|
|
436
|
-
# l4 protocol number
|
|
437
|
-
# @rbs return: ::Integer
|
|
438
|
-
# @return [Integer]
|
|
439
|
-
# @see ProtoNum
|
|
440
|
-
def proto_num: () -> ::Integer
|
|
441
|
-
|
|
442
|
-
# l4 source port
|
|
443
|
-
# @rbs return: ::Integer
|
|
444
|
-
# @return [Integer]
|
|
445
|
-
# @see ProtoSrcPort
|
|
446
|
-
def proto_src_port: () -> ::Integer
|
|
447
|
-
|
|
448
|
-
# l4 source port
|
|
449
|
-
# @rbs return: ::Integer
|
|
450
|
-
# @return [Integer]
|
|
451
|
-
# @see ProtoDstPort
|
|
452
|
-
def proto_dst_port: () -> ::Integer
|
|
453
|
-
|
|
454
|
-
# l4 icmp id
|
|
455
|
-
# @rbs return: ::Integer
|
|
456
|
-
# @return [Integer]
|
|
457
|
-
# @see ProtoIcmpId
|
|
458
|
-
def proto_icmp_id: () -> ::Integer
|
|
459
|
-
|
|
460
|
-
# @rbs return: ::Integer
|
|
461
|
-
# @return [Integer]
|
|
462
|
-
# @see ProtoIcmpType
|
|
463
|
-
def proto_icmp_type: () -> ::Integer
|
|
464
|
-
|
|
465
|
-
# @rbs return: ::Integer
|
|
466
|
-
# @return [Integer]
|
|
467
|
-
# @see ProtoIcmpCode
|
|
468
|
-
def proto_icmp_code: () -> ::Integer
|
|
469
|
-
|
|
470
|
-
# l4 icmp id
|
|
471
|
-
# @rbs return: ::Integer
|
|
472
|
-
# @return [Integer]
|
|
473
|
-
# @see ProtoIcmpv6Id
|
|
474
|
-
def proto_icmpv6_id: () -> ::Integer
|
|
475
|
-
|
|
476
|
-
# @rbs return: ::Integer
|
|
477
|
-
# @return [Integer]
|
|
478
|
-
# @see ProtoIcmpv6Type
|
|
479
|
-
def proto_icmpv6_type: () -> ::Integer
|
|
480
|
-
|
|
481
|
-
# @rbs return: ::Integer
|
|
482
|
-
# @return [Integer]
|
|
483
|
-
# @see ProtoIcmpv6Code
|
|
484
|
-
def proto_icmpv6_code: () -> ::Integer
|
|
485
|
-
|
|
486
|
-
# Looks up Attribute class by name.
|
|
487
|
-
# @rbs name: Symbol
|
|
488
|
-
# @rbs return: Attribute
|
|
489
|
-
# @param [Symbol] name
|
|
490
|
-
# @return [Attribute]
|
|
491
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
492
|
-
|
|
493
|
-
# Looks up Attribute class by type value.
|
|
494
|
-
# @rbs type: Integer
|
|
495
|
-
# @rbs return: Attribute
|
|
496
|
-
# @param [Integer] type
|
|
497
|
-
# @return [Attribute]
|
|
498
|
-
def self.by_type: (Integer type) -> Attribute
|
|
241
|
+
module Definitions
|
|
242
|
+
# l4 protocol number
|
|
243
|
+
# @rbs return: ::Integer
|
|
244
|
+
# @return [Integer]
|
|
245
|
+
def proto_num: () -> ::Integer
|
|
246
|
+
|
|
247
|
+
# l4 source port
|
|
248
|
+
# @rbs return: ::Integer
|
|
249
|
+
# @return [Integer]
|
|
250
|
+
def proto_src_port: () -> ::Integer
|
|
251
|
+
|
|
252
|
+
# l4 source port
|
|
253
|
+
# @rbs return: ::Integer
|
|
254
|
+
# @return [Integer]
|
|
255
|
+
def proto_dst_port: () -> ::Integer
|
|
256
|
+
|
|
257
|
+
# l4 icmp id
|
|
258
|
+
# @rbs return: ::Integer
|
|
259
|
+
# @return [Integer]
|
|
260
|
+
def proto_icmp_id: () -> ::Integer
|
|
261
|
+
|
|
262
|
+
# @rbs return: ::Integer
|
|
263
|
+
# @return [Integer]
|
|
264
|
+
def proto_icmp_type: () -> ::Integer
|
|
265
|
+
|
|
266
|
+
# @rbs return: ::Integer
|
|
267
|
+
# @return [Integer]
|
|
268
|
+
def proto_icmp_code: () -> ::Integer
|
|
269
|
+
|
|
270
|
+
# l4 icmp id
|
|
271
|
+
# @rbs return: ::Integer
|
|
272
|
+
# @return [Integer]
|
|
273
|
+
def proto_icmpv6_id: () -> ::Integer
|
|
274
|
+
|
|
275
|
+
# @rbs return: ::Integer
|
|
276
|
+
# @return [Integer]
|
|
277
|
+
def proto_icmpv6_type: () -> ::Integer
|
|
278
|
+
|
|
279
|
+
# @rbs return: ::Integer
|
|
280
|
+
# @return [Integer]
|
|
281
|
+
def proto_icmpv6_code: () -> ::Integer
|
|
282
|
+
end
|
|
283
|
+
|
|
284
|
+
include Definitions
|
|
285
|
+
|
|
286
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
287
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
288
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
499
289
|
end
|
|
500
290
|
|
|
501
291
|
class TupleIpAttrs < ::Nl::AttributeSet
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
class IpV4Src < Attribute
|
|
508
|
-
TYPE: ::Integer
|
|
509
|
-
|
|
510
|
-
NAME: ::Symbol
|
|
511
|
-
|
|
512
|
-
# @private
|
|
513
|
-
ORDER: ::Integer
|
|
514
|
-
|
|
515
|
-
# @private
|
|
516
|
-
DATATYPE: untyped
|
|
517
|
-
end
|
|
518
|
-
|
|
519
|
-
# ipv4 destination address
|
|
520
|
-
class IpV4Dst < Attribute
|
|
521
|
-
TYPE: ::Integer
|
|
522
|
-
|
|
523
|
-
NAME: ::Symbol
|
|
524
|
-
|
|
525
|
-
# @private
|
|
526
|
-
ORDER: ::Integer
|
|
527
|
-
|
|
528
|
-
# @private
|
|
529
|
-
DATATYPE: untyped
|
|
530
|
-
end
|
|
292
|
+
module Definitions
|
|
293
|
+
# ipv4 source address
|
|
294
|
+
# @rbs return: ::Integer
|
|
295
|
+
# @return [Integer]
|
|
296
|
+
def ip_v4_src: () -> ::Integer
|
|
531
297
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
298
|
+
# ipv4 destination address
|
|
299
|
+
# @rbs return: ::Integer
|
|
300
|
+
# @return [Integer]
|
|
301
|
+
def ip_v4_dst: () -> ::Integer
|
|
535
302
|
|
|
536
|
-
|
|
303
|
+
# ipv6 source address
|
|
304
|
+
# @rbs return: ::String
|
|
305
|
+
# @return [String]
|
|
306
|
+
def ip_v6_src: () -> ::String
|
|
537
307
|
|
|
538
|
-
#
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
DATATYPE: untyped
|
|
543
|
-
end
|
|
544
|
-
|
|
545
|
-
# ipv6 destination address
|
|
546
|
-
class IpV6Dst < Attribute
|
|
547
|
-
TYPE: ::Integer
|
|
548
|
-
|
|
549
|
-
NAME: ::Symbol
|
|
550
|
-
|
|
551
|
-
# @private
|
|
552
|
-
ORDER: ::Integer
|
|
553
|
-
|
|
554
|
-
# @private
|
|
555
|
-
DATATYPE: untyped
|
|
308
|
+
# ipv6 destination address
|
|
309
|
+
# @rbs return: ::String
|
|
310
|
+
# @return [String]
|
|
311
|
+
def ip_v6_dst: () -> ::String
|
|
556
312
|
end
|
|
557
313
|
|
|
558
|
-
|
|
559
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
560
|
-
|
|
561
|
-
# @private
|
|
562
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
563
|
-
|
|
564
|
-
# ipv4 source address
|
|
565
|
-
# @rbs return: ::Integer
|
|
566
|
-
# @return [Integer]
|
|
567
|
-
# @see IpV4Src
|
|
568
|
-
def ip_v4_src: () -> ::Integer
|
|
569
|
-
|
|
570
|
-
# ipv4 destination address
|
|
571
|
-
# @rbs return: ::Integer
|
|
572
|
-
# @return [Integer]
|
|
573
|
-
# @see IpV4Dst
|
|
574
|
-
def ip_v4_dst: () -> ::Integer
|
|
575
|
-
|
|
576
|
-
# ipv6 source address
|
|
577
|
-
# @rbs return: ::String
|
|
578
|
-
# @return [String]
|
|
579
|
-
# @see IpV6Src
|
|
580
|
-
def ip_v6_src: () -> ::String
|
|
314
|
+
include Definitions
|
|
581
315
|
|
|
582
|
-
#
|
|
583
|
-
# @rbs
|
|
584
|
-
|
|
585
|
-
# @see IpV6Dst
|
|
586
|
-
def ip_v6_dst: () -> ::String
|
|
587
|
-
|
|
588
|
-
# Looks up Attribute class by name.
|
|
589
|
-
# @rbs name: Symbol
|
|
590
|
-
# @rbs return: Attribute
|
|
591
|
-
# @param [Symbol] name
|
|
592
|
-
# @return [Attribute]
|
|
593
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
594
|
-
|
|
595
|
-
# Looks up Attribute class by type value.
|
|
596
|
-
# @rbs type: Integer
|
|
597
|
-
# @rbs return: Attribute
|
|
598
|
-
# @param [Integer] type
|
|
599
|
-
# @return [Attribute]
|
|
600
|
-
def self.by_type: (Integer type) -> Attribute
|
|
316
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
317
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
318
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
601
319
|
end
|
|
602
320
|
|
|
603
321
|
class TupleAttrs < ::Nl::AttributeSet
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
class TupleIp < Attribute
|
|
610
|
-
TYPE: ::Integer
|
|
611
|
-
|
|
612
|
-
NAME: ::Symbol
|
|
613
|
-
|
|
614
|
-
# @private
|
|
615
|
-
ORDER: ::Integer
|
|
616
|
-
end
|
|
617
|
-
|
|
618
|
-
# conntrack l4 information
|
|
619
|
-
class TupleProto < Attribute
|
|
620
|
-
TYPE: ::Integer
|
|
621
|
-
|
|
622
|
-
NAME: ::Symbol
|
|
623
|
-
|
|
624
|
-
# @private
|
|
625
|
-
ORDER: ::Integer
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
# conntrack zone id
|
|
629
|
-
class TupleZone < Attribute
|
|
630
|
-
TYPE: ::Integer
|
|
631
|
-
|
|
632
|
-
NAME: ::Symbol
|
|
633
|
-
|
|
634
|
-
# @private
|
|
635
|
-
ORDER: ::Integer
|
|
636
|
-
|
|
637
|
-
# @private
|
|
638
|
-
DATATYPE: untyped
|
|
639
|
-
end
|
|
640
|
-
|
|
641
|
-
# @private
|
|
642
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
643
|
-
|
|
644
|
-
# @private
|
|
645
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
646
|
-
|
|
647
|
-
# conntrack l3 information
|
|
648
|
-
# @rbs return: AttributeSets::TupleIpAttrs
|
|
649
|
-
# @return [AttributeSets::TupleIpAttrs]
|
|
650
|
-
# @see TupleIp
|
|
651
|
-
def tuple_ip: () -> AttributeSets::TupleIpAttrs
|
|
652
|
-
|
|
653
|
-
# conntrack l4 information
|
|
654
|
-
# @rbs return: AttributeSets::TupleProtoAttrs
|
|
655
|
-
# @return [AttributeSets::TupleProtoAttrs]
|
|
656
|
-
# @see TupleProto
|
|
657
|
-
def tuple_proto: () -> AttributeSets::TupleProtoAttrs
|
|
658
|
-
|
|
659
|
-
# conntrack zone id
|
|
660
|
-
# @rbs return: ::Integer
|
|
661
|
-
# @return [Integer]
|
|
662
|
-
# @see TupleZone
|
|
663
|
-
def tuple_zone: () -> ::Integer
|
|
664
|
-
|
|
665
|
-
# Looks up Attribute class by name.
|
|
666
|
-
# @rbs name: Symbol
|
|
667
|
-
# @rbs return: Attribute
|
|
668
|
-
# @param [Symbol] name
|
|
669
|
-
# @return [Attribute]
|
|
670
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
671
|
-
|
|
672
|
-
# Looks up Attribute class by type value.
|
|
673
|
-
# @rbs type: Integer
|
|
674
|
-
# @rbs return: Attribute
|
|
675
|
-
# @param [Integer] type
|
|
676
|
-
# @return [Attribute]
|
|
677
|
-
def self.by_type: (Integer type) -> Attribute
|
|
678
|
-
end
|
|
679
|
-
|
|
680
|
-
class ProtoinfoTcpAttrs < ::Nl::AttributeSet
|
|
681
|
-
# Abstract class
|
|
682
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
683
|
-
end
|
|
684
|
-
|
|
685
|
-
# tcp connection state
|
|
686
|
-
#
|
|
687
|
-
# Known enum values are defined in {Enums::NfCtTcpState}.
|
|
688
|
-
class TcpState < Attribute
|
|
689
|
-
TYPE: ::Integer
|
|
690
|
-
|
|
691
|
-
NAME: ::Symbol
|
|
692
|
-
|
|
693
|
-
# @private
|
|
694
|
-
ORDER: ::Integer
|
|
695
|
-
|
|
696
|
-
# @private
|
|
697
|
-
DATATYPE: untyped
|
|
698
|
-
end
|
|
699
|
-
|
|
700
|
-
# window scaling factor in original direction
|
|
701
|
-
class TcpWscaleOriginal < Attribute
|
|
702
|
-
TYPE: ::Integer
|
|
703
|
-
|
|
704
|
-
NAME: ::Symbol
|
|
705
|
-
|
|
706
|
-
# @private
|
|
707
|
-
ORDER: ::Integer
|
|
708
|
-
|
|
709
|
-
# @private
|
|
710
|
-
DATATYPE: untyped
|
|
711
|
-
end
|
|
712
|
-
|
|
713
|
-
# window scaling factor in reply direction
|
|
714
|
-
class TcpWscaleReply < Attribute
|
|
715
|
-
TYPE: ::Integer
|
|
716
|
-
|
|
717
|
-
NAME: ::Symbol
|
|
718
|
-
|
|
719
|
-
# @private
|
|
720
|
-
ORDER: ::Integer
|
|
721
|
-
|
|
722
|
-
# @private
|
|
723
|
-
DATATYPE: untyped
|
|
724
|
-
end
|
|
725
|
-
|
|
726
|
-
class TcpFlagsOriginal < Attribute
|
|
727
|
-
TYPE: ::Integer
|
|
728
|
-
|
|
729
|
-
NAME: ::Symbol
|
|
730
|
-
|
|
731
|
-
# @private
|
|
732
|
-
ORDER: ::Integer
|
|
733
|
-
|
|
734
|
-
# @private
|
|
735
|
-
DATATYPE: untyped
|
|
736
|
-
end
|
|
737
|
-
|
|
738
|
-
class TcpFlagsReply < Attribute
|
|
739
|
-
TYPE: ::Integer
|
|
740
|
-
|
|
741
|
-
NAME: ::Symbol
|
|
742
|
-
|
|
743
|
-
# @private
|
|
744
|
-
ORDER: ::Integer
|
|
745
|
-
|
|
746
|
-
# @private
|
|
747
|
-
DATATYPE: untyped
|
|
748
|
-
end
|
|
749
|
-
|
|
750
|
-
# @private
|
|
751
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
752
|
-
|
|
753
|
-
# @private
|
|
754
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
755
|
-
|
|
756
|
-
# tcp connection state
|
|
757
|
-
#
|
|
758
|
-
# Known enum values are defined in {Enums::NfCtTcpState}.
|
|
759
|
-
# @rbs return: ::Integer
|
|
760
|
-
# @return [Integer]
|
|
761
|
-
# @see TcpState
|
|
762
|
-
def tcp_state: () -> ::Integer
|
|
763
|
-
|
|
764
|
-
# window scaling factor in original direction
|
|
765
|
-
# @rbs return: ::Integer
|
|
766
|
-
# @return [Integer]
|
|
767
|
-
# @see TcpWscaleOriginal
|
|
768
|
-
def tcp_wscale_original: () -> ::Integer
|
|
769
|
-
|
|
770
|
-
# window scaling factor in reply direction
|
|
771
|
-
# @rbs return: ::Integer
|
|
772
|
-
# @return [Integer]
|
|
773
|
-
# @see TcpWscaleReply
|
|
774
|
-
def tcp_wscale_reply: () -> ::Integer
|
|
775
|
-
|
|
776
|
-
# @rbs return: Structs::NfCtTcpFlagsMask
|
|
777
|
-
# @return [Structs::NfCtTcpFlagsMask]
|
|
778
|
-
# @see TcpFlagsOriginal
|
|
779
|
-
def tcp_flags_original: () -> Structs::NfCtTcpFlagsMask
|
|
780
|
-
|
|
781
|
-
# @rbs return: Structs::NfCtTcpFlagsMask
|
|
782
|
-
# @return [Structs::NfCtTcpFlagsMask]
|
|
783
|
-
# @see TcpFlagsReply
|
|
784
|
-
def tcp_flags_reply: () -> Structs::NfCtTcpFlagsMask
|
|
785
|
-
|
|
786
|
-
# Looks up Attribute class by name.
|
|
787
|
-
# @rbs name: Symbol
|
|
788
|
-
# @rbs return: Attribute
|
|
789
|
-
# @param [Symbol] name
|
|
790
|
-
# @return [Attribute]
|
|
791
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
792
|
-
|
|
793
|
-
# Looks up Attribute class by type value.
|
|
794
|
-
# @rbs type: Integer
|
|
795
|
-
# @rbs return: Attribute
|
|
796
|
-
# @param [Integer] type
|
|
797
|
-
# @return [Attribute]
|
|
798
|
-
def self.by_type: (Integer type) -> Attribute
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
class ProtoinfoDccpAttrs < ::Nl::AttributeSet
|
|
802
|
-
# Abstract class
|
|
803
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
804
|
-
end
|
|
805
|
-
|
|
806
|
-
# dccp connection state
|
|
807
|
-
class DccpState < Attribute
|
|
808
|
-
TYPE: ::Integer
|
|
809
|
-
|
|
810
|
-
NAME: ::Symbol
|
|
811
|
-
|
|
812
|
-
# @private
|
|
813
|
-
ORDER: ::Integer
|
|
814
|
-
|
|
815
|
-
# @private
|
|
816
|
-
DATATYPE: untyped
|
|
817
|
-
end
|
|
818
|
-
|
|
819
|
-
class DccpRole < Attribute
|
|
820
|
-
TYPE: ::Integer
|
|
821
|
-
|
|
822
|
-
NAME: ::Symbol
|
|
823
|
-
|
|
824
|
-
# @private
|
|
825
|
-
ORDER: ::Integer
|
|
826
|
-
|
|
827
|
-
# @private
|
|
828
|
-
DATATYPE: untyped
|
|
829
|
-
end
|
|
830
|
-
|
|
831
|
-
class DccpHandshakeSeq < Attribute
|
|
832
|
-
TYPE: ::Integer
|
|
833
|
-
|
|
834
|
-
NAME: ::Symbol
|
|
835
|
-
|
|
836
|
-
# @private
|
|
837
|
-
ORDER: ::Integer
|
|
838
|
-
|
|
839
|
-
# @private
|
|
840
|
-
DATATYPE: untyped
|
|
841
|
-
end
|
|
842
|
-
|
|
843
|
-
class DccpPad < Attribute
|
|
844
|
-
TYPE: ::Integer
|
|
845
|
-
|
|
846
|
-
NAME: ::Symbol
|
|
847
|
-
|
|
848
|
-
# @private
|
|
849
|
-
ORDER: ::Integer
|
|
850
|
-
|
|
851
|
-
# @private
|
|
852
|
-
DATATYPE: untyped
|
|
853
|
-
end
|
|
854
|
-
|
|
855
|
-
# @private
|
|
856
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
857
|
-
|
|
858
|
-
# @private
|
|
859
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
860
|
-
|
|
861
|
-
# dccp connection state
|
|
862
|
-
# @rbs return: ::Integer
|
|
863
|
-
# @return [Integer]
|
|
864
|
-
# @see DccpState
|
|
865
|
-
def dccp_state: () -> ::Integer
|
|
866
|
-
|
|
867
|
-
# @rbs return: ::Integer
|
|
868
|
-
# @return [Integer]
|
|
869
|
-
# @see DccpRole
|
|
870
|
-
def dccp_role: () -> ::Integer
|
|
871
|
-
|
|
872
|
-
# @rbs return: ::Integer
|
|
873
|
-
# @return [Integer]
|
|
874
|
-
# @see DccpHandshakeSeq
|
|
875
|
-
def dccp_handshake_seq: () -> ::Integer
|
|
876
|
-
|
|
877
|
-
# Looks up Attribute class by name.
|
|
878
|
-
# @rbs name: Symbol
|
|
879
|
-
# @rbs return: Attribute
|
|
880
|
-
# @param [Symbol] name
|
|
881
|
-
# @return [Attribute]
|
|
882
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
883
|
-
|
|
884
|
-
# Looks up Attribute class by type value.
|
|
885
|
-
# @rbs type: Integer
|
|
886
|
-
# @rbs return: Attribute
|
|
887
|
-
# @param [Integer] type
|
|
888
|
-
# @return [Attribute]
|
|
889
|
-
def self.by_type: (Integer type) -> Attribute
|
|
890
|
-
end
|
|
891
|
-
|
|
892
|
-
class ProtoinfoSctpAttrs < ::Nl::AttributeSet
|
|
893
|
-
# Abstract class
|
|
894
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
895
|
-
end
|
|
896
|
-
|
|
897
|
-
# sctp connection state
|
|
898
|
-
#
|
|
899
|
-
# Known enum values are defined in {Enums::NfCtSctpState}.
|
|
900
|
-
class SctpState < Attribute
|
|
901
|
-
TYPE: ::Integer
|
|
902
|
-
|
|
903
|
-
NAME: ::Symbol
|
|
904
|
-
|
|
905
|
-
# @private
|
|
906
|
-
ORDER: ::Integer
|
|
907
|
-
|
|
908
|
-
# @private
|
|
909
|
-
DATATYPE: untyped
|
|
910
|
-
end
|
|
911
|
-
|
|
912
|
-
class VtagOriginal < Attribute
|
|
913
|
-
TYPE: ::Integer
|
|
914
|
-
|
|
915
|
-
NAME: ::Symbol
|
|
916
|
-
|
|
917
|
-
# @private
|
|
918
|
-
ORDER: ::Integer
|
|
919
|
-
|
|
920
|
-
# @private
|
|
921
|
-
DATATYPE: untyped
|
|
922
|
-
end
|
|
923
|
-
|
|
924
|
-
class VtagReply < Attribute
|
|
925
|
-
TYPE: ::Integer
|
|
926
|
-
|
|
927
|
-
NAME: ::Symbol
|
|
928
|
-
|
|
929
|
-
# @private
|
|
930
|
-
ORDER: ::Integer
|
|
931
|
-
|
|
932
|
-
# @private
|
|
933
|
-
DATATYPE: untyped
|
|
934
|
-
end
|
|
935
|
-
|
|
936
|
-
# @private
|
|
937
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
938
|
-
|
|
939
|
-
# @private
|
|
940
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
941
|
-
|
|
942
|
-
# sctp connection state
|
|
943
|
-
#
|
|
944
|
-
# Known enum values are defined in {Enums::NfCtSctpState}.
|
|
945
|
-
# @rbs return: ::Integer
|
|
946
|
-
# @return [Integer]
|
|
947
|
-
# @see SctpState
|
|
948
|
-
def sctp_state: () -> ::Integer
|
|
949
|
-
|
|
950
|
-
# @rbs return: ::Integer
|
|
951
|
-
# @return [Integer]
|
|
952
|
-
# @see VtagOriginal
|
|
953
|
-
def vtag_original: () -> ::Integer
|
|
954
|
-
|
|
955
|
-
# @rbs return: ::Integer
|
|
956
|
-
# @return [Integer]
|
|
957
|
-
# @see VtagReply
|
|
958
|
-
def vtag_reply: () -> ::Integer
|
|
959
|
-
|
|
960
|
-
# Looks up Attribute class by name.
|
|
961
|
-
# @rbs name: Symbol
|
|
962
|
-
# @rbs return: Attribute
|
|
963
|
-
# @param [Symbol] name
|
|
964
|
-
# @return [Attribute]
|
|
965
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
966
|
-
|
|
967
|
-
# Looks up Attribute class by type value.
|
|
968
|
-
# @rbs type: Integer
|
|
969
|
-
# @rbs return: Attribute
|
|
970
|
-
# @param [Integer] type
|
|
971
|
-
# @return [Attribute]
|
|
972
|
-
def self.by_type: (Integer type) -> Attribute
|
|
973
|
-
end
|
|
974
|
-
|
|
975
|
-
class ProtoinfoAttrs < ::Nl::AttributeSet
|
|
976
|
-
# Abstract class
|
|
977
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
978
|
-
end
|
|
979
|
-
|
|
980
|
-
# conntrack tcp state information
|
|
981
|
-
class ProtoinfoTcp < Attribute
|
|
982
|
-
TYPE: ::Integer
|
|
983
|
-
|
|
984
|
-
NAME: ::Symbol
|
|
985
|
-
|
|
986
|
-
# @private
|
|
987
|
-
ORDER: ::Integer
|
|
988
|
-
end
|
|
989
|
-
|
|
990
|
-
# conntrack dccp state information
|
|
991
|
-
class ProtoinfoDccp < Attribute
|
|
992
|
-
TYPE: ::Integer
|
|
993
|
-
|
|
994
|
-
NAME: ::Symbol
|
|
995
|
-
|
|
996
|
-
# @private
|
|
997
|
-
ORDER: ::Integer
|
|
998
|
-
end
|
|
999
|
-
|
|
1000
|
-
# conntrack sctp state information
|
|
1001
|
-
class ProtoinfoSctp < Attribute
|
|
1002
|
-
TYPE: ::Integer
|
|
1003
|
-
|
|
1004
|
-
NAME: ::Symbol
|
|
1005
|
-
|
|
1006
|
-
# @private
|
|
1007
|
-
ORDER: ::Integer
|
|
1008
|
-
end
|
|
1009
|
-
|
|
1010
|
-
# @private
|
|
1011
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1012
|
-
|
|
1013
|
-
# @private
|
|
1014
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1015
|
-
|
|
1016
|
-
# conntrack tcp state information
|
|
1017
|
-
# @rbs return: AttributeSets::ProtoinfoTcpAttrs
|
|
1018
|
-
# @return [AttributeSets::ProtoinfoTcpAttrs]
|
|
1019
|
-
# @see ProtoinfoTcp
|
|
1020
|
-
def protoinfo_tcp: () -> AttributeSets::ProtoinfoTcpAttrs
|
|
1021
|
-
|
|
1022
|
-
# conntrack dccp state information
|
|
1023
|
-
# @rbs return: AttributeSets::ProtoinfoDccpAttrs
|
|
1024
|
-
# @return [AttributeSets::ProtoinfoDccpAttrs]
|
|
1025
|
-
# @see ProtoinfoDccp
|
|
1026
|
-
def protoinfo_dccp: () -> AttributeSets::ProtoinfoDccpAttrs
|
|
1027
|
-
|
|
1028
|
-
# conntrack sctp state information
|
|
1029
|
-
# @rbs return: AttributeSets::ProtoinfoSctpAttrs
|
|
1030
|
-
# @return [AttributeSets::ProtoinfoSctpAttrs]
|
|
1031
|
-
# @see ProtoinfoSctp
|
|
1032
|
-
def protoinfo_sctp: () -> AttributeSets::ProtoinfoSctpAttrs
|
|
1033
|
-
|
|
1034
|
-
# Looks up Attribute class by name.
|
|
1035
|
-
# @rbs name: Symbol
|
|
1036
|
-
# @rbs return: Attribute
|
|
1037
|
-
# @param [Symbol] name
|
|
1038
|
-
# @return [Attribute]
|
|
1039
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1040
|
-
|
|
1041
|
-
# Looks up Attribute class by type value.
|
|
1042
|
-
# @rbs type: Integer
|
|
1043
|
-
# @rbs return: Attribute
|
|
1044
|
-
# @param [Integer] type
|
|
1045
|
-
# @return [Attribute]
|
|
1046
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1047
|
-
end
|
|
1048
|
-
|
|
1049
|
-
class HelpAttrs < ::Nl::AttributeSet
|
|
1050
|
-
# Abstract class
|
|
1051
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1052
|
-
end
|
|
1053
|
-
|
|
1054
|
-
# helper name
|
|
1055
|
-
class HelpName < Attribute
|
|
1056
|
-
TYPE: ::Integer
|
|
1057
|
-
|
|
1058
|
-
NAME: ::Symbol
|
|
1059
|
-
|
|
1060
|
-
# @private
|
|
1061
|
-
ORDER: ::Integer
|
|
1062
|
-
|
|
1063
|
-
# @private
|
|
1064
|
-
DATATYPE: untyped
|
|
1065
|
-
end
|
|
1066
|
-
|
|
1067
|
-
# @private
|
|
1068
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1069
|
-
|
|
1070
|
-
# @private
|
|
1071
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1072
|
-
|
|
1073
|
-
# helper name
|
|
1074
|
-
# @rbs return: ::String
|
|
1075
|
-
# @return [String]
|
|
1076
|
-
# @see HelpName
|
|
1077
|
-
def help_name: () -> ::String
|
|
1078
|
-
|
|
1079
|
-
# Looks up Attribute class by name.
|
|
1080
|
-
# @rbs name: Symbol
|
|
1081
|
-
# @rbs return: Attribute
|
|
1082
|
-
# @param [Symbol] name
|
|
1083
|
-
# @return [Attribute]
|
|
1084
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1085
|
-
|
|
1086
|
-
# Looks up Attribute class by type value.
|
|
1087
|
-
# @rbs type: Integer
|
|
1088
|
-
# @rbs return: Attribute
|
|
1089
|
-
# @param [Integer] type
|
|
1090
|
-
# @return [Attribute]
|
|
1091
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1092
|
-
end
|
|
1093
|
-
|
|
1094
|
-
class NatProtoAttrs < ::Nl::AttributeSet
|
|
1095
|
-
# Abstract class
|
|
1096
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1097
|
-
end
|
|
1098
|
-
|
|
1099
|
-
class NatPortMin < Attribute
|
|
1100
|
-
TYPE: ::Integer
|
|
1101
|
-
|
|
1102
|
-
NAME: ::Symbol
|
|
1103
|
-
|
|
1104
|
-
# @private
|
|
1105
|
-
ORDER: ::Integer
|
|
1106
|
-
|
|
1107
|
-
# @private
|
|
1108
|
-
DATATYPE: untyped
|
|
1109
|
-
end
|
|
1110
|
-
|
|
1111
|
-
class NatPortMax < Attribute
|
|
1112
|
-
TYPE: ::Integer
|
|
1113
|
-
|
|
1114
|
-
NAME: ::Symbol
|
|
1115
|
-
|
|
1116
|
-
# @private
|
|
1117
|
-
ORDER: ::Integer
|
|
1118
|
-
|
|
1119
|
-
# @private
|
|
1120
|
-
DATATYPE: untyped
|
|
1121
|
-
end
|
|
1122
|
-
|
|
1123
|
-
# @private
|
|
1124
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1125
|
-
|
|
1126
|
-
# @private
|
|
1127
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1128
|
-
|
|
1129
|
-
# @rbs return: ::Integer
|
|
1130
|
-
# @return [Integer]
|
|
1131
|
-
# @see NatPortMin
|
|
1132
|
-
def nat_port_min: () -> ::Integer
|
|
1133
|
-
|
|
1134
|
-
# @rbs return: ::Integer
|
|
1135
|
-
# @return [Integer]
|
|
1136
|
-
# @see NatPortMax
|
|
1137
|
-
def nat_port_max: () -> ::Integer
|
|
1138
|
-
|
|
1139
|
-
# Looks up Attribute class by name.
|
|
1140
|
-
# @rbs name: Symbol
|
|
1141
|
-
# @rbs return: Attribute
|
|
1142
|
-
# @param [Symbol] name
|
|
1143
|
-
# @return [Attribute]
|
|
1144
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1145
|
-
|
|
1146
|
-
# Looks up Attribute class by type value.
|
|
1147
|
-
# @rbs type: Integer
|
|
1148
|
-
# @rbs return: Attribute
|
|
1149
|
-
# @param [Integer] type
|
|
1150
|
-
# @return [Attribute]
|
|
1151
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1152
|
-
end
|
|
1153
|
-
|
|
1154
|
-
class NatAttrs < ::Nl::AttributeSet
|
|
1155
|
-
# Abstract class
|
|
1156
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1157
|
-
end
|
|
1158
|
-
|
|
1159
|
-
class NatV4Minip < Attribute
|
|
1160
|
-
TYPE: ::Integer
|
|
1161
|
-
|
|
1162
|
-
NAME: ::Symbol
|
|
1163
|
-
|
|
1164
|
-
# @private
|
|
1165
|
-
ORDER: ::Integer
|
|
1166
|
-
|
|
1167
|
-
# @private
|
|
1168
|
-
DATATYPE: untyped
|
|
1169
|
-
end
|
|
1170
|
-
|
|
1171
|
-
class NatV4Maxip < Attribute
|
|
1172
|
-
TYPE: ::Integer
|
|
1173
|
-
|
|
1174
|
-
NAME: ::Symbol
|
|
1175
|
-
|
|
1176
|
-
# @private
|
|
1177
|
-
ORDER: ::Integer
|
|
1178
|
-
|
|
1179
|
-
# @private
|
|
1180
|
-
DATATYPE: untyped
|
|
1181
|
-
end
|
|
1182
|
-
|
|
1183
|
-
class NatV6Minip < Attribute
|
|
1184
|
-
TYPE: ::Integer
|
|
1185
|
-
|
|
1186
|
-
NAME: ::Symbol
|
|
1187
|
-
|
|
1188
|
-
# @private
|
|
1189
|
-
ORDER: ::Integer
|
|
1190
|
-
|
|
1191
|
-
# @private
|
|
1192
|
-
DATATYPE: untyped
|
|
1193
|
-
end
|
|
1194
|
-
|
|
1195
|
-
class NatV6Maxip < Attribute
|
|
1196
|
-
TYPE: ::Integer
|
|
1197
|
-
|
|
1198
|
-
NAME: ::Symbol
|
|
1199
|
-
|
|
1200
|
-
# @private
|
|
1201
|
-
ORDER: ::Integer
|
|
1202
|
-
|
|
1203
|
-
# @private
|
|
1204
|
-
DATATYPE: untyped
|
|
1205
|
-
end
|
|
1206
|
-
|
|
1207
|
-
class NatProto < Attribute
|
|
1208
|
-
TYPE: ::Integer
|
|
1209
|
-
|
|
1210
|
-
NAME: ::Symbol
|
|
1211
|
-
|
|
1212
|
-
# @private
|
|
1213
|
-
ORDER: ::Integer
|
|
1214
|
-
end
|
|
1215
|
-
|
|
1216
|
-
# @private
|
|
1217
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1218
|
-
|
|
1219
|
-
# @private
|
|
1220
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1221
|
-
|
|
1222
|
-
# @rbs return: ::Integer
|
|
1223
|
-
# @return [Integer]
|
|
1224
|
-
# @see NatV4Minip
|
|
1225
|
-
def nat_v4_minip: () -> ::Integer
|
|
1226
|
-
|
|
1227
|
-
# @rbs return: ::Integer
|
|
1228
|
-
# @return [Integer]
|
|
1229
|
-
# @see NatV4Maxip
|
|
1230
|
-
def nat_v4_maxip: () -> ::Integer
|
|
1231
|
-
|
|
1232
|
-
# @rbs return: ::String
|
|
1233
|
-
# @return [String]
|
|
1234
|
-
# @see NatV6Minip
|
|
1235
|
-
def nat_v6_minip: () -> ::String
|
|
1236
|
-
|
|
1237
|
-
# @rbs return: ::String
|
|
1238
|
-
# @return [String]
|
|
1239
|
-
# @see NatV6Maxip
|
|
1240
|
-
def nat_v6_maxip: () -> ::String
|
|
1241
|
-
|
|
1242
|
-
# @rbs return: AttributeSets::NatProtoAttrs
|
|
1243
|
-
# @return [AttributeSets::NatProtoAttrs]
|
|
1244
|
-
# @see NatProto
|
|
1245
|
-
def nat_proto: () -> AttributeSets::NatProtoAttrs
|
|
1246
|
-
|
|
1247
|
-
# Looks up Attribute class by name.
|
|
1248
|
-
# @rbs name: Symbol
|
|
1249
|
-
# @rbs return: Attribute
|
|
1250
|
-
# @param [Symbol] name
|
|
1251
|
-
# @return [Attribute]
|
|
1252
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1253
|
-
|
|
1254
|
-
# Looks up Attribute class by type value.
|
|
1255
|
-
# @rbs type: Integer
|
|
1256
|
-
# @rbs return: Attribute
|
|
1257
|
-
# @param [Integer] type
|
|
1258
|
-
# @return [Attribute]
|
|
1259
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1260
|
-
end
|
|
1261
|
-
|
|
1262
|
-
class SeqadjAttrs < ::Nl::AttributeSet
|
|
1263
|
-
# Abstract class
|
|
1264
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1265
|
-
end
|
|
1266
|
-
|
|
1267
|
-
class CorrectionPos < Attribute
|
|
1268
|
-
TYPE: ::Integer
|
|
1269
|
-
|
|
1270
|
-
NAME: ::Symbol
|
|
1271
|
-
|
|
1272
|
-
# @private
|
|
1273
|
-
ORDER: ::Integer
|
|
1274
|
-
|
|
1275
|
-
# @private
|
|
1276
|
-
DATATYPE: untyped
|
|
1277
|
-
end
|
|
1278
|
-
|
|
1279
|
-
class OffsetBefore < Attribute
|
|
1280
|
-
TYPE: ::Integer
|
|
1281
|
-
|
|
1282
|
-
NAME: ::Symbol
|
|
1283
|
-
|
|
1284
|
-
# @private
|
|
1285
|
-
ORDER: ::Integer
|
|
1286
|
-
|
|
1287
|
-
# @private
|
|
1288
|
-
DATATYPE: untyped
|
|
1289
|
-
end
|
|
1290
|
-
|
|
1291
|
-
class OffsetAfter < Attribute
|
|
1292
|
-
TYPE: ::Integer
|
|
1293
|
-
|
|
1294
|
-
NAME: ::Symbol
|
|
1295
|
-
|
|
1296
|
-
# @private
|
|
1297
|
-
ORDER: ::Integer
|
|
1298
|
-
|
|
1299
|
-
# @private
|
|
1300
|
-
DATATYPE: untyped
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
# @private
|
|
1304
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1305
|
-
|
|
1306
|
-
# @private
|
|
1307
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1308
|
-
|
|
1309
|
-
# @rbs return: ::Integer
|
|
1310
|
-
# @return [Integer]
|
|
1311
|
-
# @see CorrectionPos
|
|
1312
|
-
def correction_pos: () -> ::Integer
|
|
1313
|
-
|
|
1314
|
-
# @rbs return: ::Integer
|
|
1315
|
-
# @return [Integer]
|
|
1316
|
-
# @see OffsetBefore
|
|
1317
|
-
def offset_before: () -> ::Integer
|
|
1318
|
-
|
|
1319
|
-
# @rbs return: ::Integer
|
|
1320
|
-
# @return [Integer]
|
|
1321
|
-
# @see OffsetAfter
|
|
1322
|
-
def offset_after: () -> ::Integer
|
|
1323
|
-
|
|
1324
|
-
# Looks up Attribute class by name.
|
|
1325
|
-
# @rbs name: Symbol
|
|
1326
|
-
# @rbs return: Attribute
|
|
1327
|
-
# @param [Symbol] name
|
|
1328
|
-
# @return [Attribute]
|
|
1329
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1330
|
-
|
|
1331
|
-
# Looks up Attribute class by type value.
|
|
1332
|
-
# @rbs type: Integer
|
|
1333
|
-
# @rbs return: Attribute
|
|
1334
|
-
# @param [Integer] type
|
|
1335
|
-
# @return [Attribute]
|
|
1336
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1337
|
-
end
|
|
1338
|
-
|
|
1339
|
-
class SecctxAttrs < ::Nl::AttributeSet
|
|
1340
|
-
# Abstract class
|
|
1341
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1342
|
-
end
|
|
1343
|
-
|
|
1344
|
-
class SecctxName < Attribute
|
|
1345
|
-
TYPE: ::Integer
|
|
1346
|
-
|
|
1347
|
-
NAME: ::Symbol
|
|
1348
|
-
|
|
1349
|
-
# @private
|
|
1350
|
-
ORDER: ::Integer
|
|
1351
|
-
|
|
1352
|
-
# @private
|
|
1353
|
-
DATATYPE: untyped
|
|
1354
|
-
end
|
|
1355
|
-
|
|
1356
|
-
# @private
|
|
1357
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1358
|
-
|
|
1359
|
-
# @private
|
|
1360
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1361
|
-
|
|
1362
|
-
# @rbs return: ::String
|
|
1363
|
-
# @return [String]
|
|
1364
|
-
# @see SecctxName
|
|
1365
|
-
def secctx_name: () -> ::String
|
|
1366
|
-
|
|
1367
|
-
# Looks up Attribute class by name.
|
|
1368
|
-
# @rbs name: Symbol
|
|
1369
|
-
# @rbs return: Attribute
|
|
1370
|
-
# @param [Symbol] name
|
|
1371
|
-
# @return [Attribute]
|
|
1372
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1373
|
-
|
|
1374
|
-
# Looks up Attribute class by type value.
|
|
1375
|
-
# @rbs type: Integer
|
|
1376
|
-
# @rbs return: Attribute
|
|
1377
|
-
# @param [Integer] type
|
|
1378
|
-
# @return [Attribute]
|
|
1379
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1380
|
-
end
|
|
1381
|
-
|
|
1382
|
-
class SynproxyAttrs < ::Nl::AttributeSet
|
|
1383
|
-
# Abstract class
|
|
1384
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1385
|
-
end
|
|
1386
|
-
|
|
1387
|
-
class Isn < Attribute
|
|
1388
|
-
TYPE: ::Integer
|
|
1389
|
-
|
|
1390
|
-
NAME: ::Symbol
|
|
1391
|
-
|
|
1392
|
-
# @private
|
|
1393
|
-
ORDER: ::Integer
|
|
1394
|
-
|
|
1395
|
-
# @private
|
|
1396
|
-
DATATYPE: untyped
|
|
1397
|
-
end
|
|
1398
|
-
|
|
1399
|
-
class Its < Attribute
|
|
1400
|
-
TYPE: ::Integer
|
|
1401
|
-
|
|
1402
|
-
NAME: ::Symbol
|
|
1403
|
-
|
|
1404
|
-
# @private
|
|
1405
|
-
ORDER: ::Integer
|
|
1406
|
-
|
|
1407
|
-
# @private
|
|
1408
|
-
DATATYPE: untyped
|
|
1409
|
-
end
|
|
1410
|
-
|
|
1411
|
-
class Tsoff < Attribute
|
|
1412
|
-
TYPE: ::Integer
|
|
1413
|
-
|
|
1414
|
-
NAME: ::Symbol
|
|
1415
|
-
|
|
1416
|
-
# @private
|
|
1417
|
-
ORDER: ::Integer
|
|
1418
|
-
|
|
1419
|
-
# @private
|
|
1420
|
-
DATATYPE: untyped
|
|
1421
|
-
end
|
|
1422
|
-
|
|
1423
|
-
# @private
|
|
1424
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1425
|
-
|
|
1426
|
-
# @private
|
|
1427
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1428
|
-
|
|
1429
|
-
# @rbs return: ::Integer
|
|
1430
|
-
# @return [Integer]
|
|
1431
|
-
# @see Isn
|
|
1432
|
-
def isn: () -> ::Integer
|
|
1433
|
-
|
|
1434
|
-
# @rbs return: ::Integer
|
|
1435
|
-
# @return [Integer]
|
|
1436
|
-
# @see Its
|
|
1437
|
-
def its: () -> ::Integer
|
|
1438
|
-
|
|
1439
|
-
# @rbs return: ::Integer
|
|
1440
|
-
# @return [Integer]
|
|
1441
|
-
# @see Tsoff
|
|
1442
|
-
def tsoff: () -> ::Integer
|
|
1443
|
-
|
|
1444
|
-
# Looks up Attribute class by name.
|
|
1445
|
-
# @rbs name: Symbol
|
|
1446
|
-
# @rbs return: Attribute
|
|
1447
|
-
# @param [Symbol] name
|
|
1448
|
-
# @return [Attribute]
|
|
1449
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1450
|
-
|
|
1451
|
-
# Looks up Attribute class by type value.
|
|
1452
|
-
# @rbs type: Integer
|
|
1453
|
-
# @rbs return: Attribute
|
|
1454
|
-
# @param [Integer] type
|
|
1455
|
-
# @return [Attribute]
|
|
1456
|
-
def self.by_type: (Integer type) -> Attribute
|
|
1457
|
-
end
|
|
1458
|
-
|
|
1459
|
-
class ConntrackAttrs < ::Nl::AttributeSet
|
|
1460
|
-
# Abstract class
|
|
1461
|
-
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1462
|
-
end
|
|
1463
|
-
|
|
1464
|
-
# conntrack l3+l4 protocol information, original direction
|
|
1465
|
-
class TupleOrig < Attribute
|
|
1466
|
-
TYPE: ::Integer
|
|
1467
|
-
|
|
1468
|
-
NAME: ::Symbol
|
|
1469
|
-
|
|
1470
|
-
# @private
|
|
1471
|
-
ORDER: ::Integer
|
|
1472
|
-
end
|
|
1473
|
-
|
|
1474
|
-
# conntrack l3+l4 protocol information, reply direction
|
|
1475
|
-
class TupleReply < Attribute
|
|
1476
|
-
TYPE: ::Integer
|
|
1477
|
-
|
|
1478
|
-
NAME: ::Symbol
|
|
1479
|
-
|
|
1480
|
-
# @private
|
|
1481
|
-
ORDER: ::Integer
|
|
1482
|
-
end
|
|
1483
|
-
|
|
1484
|
-
# conntrack flag bits
|
|
1485
|
-
#
|
|
1486
|
-
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1487
|
-
class Status < Attribute
|
|
1488
|
-
TYPE: ::Integer
|
|
1489
|
-
|
|
1490
|
-
NAME: ::Symbol
|
|
1491
|
-
|
|
1492
|
-
# @private
|
|
1493
|
-
ORDER: ::Integer
|
|
1494
|
-
|
|
1495
|
-
# @private
|
|
1496
|
-
DATATYPE: untyped
|
|
1497
|
-
end
|
|
1498
|
-
|
|
1499
|
-
class Protoinfo < Attribute
|
|
1500
|
-
TYPE: ::Integer
|
|
1501
|
-
|
|
1502
|
-
NAME: ::Symbol
|
|
1503
|
-
|
|
1504
|
-
# @private
|
|
1505
|
-
ORDER: ::Integer
|
|
1506
|
-
end
|
|
1507
|
-
|
|
1508
|
-
class Help < Attribute
|
|
1509
|
-
TYPE: ::Integer
|
|
1510
|
-
|
|
1511
|
-
NAME: ::Symbol
|
|
1512
|
-
|
|
1513
|
-
# @private
|
|
1514
|
-
ORDER: ::Integer
|
|
1515
|
-
end
|
|
1516
|
-
|
|
1517
|
-
class NatSrc < Attribute
|
|
1518
|
-
TYPE: ::Integer
|
|
1519
|
-
|
|
1520
|
-
NAME: ::Symbol
|
|
1521
|
-
|
|
1522
|
-
# @private
|
|
1523
|
-
ORDER: ::Integer
|
|
1524
|
-
end
|
|
1525
|
-
|
|
1526
|
-
class Timeout < Attribute
|
|
1527
|
-
TYPE: ::Integer
|
|
1528
|
-
|
|
1529
|
-
NAME: ::Symbol
|
|
1530
|
-
|
|
1531
|
-
# @private
|
|
1532
|
-
ORDER: ::Integer
|
|
1533
|
-
|
|
1534
|
-
# @private
|
|
1535
|
-
DATATYPE: untyped
|
|
1536
|
-
end
|
|
1537
|
-
|
|
1538
|
-
class Mark < Attribute
|
|
1539
|
-
TYPE: ::Integer
|
|
1540
|
-
|
|
1541
|
-
NAME: ::Symbol
|
|
1542
|
-
|
|
1543
|
-
# @private
|
|
1544
|
-
ORDER: ::Integer
|
|
1545
|
-
|
|
1546
|
-
# @private
|
|
1547
|
-
DATATYPE: untyped
|
|
1548
|
-
end
|
|
1549
|
-
|
|
1550
|
-
class CountersOrig < Attribute
|
|
1551
|
-
TYPE: ::Integer
|
|
1552
|
-
|
|
1553
|
-
NAME: ::Symbol
|
|
1554
|
-
|
|
1555
|
-
# @private
|
|
1556
|
-
ORDER: ::Integer
|
|
1557
|
-
end
|
|
1558
|
-
|
|
1559
|
-
class CountersReply < Attribute
|
|
1560
|
-
TYPE: ::Integer
|
|
1561
|
-
|
|
1562
|
-
NAME: ::Symbol
|
|
1563
|
-
|
|
1564
|
-
# @private
|
|
1565
|
-
ORDER: ::Integer
|
|
1566
|
-
end
|
|
1567
|
-
|
|
1568
|
-
class Use < Attribute
|
|
1569
|
-
TYPE: ::Integer
|
|
1570
|
-
|
|
1571
|
-
NAME: ::Symbol
|
|
1572
|
-
|
|
1573
|
-
# @private
|
|
1574
|
-
ORDER: ::Integer
|
|
1575
|
-
|
|
1576
|
-
# @private
|
|
1577
|
-
DATATYPE: untyped
|
|
1578
|
-
end
|
|
1579
|
-
|
|
1580
|
-
class Id < Attribute
|
|
1581
|
-
TYPE: ::Integer
|
|
1582
|
-
|
|
1583
|
-
NAME: ::Symbol
|
|
1584
|
-
|
|
1585
|
-
# @private
|
|
1586
|
-
ORDER: ::Integer
|
|
1587
|
-
|
|
1588
|
-
# @private
|
|
1589
|
-
DATATYPE: untyped
|
|
1590
|
-
end
|
|
1591
|
-
|
|
1592
|
-
class NatDst < Attribute
|
|
1593
|
-
TYPE: ::Integer
|
|
1594
|
-
|
|
1595
|
-
NAME: ::Symbol
|
|
1596
|
-
|
|
1597
|
-
# @private
|
|
1598
|
-
ORDER: ::Integer
|
|
1599
|
-
end
|
|
1600
|
-
|
|
1601
|
-
class TupleMaster < Attribute
|
|
1602
|
-
TYPE: ::Integer
|
|
1603
|
-
|
|
1604
|
-
NAME: ::Symbol
|
|
1605
|
-
|
|
1606
|
-
# @private
|
|
1607
|
-
ORDER: ::Integer
|
|
1608
|
-
end
|
|
1609
|
-
|
|
1610
|
-
class SeqAdjOrig < Attribute
|
|
1611
|
-
TYPE: ::Integer
|
|
1612
|
-
|
|
1613
|
-
NAME: ::Symbol
|
|
1614
|
-
|
|
1615
|
-
# @private
|
|
1616
|
-
ORDER: ::Integer
|
|
1617
|
-
end
|
|
1618
|
-
|
|
1619
|
-
class SeqAdjReply < Attribute
|
|
1620
|
-
TYPE: ::Integer
|
|
1621
|
-
|
|
1622
|
-
NAME: ::Symbol
|
|
1623
|
-
|
|
1624
|
-
# @private
|
|
1625
|
-
ORDER: ::Integer
|
|
1626
|
-
end
|
|
1627
|
-
|
|
1628
|
-
# obsolete
|
|
1629
|
-
class Secmark < Attribute
|
|
1630
|
-
TYPE: ::Integer
|
|
1631
|
-
|
|
1632
|
-
NAME: ::Symbol
|
|
1633
|
-
|
|
1634
|
-
# @private
|
|
1635
|
-
ORDER: ::Integer
|
|
1636
|
-
|
|
1637
|
-
# @private
|
|
1638
|
-
DATATYPE: untyped
|
|
1639
|
-
end
|
|
1640
|
-
|
|
1641
|
-
# conntrack zone id
|
|
1642
|
-
class Zone < Attribute
|
|
1643
|
-
TYPE: ::Integer
|
|
1644
|
-
|
|
1645
|
-
NAME: ::Symbol
|
|
1646
|
-
|
|
1647
|
-
# @private
|
|
1648
|
-
ORDER: ::Integer
|
|
1649
|
-
|
|
1650
|
-
# @private
|
|
1651
|
-
DATATYPE: untyped
|
|
1652
|
-
end
|
|
1653
|
-
|
|
1654
|
-
class Secctx < Attribute
|
|
1655
|
-
TYPE: ::Integer
|
|
1656
|
-
|
|
1657
|
-
NAME: ::Symbol
|
|
1658
|
-
|
|
1659
|
-
# @private
|
|
1660
|
-
ORDER: ::Integer
|
|
1661
|
-
end
|
|
1662
|
-
|
|
1663
|
-
class Timestamp < Attribute
|
|
1664
|
-
TYPE: ::Integer
|
|
1665
|
-
|
|
1666
|
-
NAME: ::Symbol
|
|
1667
|
-
|
|
1668
|
-
# @private
|
|
1669
|
-
ORDER: ::Integer
|
|
1670
|
-
|
|
1671
|
-
# @private
|
|
1672
|
-
DATATYPE: untyped
|
|
1673
|
-
end
|
|
1674
|
-
|
|
1675
|
-
class MarkMask < Attribute
|
|
1676
|
-
TYPE: ::Integer
|
|
1677
|
-
|
|
1678
|
-
NAME: ::Symbol
|
|
1679
|
-
|
|
1680
|
-
# @private
|
|
1681
|
-
ORDER: ::Integer
|
|
1682
|
-
|
|
1683
|
-
# @private
|
|
1684
|
-
DATATYPE: untyped
|
|
1685
|
-
end
|
|
1686
|
-
|
|
1687
|
-
class Labels < Attribute
|
|
1688
|
-
TYPE: ::Integer
|
|
1689
|
-
|
|
1690
|
-
NAME: ::Symbol
|
|
1691
|
-
|
|
1692
|
-
# @private
|
|
1693
|
-
ORDER: ::Integer
|
|
1694
|
-
|
|
1695
|
-
# @private
|
|
1696
|
-
DATATYPE: untyped
|
|
1697
|
-
end
|
|
1698
|
-
|
|
1699
|
-
class LabelsMask < Attribute
|
|
1700
|
-
TYPE: ::Integer
|
|
1701
|
-
|
|
1702
|
-
NAME: ::Symbol
|
|
1703
|
-
|
|
1704
|
-
# @private
|
|
1705
|
-
ORDER: ::Integer
|
|
1706
|
-
|
|
1707
|
-
# @private
|
|
1708
|
-
DATATYPE: untyped
|
|
1709
|
-
end
|
|
1710
|
-
|
|
1711
|
-
class Synproxy < Attribute
|
|
1712
|
-
TYPE: ::Integer
|
|
1713
|
-
|
|
1714
|
-
NAME: ::Symbol
|
|
1715
|
-
|
|
1716
|
-
# @private
|
|
1717
|
-
ORDER: ::Integer
|
|
1718
|
-
end
|
|
1719
|
-
|
|
1720
|
-
class Filter < Attribute
|
|
1721
|
-
TYPE: ::Integer
|
|
1722
|
-
|
|
1723
|
-
NAME: ::Symbol
|
|
1724
|
-
|
|
1725
|
-
# @private
|
|
1726
|
-
ORDER: ::Integer
|
|
1727
|
-
end
|
|
1728
|
-
|
|
1729
|
-
# conntrack flag bits to change
|
|
1730
|
-
#
|
|
1731
|
-
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1732
|
-
class StatusMask < Attribute
|
|
1733
|
-
TYPE: ::Integer
|
|
1734
|
-
|
|
1735
|
-
NAME: ::Symbol
|
|
1736
|
-
|
|
1737
|
-
# @private
|
|
1738
|
-
ORDER: ::Integer
|
|
1739
|
-
|
|
1740
|
-
# @private
|
|
1741
|
-
DATATYPE: untyped
|
|
1742
|
-
end
|
|
1743
|
-
|
|
1744
|
-
class TimestampEvent < Attribute
|
|
1745
|
-
TYPE: ::Integer
|
|
1746
|
-
|
|
1747
|
-
NAME: ::Symbol
|
|
1748
|
-
|
|
1749
|
-
# @private
|
|
1750
|
-
ORDER: ::Integer
|
|
1751
|
-
|
|
1752
|
-
# @private
|
|
1753
|
-
DATATYPE: untyped
|
|
1754
|
-
end
|
|
1755
|
-
|
|
1756
|
-
# @private
|
|
1757
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
1758
|
-
|
|
1759
|
-
# @private
|
|
1760
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
1761
|
-
|
|
1762
|
-
# conntrack l3+l4 protocol information, original direction
|
|
1763
|
-
# @rbs return: AttributeSets::TupleAttrs
|
|
1764
|
-
# @return [AttributeSets::TupleAttrs]
|
|
1765
|
-
# @see TupleOrig
|
|
1766
|
-
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
1767
|
-
|
|
1768
|
-
# conntrack l3+l4 protocol information, reply direction
|
|
1769
|
-
# @rbs return: AttributeSets::TupleAttrs
|
|
1770
|
-
# @return [AttributeSets::TupleAttrs]
|
|
1771
|
-
# @see TupleReply
|
|
1772
|
-
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
1773
|
-
|
|
1774
|
-
# conntrack flag bits
|
|
1775
|
-
#
|
|
1776
|
-
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1777
|
-
# @rbs return: ::Integer
|
|
1778
|
-
# @return [Integer]
|
|
1779
|
-
# @see Status
|
|
1780
|
-
def status: () -> ::Integer
|
|
1781
|
-
|
|
1782
|
-
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
1783
|
-
# @return [AttributeSets::ProtoinfoAttrs]
|
|
1784
|
-
# @see Protoinfo
|
|
1785
|
-
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
1786
|
-
|
|
1787
|
-
# @rbs return: AttributeSets::HelpAttrs
|
|
1788
|
-
# @return [AttributeSets::HelpAttrs]
|
|
1789
|
-
# @see Help
|
|
1790
|
-
def help: () -> AttributeSets::HelpAttrs
|
|
1791
|
-
|
|
1792
|
-
# @rbs return: AttributeSets::NatAttrs
|
|
1793
|
-
# @return [AttributeSets::NatAttrs]
|
|
1794
|
-
# @see NatSrc
|
|
1795
|
-
def nat_src: () -> AttributeSets::NatAttrs
|
|
1796
|
-
|
|
1797
|
-
# @rbs return: ::Integer
|
|
1798
|
-
# @return [Integer]
|
|
1799
|
-
# @see Timeout
|
|
1800
|
-
def timeout: () -> ::Integer
|
|
1801
|
-
|
|
1802
|
-
# @rbs return: ::Integer
|
|
1803
|
-
# @return [Integer]
|
|
1804
|
-
# @see Mark
|
|
1805
|
-
def mark: () -> ::Integer
|
|
1806
|
-
|
|
1807
|
-
# @rbs return: AttributeSets::CounterAttrs
|
|
1808
|
-
# @return [AttributeSets::CounterAttrs]
|
|
1809
|
-
# @see CountersOrig
|
|
1810
|
-
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
1811
|
-
|
|
1812
|
-
# @rbs return: AttributeSets::CounterAttrs
|
|
1813
|
-
# @return [AttributeSets::CounterAttrs]
|
|
1814
|
-
# @see CountersReply
|
|
1815
|
-
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
1816
|
-
|
|
1817
|
-
# @rbs return: ::Integer
|
|
1818
|
-
# @return [Integer]
|
|
1819
|
-
# @see Use
|
|
1820
|
-
def use: () -> ::Integer
|
|
1821
|
-
|
|
1822
|
-
# @rbs return: ::Integer
|
|
1823
|
-
# @return [Integer]
|
|
1824
|
-
# @see Id
|
|
1825
|
-
def id: () -> ::Integer
|
|
1826
|
-
|
|
1827
|
-
# @rbs return: AttributeSets::NatAttrs
|
|
1828
|
-
# @return [AttributeSets::NatAttrs]
|
|
1829
|
-
# @see NatDst
|
|
1830
|
-
def nat_dst: () -> AttributeSets::NatAttrs
|
|
1831
|
-
|
|
1832
|
-
# @rbs return: AttributeSets::TupleAttrs
|
|
1833
|
-
# @return [AttributeSets::TupleAttrs]
|
|
1834
|
-
# @see TupleMaster
|
|
1835
|
-
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
1836
|
-
|
|
1837
|
-
# @rbs return: AttributeSets::SeqadjAttrs
|
|
1838
|
-
# @return [AttributeSets::SeqadjAttrs]
|
|
1839
|
-
# @see SeqAdjOrig
|
|
1840
|
-
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
1841
|
-
|
|
1842
|
-
# @rbs return: AttributeSets::SeqadjAttrs
|
|
1843
|
-
# @return [AttributeSets::SeqadjAttrs]
|
|
1844
|
-
# @see SeqAdjReply
|
|
1845
|
-
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
1846
|
-
|
|
1847
|
-
# obsolete
|
|
1848
|
-
# @rbs return: ::String
|
|
1849
|
-
# @return [String]
|
|
1850
|
-
# @see Secmark
|
|
1851
|
-
def secmark: () -> ::String
|
|
1852
|
-
|
|
1853
|
-
# conntrack zone id
|
|
1854
|
-
# @rbs return: ::Integer
|
|
1855
|
-
# @return [Integer]
|
|
1856
|
-
# @see Zone
|
|
1857
|
-
def zone: () -> ::Integer
|
|
1858
|
-
|
|
1859
|
-
# @rbs return: AttributeSets::SecctxAttrs
|
|
1860
|
-
# @return [AttributeSets::SecctxAttrs]
|
|
1861
|
-
# @see Secctx
|
|
1862
|
-
def secctx: () -> AttributeSets::SecctxAttrs
|
|
1863
|
-
|
|
1864
|
-
# @rbs return: ::Integer
|
|
1865
|
-
# @return [Integer]
|
|
1866
|
-
# @see Timestamp
|
|
1867
|
-
def timestamp: () -> ::Integer
|
|
1868
|
-
|
|
1869
|
-
# @rbs return: ::Integer
|
|
1870
|
-
# @return [Integer]
|
|
1871
|
-
# @see MarkMask
|
|
1872
|
-
def mark_mask: () -> ::Integer
|
|
1873
|
-
|
|
1874
|
-
# @rbs return: ::String
|
|
1875
|
-
# @return [String]
|
|
1876
|
-
# @see Labels
|
|
1877
|
-
def labels: () -> ::String
|
|
1878
|
-
|
|
1879
|
-
# @rbs return: ::String
|
|
1880
|
-
# @return [String]
|
|
1881
|
-
# @see LabelsMask
|
|
1882
|
-
def labels_mask: () -> ::String
|
|
322
|
+
module Definitions
|
|
323
|
+
# conntrack l3 information
|
|
324
|
+
# @rbs return: AttributeSets::TupleIpAttrs
|
|
325
|
+
# @return [AttributeSets::TupleIpAttrs]
|
|
326
|
+
def tuple_ip: () -> AttributeSets::TupleIpAttrs
|
|
1883
327
|
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
328
|
+
# conntrack l4 information
|
|
329
|
+
# @rbs return: AttributeSets::TupleProtoAttrs
|
|
330
|
+
# @return [AttributeSets::TupleProtoAttrs]
|
|
331
|
+
def tuple_proto: () -> AttributeSets::TupleProtoAttrs
|
|
1888
332
|
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
333
|
+
# conntrack zone id
|
|
334
|
+
# @rbs return: ::Integer
|
|
335
|
+
# @return [Integer]
|
|
336
|
+
def tuple_zone: () -> ::Integer
|
|
337
|
+
end
|
|
1893
338
|
|
|
1894
|
-
|
|
1895
|
-
#
|
|
1896
|
-
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1897
|
-
# @rbs return: ::Integer
|
|
1898
|
-
# @return [Integer]
|
|
1899
|
-
# @see StatusMask
|
|
1900
|
-
def status_mask: () -> ::Integer
|
|
339
|
+
include Definitions
|
|
1901
340
|
|
|
1902
|
-
#
|
|
1903
|
-
# @
|
|
1904
|
-
|
|
1905
|
-
def timestamp_event: () -> ::Integer
|
|
1906
|
-
|
|
1907
|
-
# Looks up Attribute class by name.
|
|
1908
|
-
# @rbs name: Symbol
|
|
1909
|
-
# @rbs return: Attribute
|
|
1910
|
-
# @param [Symbol] name
|
|
1911
|
-
# @return [Attribute]
|
|
1912
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
1913
|
-
|
|
1914
|
-
# Looks up Attribute class by type value.
|
|
1915
|
-
# @rbs type: Integer
|
|
1916
|
-
# @rbs return: Attribute
|
|
1917
|
-
# @param [Integer] type
|
|
1918
|
-
# @return [Attribute]
|
|
1919
|
-
def self.by_type: (Integer type) -> Attribute
|
|
341
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
342
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
343
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
1920
344
|
end
|
|
1921
345
|
|
|
1922
|
-
class
|
|
1923
|
-
|
|
1924
|
-
|
|
346
|
+
class ProtoinfoTcpAttrs < ::Nl::AttributeSet
|
|
347
|
+
module Definitions
|
|
348
|
+
# tcp connection state
|
|
349
|
+
#
|
|
350
|
+
# Known enum values are defined in {Enums::NfCtTcpState}.
|
|
351
|
+
# @rbs return: ::Integer
|
|
352
|
+
# @return [Integer]
|
|
353
|
+
def tcp_state: () -> ::Integer
|
|
354
|
+
|
|
355
|
+
# window scaling factor in original direction
|
|
356
|
+
# @rbs return: ::Integer
|
|
357
|
+
# @return [Integer]
|
|
358
|
+
def tcp_wscale_original: () -> ::Integer
|
|
359
|
+
|
|
360
|
+
# window scaling factor in reply direction
|
|
361
|
+
# @rbs return: ::Integer
|
|
362
|
+
# @return [Integer]
|
|
363
|
+
def tcp_wscale_reply: () -> ::Integer
|
|
364
|
+
|
|
365
|
+
# @rbs return: Structs::NfCtTcpFlagsMask
|
|
366
|
+
# @return [Structs::NfCtTcpFlagsMask]
|
|
367
|
+
def tcp_flags_original: () -> Structs::NfCtTcpFlagsMask
|
|
368
|
+
|
|
369
|
+
# @rbs return: Structs::NfCtTcpFlagsMask
|
|
370
|
+
# @return [Structs::NfCtTcpFlagsMask]
|
|
371
|
+
def tcp_flags_reply: () -> Structs::NfCtTcpFlagsMask
|
|
372
|
+
end
|
|
373
|
+
|
|
374
|
+
include Definitions
|
|
375
|
+
|
|
376
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
377
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
378
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
379
|
+
end
|
|
380
|
+
|
|
381
|
+
class ProtoinfoDccpAttrs < ::Nl::AttributeSet
|
|
382
|
+
module Definitions
|
|
383
|
+
# dccp connection state
|
|
384
|
+
# @rbs return: ::Integer
|
|
385
|
+
# @return [Integer]
|
|
386
|
+
def dccp_state: () -> ::Integer
|
|
387
|
+
|
|
388
|
+
# @rbs return: ::Integer
|
|
389
|
+
# @return [Integer]
|
|
390
|
+
def dccp_role: () -> ::Integer
|
|
391
|
+
|
|
392
|
+
# @rbs return: ::Integer
|
|
393
|
+
# @return [Integer]
|
|
394
|
+
def dccp_handshake_seq: () -> ::Integer
|
|
1925
395
|
end
|
|
1926
396
|
|
|
1927
|
-
|
|
1928
|
-
class Searched < Attribute
|
|
1929
|
-
TYPE: ::Integer
|
|
397
|
+
include Definitions
|
|
1930
398
|
|
|
1931
|
-
|
|
399
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
400
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
401
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
402
|
+
end
|
|
1932
403
|
|
|
1933
|
-
|
|
1934
|
-
|
|
404
|
+
class ProtoinfoSctpAttrs < ::Nl::AttributeSet
|
|
405
|
+
module Definitions
|
|
406
|
+
# sctp connection state
|
|
407
|
+
#
|
|
408
|
+
# Known enum values are defined in {Enums::NfCtSctpState}.
|
|
409
|
+
# @rbs return: ::Integer
|
|
410
|
+
# @return [Integer]
|
|
411
|
+
def sctp_state: () -> ::Integer
|
|
1935
412
|
|
|
1936
|
-
# @
|
|
1937
|
-
|
|
413
|
+
# @rbs return: ::Integer
|
|
414
|
+
# @return [Integer]
|
|
415
|
+
def vtag_original: () -> ::Integer
|
|
416
|
+
|
|
417
|
+
# @rbs return: ::Integer
|
|
418
|
+
# @return [Integer]
|
|
419
|
+
def vtag_reply: () -> ::Integer
|
|
1938
420
|
end
|
|
1939
421
|
|
|
1940
|
-
|
|
1941
|
-
TYPE: ::Integer
|
|
422
|
+
include Definitions
|
|
1942
423
|
|
|
1943
|
-
|
|
424
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
425
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
426
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
427
|
+
end
|
|
1944
428
|
|
|
1945
|
-
|
|
1946
|
-
|
|
429
|
+
class ProtoinfoAttrs < ::Nl::AttributeSet
|
|
430
|
+
module Definitions
|
|
431
|
+
# conntrack tcp state information
|
|
432
|
+
# @rbs return: AttributeSets::ProtoinfoTcpAttrs
|
|
433
|
+
# @return [AttributeSets::ProtoinfoTcpAttrs]
|
|
434
|
+
def protoinfo_tcp: () -> AttributeSets::ProtoinfoTcpAttrs
|
|
1947
435
|
|
|
1948
|
-
#
|
|
1949
|
-
|
|
1950
|
-
|
|
436
|
+
# conntrack dccp state information
|
|
437
|
+
# @rbs return: AttributeSets::ProtoinfoDccpAttrs
|
|
438
|
+
# @return [AttributeSets::ProtoinfoDccpAttrs]
|
|
439
|
+
def protoinfo_dccp: () -> AttributeSets::ProtoinfoDccpAttrs
|
|
1951
440
|
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
441
|
+
# conntrack sctp state information
|
|
442
|
+
# @rbs return: AttributeSets::ProtoinfoSctpAttrs
|
|
443
|
+
# @return [AttributeSets::ProtoinfoSctpAttrs]
|
|
444
|
+
def protoinfo_sctp: () -> AttributeSets::ProtoinfoSctpAttrs
|
|
445
|
+
end
|
|
1955
446
|
|
|
1956
|
-
|
|
447
|
+
include Definitions
|
|
1957
448
|
|
|
1958
|
-
|
|
1959
|
-
|
|
449
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
450
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
451
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
452
|
+
end
|
|
1960
453
|
|
|
1961
|
-
|
|
1962
|
-
|
|
454
|
+
class HelpAttrs < ::Nl::AttributeSet
|
|
455
|
+
module Definitions
|
|
456
|
+
# helper name
|
|
457
|
+
# @rbs return: ::String
|
|
458
|
+
# @return [String]
|
|
459
|
+
def help_name: () -> ::String
|
|
1963
460
|
end
|
|
1964
461
|
|
|
1965
|
-
|
|
1966
|
-
class Invalid < Attribute
|
|
1967
|
-
TYPE: ::Integer
|
|
462
|
+
include Definitions
|
|
1968
463
|
|
|
1969
|
-
|
|
464
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
465
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
466
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
467
|
+
end
|
|
1970
468
|
|
|
1971
|
-
|
|
1972
|
-
|
|
469
|
+
class NatProtoAttrs < ::Nl::AttributeSet
|
|
470
|
+
module Definitions
|
|
471
|
+
# @rbs return: ::Integer
|
|
472
|
+
# @return [Integer]
|
|
473
|
+
def nat_port_min: () -> ::Integer
|
|
1973
474
|
|
|
1974
|
-
# @
|
|
1975
|
-
|
|
475
|
+
# @rbs return: ::Integer
|
|
476
|
+
# @return [Integer]
|
|
477
|
+
def nat_port_max: () -> ::Integer
|
|
1976
478
|
end
|
|
1977
479
|
|
|
1978
|
-
|
|
1979
|
-
class Ignore < Attribute
|
|
1980
|
-
TYPE: ::Integer
|
|
480
|
+
include Definitions
|
|
1981
481
|
|
|
1982
|
-
|
|
482
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
483
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
484
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
485
|
+
end
|
|
1983
486
|
|
|
1984
|
-
|
|
1985
|
-
|
|
487
|
+
class NatAttrs < ::Nl::AttributeSet
|
|
488
|
+
module Definitions
|
|
489
|
+
# @rbs return: ::Integer
|
|
490
|
+
# @return [Integer]
|
|
491
|
+
def nat_v4_minip: () -> ::Integer
|
|
1986
492
|
|
|
1987
|
-
# @
|
|
1988
|
-
|
|
493
|
+
# @rbs return: ::Integer
|
|
494
|
+
# @return [Integer]
|
|
495
|
+
def nat_v4_maxip: () -> ::Integer
|
|
496
|
+
|
|
497
|
+
# @rbs return: ::String
|
|
498
|
+
# @return [String]
|
|
499
|
+
def nat_v6_minip: () -> ::String
|
|
500
|
+
|
|
501
|
+
# @rbs return: ::String
|
|
502
|
+
# @return [String]
|
|
503
|
+
def nat_v6_maxip: () -> ::String
|
|
504
|
+
|
|
505
|
+
# @rbs return: AttributeSets::NatProtoAttrs
|
|
506
|
+
# @return [AttributeSets::NatProtoAttrs]
|
|
507
|
+
def nat_proto: () -> AttributeSets::NatProtoAttrs
|
|
1989
508
|
end
|
|
1990
509
|
|
|
1991
|
-
|
|
1992
|
-
class Delete < Attribute
|
|
1993
|
-
TYPE: ::Integer
|
|
510
|
+
include Definitions
|
|
1994
511
|
|
|
1995
|
-
|
|
512
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
513
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
514
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
515
|
+
end
|
|
1996
516
|
|
|
1997
|
-
|
|
1998
|
-
|
|
517
|
+
class SeqadjAttrs < ::Nl::AttributeSet
|
|
518
|
+
module Definitions
|
|
519
|
+
# @rbs return: ::Integer
|
|
520
|
+
# @return [Integer]
|
|
521
|
+
def correction_pos: () -> ::Integer
|
|
1999
522
|
|
|
2000
|
-
# @
|
|
2001
|
-
|
|
2002
|
-
|
|
523
|
+
# @rbs return: ::Integer
|
|
524
|
+
# @return [Integer]
|
|
525
|
+
def offset_before: () -> ::Integer
|
|
2003
526
|
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
527
|
+
# @rbs return: ::Integer
|
|
528
|
+
# @return [Integer]
|
|
529
|
+
def offset_after: () -> ::Integer
|
|
530
|
+
end
|
|
2007
531
|
|
|
2008
|
-
|
|
532
|
+
include Definitions
|
|
2009
533
|
|
|
2010
|
-
|
|
2011
|
-
|
|
534
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
535
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
536
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
537
|
+
end
|
|
2012
538
|
|
|
2013
|
-
|
|
2014
|
-
|
|
539
|
+
class SecctxAttrs < ::Nl::AttributeSet
|
|
540
|
+
module Definitions
|
|
541
|
+
# @rbs return: ::String
|
|
542
|
+
# @return [String]
|
|
543
|
+
def secctx_name: () -> ::String
|
|
2015
544
|
end
|
|
2016
545
|
|
|
2017
|
-
|
|
2018
|
-
|
|
546
|
+
include Definitions
|
|
547
|
+
|
|
548
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
549
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
550
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
551
|
+
end
|
|
2019
552
|
|
|
2020
|
-
|
|
553
|
+
class SynproxyAttrs < ::Nl::AttributeSet
|
|
554
|
+
module Definitions
|
|
555
|
+
# @rbs return: ::Integer
|
|
556
|
+
# @return [Integer]
|
|
557
|
+
def isn: () -> ::Integer
|
|
2021
558
|
|
|
2022
|
-
# @
|
|
2023
|
-
|
|
559
|
+
# @rbs return: ::Integer
|
|
560
|
+
# @return [Integer]
|
|
561
|
+
def its: () -> ::Integer
|
|
2024
562
|
|
|
2025
|
-
# @
|
|
2026
|
-
|
|
563
|
+
# @rbs return: ::Integer
|
|
564
|
+
# @return [Integer]
|
|
565
|
+
def tsoff: () -> ::Integer
|
|
2027
566
|
end
|
|
2028
567
|
|
|
2029
|
-
|
|
2030
|
-
TYPE: ::Integer
|
|
568
|
+
include Definitions
|
|
2031
569
|
|
|
2032
|
-
|
|
570
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
571
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
572
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
573
|
+
end
|
|
2033
574
|
|
|
2034
|
-
|
|
2035
|
-
|
|
575
|
+
class FilterAttrs < ::Nl::AttributeSet
|
|
576
|
+
module Definitions
|
|
577
|
+
# bitmask of tuple fields to filter on, original direction
|
|
578
|
+
# @rbs return: ::Integer
|
|
579
|
+
# @return [Integer]
|
|
580
|
+
def orig_flags: () -> ::Integer
|
|
2036
581
|
|
|
2037
|
-
#
|
|
2038
|
-
|
|
582
|
+
# bitmask of tuple fields to filter on, reply direction
|
|
583
|
+
# @rbs return: ::Integer
|
|
584
|
+
# @return [Integer]
|
|
585
|
+
def reply_flags: () -> ::Integer
|
|
2039
586
|
end
|
|
2040
587
|
|
|
2041
|
-
|
|
2042
|
-
TYPE: ::Integer
|
|
588
|
+
include Definitions
|
|
2043
589
|
|
|
2044
|
-
|
|
590
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
591
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
592
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
593
|
+
end
|
|
2045
594
|
|
|
2046
|
-
|
|
2047
|
-
|
|
595
|
+
class ConntrackAttrs < ::Nl::AttributeSet
|
|
596
|
+
module Definitions
|
|
597
|
+
# conntrack l3+l4 protocol information, original direction
|
|
598
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
599
|
+
# @return [AttributeSets::TupleAttrs]
|
|
600
|
+
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
601
|
+
|
|
602
|
+
# conntrack l3+l4 protocol information, reply direction
|
|
603
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
604
|
+
# @return [AttributeSets::TupleAttrs]
|
|
605
|
+
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
606
|
+
|
|
607
|
+
# conntrack flag bits
|
|
608
|
+
#
|
|
609
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
610
|
+
# @rbs return: ::Integer
|
|
611
|
+
# @return [Integer]
|
|
612
|
+
def status: () -> ::Integer
|
|
613
|
+
|
|
614
|
+
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
615
|
+
# @return [AttributeSets::ProtoinfoAttrs]
|
|
616
|
+
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
617
|
+
|
|
618
|
+
# @rbs return: AttributeSets::HelpAttrs
|
|
619
|
+
# @return [AttributeSets::HelpAttrs]
|
|
620
|
+
def help: () -> AttributeSets::HelpAttrs
|
|
621
|
+
|
|
622
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
623
|
+
# @return [AttributeSets::NatAttrs]
|
|
624
|
+
def nat_src: () -> AttributeSets::NatAttrs
|
|
625
|
+
|
|
626
|
+
# @rbs return: ::Integer
|
|
627
|
+
# @return [Integer]
|
|
628
|
+
def timeout: () -> ::Integer
|
|
629
|
+
|
|
630
|
+
# @rbs return: ::Integer
|
|
631
|
+
# @return [Integer]
|
|
632
|
+
def mark: () -> ::Integer
|
|
633
|
+
|
|
634
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
635
|
+
# @return [AttributeSets::CounterAttrs]
|
|
636
|
+
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
637
|
+
|
|
638
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
639
|
+
# @return [AttributeSets::CounterAttrs]
|
|
640
|
+
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
641
|
+
|
|
642
|
+
# @rbs return: ::Integer
|
|
643
|
+
# @return [Integer]
|
|
644
|
+
def use: () -> ::Integer
|
|
645
|
+
|
|
646
|
+
# @rbs return: ::Integer
|
|
647
|
+
# @return [Integer]
|
|
648
|
+
def id: () -> ::Integer
|
|
649
|
+
|
|
650
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
651
|
+
# @return [AttributeSets::NatAttrs]
|
|
652
|
+
def nat_dst: () -> AttributeSets::NatAttrs
|
|
653
|
+
|
|
654
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
655
|
+
# @return [AttributeSets::TupleAttrs]
|
|
656
|
+
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
657
|
+
|
|
658
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
659
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
660
|
+
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
661
|
+
|
|
662
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
663
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
664
|
+
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
665
|
+
|
|
666
|
+
# obsolete
|
|
667
|
+
# @rbs return: ::String
|
|
668
|
+
# @return [String]
|
|
669
|
+
def secmark: () -> ::String
|
|
670
|
+
|
|
671
|
+
# conntrack zone id
|
|
672
|
+
# @rbs return: ::Integer
|
|
673
|
+
# @return [Integer]
|
|
674
|
+
def zone: () -> ::Integer
|
|
675
|
+
|
|
676
|
+
# @rbs return: AttributeSets::SecctxAttrs
|
|
677
|
+
# @return [AttributeSets::SecctxAttrs]
|
|
678
|
+
def secctx: () -> AttributeSets::SecctxAttrs
|
|
679
|
+
|
|
680
|
+
# @rbs return: ::Integer
|
|
681
|
+
# @return [Integer]
|
|
682
|
+
def timestamp: () -> ::Integer
|
|
683
|
+
|
|
684
|
+
# @rbs return: ::Integer
|
|
685
|
+
# @return [Integer]
|
|
686
|
+
def mark_mask: () -> ::Integer
|
|
687
|
+
|
|
688
|
+
# @rbs return: ::String
|
|
689
|
+
# @return [String]
|
|
690
|
+
def labels: () -> ::String
|
|
691
|
+
|
|
692
|
+
# @rbs return: ::String
|
|
693
|
+
# @return [String]
|
|
694
|
+
def labels_mask: () -> ::String
|
|
695
|
+
|
|
696
|
+
# @rbs return: AttributeSets::SynproxyAttrs
|
|
697
|
+
# @return [AttributeSets::SynproxyAttrs]
|
|
698
|
+
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
699
|
+
|
|
700
|
+
# @rbs return: AttributeSets::FilterAttrs
|
|
701
|
+
# @return [AttributeSets::FilterAttrs]
|
|
702
|
+
def filter: () -> AttributeSets::FilterAttrs
|
|
703
|
+
|
|
704
|
+
# conntrack flag bits to change
|
|
705
|
+
#
|
|
706
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
707
|
+
# @rbs return: ::Integer
|
|
708
|
+
# @return [Integer]
|
|
709
|
+
def status_mask: () -> ::Integer
|
|
2048
710
|
|
|
2049
|
-
# @
|
|
2050
|
-
|
|
711
|
+
# @rbs return: ::Integer
|
|
712
|
+
# @return [Integer]
|
|
713
|
+
def timestamp_event: () -> ::Integer
|
|
2051
714
|
end
|
|
2052
715
|
|
|
2053
|
-
|
|
2054
|
-
|
|
716
|
+
include Definitions
|
|
717
|
+
|
|
718
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
719
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
720
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
721
|
+
end
|
|
2055
722
|
|
|
2056
|
-
|
|
723
|
+
class ConntrackStatsAttrs < ::Nl::AttributeSet
|
|
724
|
+
module Definitions
|
|
725
|
+
# obsolete
|
|
726
|
+
# @rbs return: ::Integer
|
|
727
|
+
# @return [Integer]
|
|
728
|
+
def searched: () -> ::Integer
|
|
729
|
+
|
|
730
|
+
# @rbs return: ::Integer
|
|
731
|
+
# @return [Integer]
|
|
732
|
+
def found: () -> ::Integer
|
|
733
|
+
|
|
734
|
+
# obsolete
|
|
735
|
+
# @rbs return: ::Integer
|
|
736
|
+
# @return [Integer]
|
|
737
|
+
def new: () -> ::Integer
|
|
738
|
+
|
|
739
|
+
# obsolete
|
|
740
|
+
# @rbs return: ::Integer
|
|
741
|
+
# @return [Integer]
|
|
742
|
+
def invalid: () -> ::Integer
|
|
743
|
+
|
|
744
|
+
# obsolete
|
|
745
|
+
# @rbs return: ::Integer
|
|
746
|
+
# @return [Integer]
|
|
747
|
+
def ignore: () -> ::Integer
|
|
748
|
+
|
|
749
|
+
# obsolete
|
|
750
|
+
# @rbs return: ::Integer
|
|
751
|
+
# @return [Integer]
|
|
752
|
+
def delete: () -> ::Integer
|
|
753
|
+
|
|
754
|
+
# obsolete
|
|
755
|
+
# @rbs return: ::Integer
|
|
756
|
+
# @return [Integer]
|
|
757
|
+
def delete_list: () -> ::Integer
|
|
758
|
+
|
|
759
|
+
# @rbs return: ::Integer
|
|
760
|
+
# @return [Integer]
|
|
761
|
+
def insert: () -> ::Integer
|
|
762
|
+
|
|
763
|
+
# @rbs return: ::Integer
|
|
764
|
+
# @return [Integer]
|
|
765
|
+
def insert_failed: () -> ::Integer
|
|
766
|
+
|
|
767
|
+
# @rbs return: ::Integer
|
|
768
|
+
# @return [Integer]
|
|
769
|
+
def drop: () -> ::Integer
|
|
770
|
+
|
|
771
|
+
# @rbs return: ::Integer
|
|
772
|
+
# @return [Integer]
|
|
773
|
+
def early_drop: () -> ::Integer
|
|
774
|
+
|
|
775
|
+
# @rbs return: ::Integer
|
|
776
|
+
# @return [Integer]
|
|
777
|
+
def error: () -> ::Integer
|
|
778
|
+
|
|
779
|
+
# @rbs return: ::Integer
|
|
780
|
+
# @return [Integer]
|
|
781
|
+
def search_restart: () -> ::Integer
|
|
782
|
+
|
|
783
|
+
# @rbs return: ::Integer
|
|
784
|
+
# @return [Integer]
|
|
785
|
+
def clash_resolve: () -> ::Integer
|
|
786
|
+
|
|
787
|
+
# @rbs return: ::Integer
|
|
788
|
+
# @return [Integer]
|
|
789
|
+
def chain_toolong: () -> ::Integer
|
|
790
|
+
end
|
|
791
|
+
|
|
792
|
+
include Definitions
|
|
793
|
+
|
|
794
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
795
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
796
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
797
|
+
end
|
|
798
|
+
end
|
|
2057
799
|
|
|
800
|
+
module AttributeSets
|
|
801
|
+
class CounterAttrs
|
|
802
|
+
module Definitions
|
|
2058
803
|
# @private
|
|
2059
|
-
|
|
804
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2060
805
|
|
|
2061
806
|
# @private
|
|
2062
|
-
|
|
807
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
2063
808
|
end
|
|
809
|
+
end
|
|
2064
810
|
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
NAME: ::Symbol
|
|
2069
|
-
|
|
811
|
+
class TupleProtoAttrs
|
|
812
|
+
module Definitions
|
|
2070
813
|
# @private
|
|
2071
|
-
|
|
814
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2072
815
|
|
|
2073
816
|
# @private
|
|
2074
|
-
|
|
817
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
2075
818
|
end
|
|
819
|
+
end
|
|
2076
820
|
|
|
2077
|
-
|
|
2078
|
-
|
|
821
|
+
class TupleIpAttrs
|
|
822
|
+
module Definitions
|
|
823
|
+
# @private
|
|
824
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2079
825
|
|
|
2080
|
-
|
|
826
|
+
# @private
|
|
827
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
828
|
+
end
|
|
829
|
+
end
|
|
2081
830
|
|
|
831
|
+
class TupleAttrs
|
|
832
|
+
module Definitions
|
|
2082
833
|
# @private
|
|
2083
|
-
|
|
834
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2084
835
|
|
|
2085
836
|
# @private
|
|
2086
|
-
|
|
837
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
2087
838
|
end
|
|
839
|
+
end
|
|
2088
840
|
|
|
2089
|
-
|
|
2090
|
-
|
|
841
|
+
class ProtoinfoTcpAttrs
|
|
842
|
+
module Definitions
|
|
843
|
+
# @private
|
|
844
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2091
845
|
|
|
2092
|
-
|
|
846
|
+
# @private
|
|
847
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
848
|
+
end
|
|
849
|
+
end
|
|
2093
850
|
|
|
851
|
+
class ProtoinfoDccpAttrs
|
|
852
|
+
module Definitions
|
|
2094
853
|
# @private
|
|
2095
|
-
|
|
854
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2096
855
|
|
|
2097
856
|
# @private
|
|
2098
|
-
|
|
857
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
2099
858
|
end
|
|
859
|
+
end
|
|
2100
860
|
|
|
2101
|
-
|
|
2102
|
-
|
|
861
|
+
class ProtoinfoSctpAttrs
|
|
862
|
+
module Definitions
|
|
863
|
+
# @private
|
|
864
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2103
865
|
|
|
2104
|
-
|
|
866
|
+
# @private
|
|
867
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
868
|
+
end
|
|
869
|
+
end
|
|
2105
870
|
|
|
871
|
+
class ProtoinfoAttrs
|
|
872
|
+
module Definitions
|
|
2106
873
|
# @private
|
|
2107
|
-
|
|
874
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2108
875
|
|
|
2109
876
|
# @private
|
|
2110
|
-
|
|
877
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
2111
878
|
end
|
|
879
|
+
end
|
|
2112
880
|
|
|
2113
|
-
|
|
2114
|
-
|
|
881
|
+
class HelpAttrs
|
|
882
|
+
module Definitions
|
|
883
|
+
# @private
|
|
884
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2115
885
|
|
|
2116
|
-
|
|
2117
|
-
|
|
886
|
+
# @private
|
|
887
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
888
|
+
end
|
|
889
|
+
end
|
|
2118
890
|
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
def searched: () -> ::Integer
|
|
891
|
+
class NatProtoAttrs
|
|
892
|
+
module Definitions
|
|
893
|
+
# @private
|
|
894
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2124
895
|
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
896
|
+
# @private
|
|
897
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
898
|
+
end
|
|
899
|
+
end
|
|
2129
900
|
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
def new: () -> ::Integer
|
|
901
|
+
class NatAttrs
|
|
902
|
+
module Definitions
|
|
903
|
+
# @private
|
|
904
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2135
905
|
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
def invalid: () -> ::Integer
|
|
906
|
+
# @private
|
|
907
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
908
|
+
end
|
|
909
|
+
end
|
|
2141
910
|
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
def ignore: () -> ::Integer
|
|
911
|
+
class SeqadjAttrs
|
|
912
|
+
module Definitions
|
|
913
|
+
# @private
|
|
914
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2147
915
|
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
def delete: () -> ::Integer
|
|
916
|
+
# @private
|
|
917
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
918
|
+
end
|
|
919
|
+
end
|
|
2153
920
|
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
def delete_list: () -> ::Integer
|
|
921
|
+
class SecctxAttrs
|
|
922
|
+
module Definitions
|
|
923
|
+
# @private
|
|
924
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2159
925
|
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
926
|
+
# @private
|
|
927
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
928
|
+
end
|
|
929
|
+
end
|
|
2164
930
|
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
931
|
+
class SynproxyAttrs
|
|
932
|
+
module Definitions
|
|
933
|
+
# @private
|
|
934
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2169
935
|
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
936
|
+
# @private
|
|
937
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
938
|
+
end
|
|
939
|
+
end
|
|
2174
940
|
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
941
|
+
class FilterAttrs
|
|
942
|
+
module Definitions
|
|
943
|
+
# @private
|
|
944
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2179
945
|
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
946
|
+
# @private
|
|
947
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
948
|
+
end
|
|
949
|
+
end
|
|
2184
950
|
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
951
|
+
class ConntrackAttrs
|
|
952
|
+
module Definitions
|
|
953
|
+
# @private
|
|
954
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2189
955
|
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
956
|
+
# @private
|
|
957
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
958
|
+
end
|
|
959
|
+
end
|
|
2194
960
|
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
961
|
+
class ConntrackStatsAttrs
|
|
962
|
+
module Definitions
|
|
963
|
+
# @private
|
|
964
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
2199
965
|
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
# @param [Symbol] name
|
|
2204
|
-
# @return [Attribute]
|
|
2205
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
2206
|
-
|
|
2207
|
-
# Looks up Attribute class by type value.
|
|
2208
|
-
# @rbs type: Integer
|
|
2209
|
-
# @rbs return: Attribute
|
|
2210
|
-
# @param [Integer] type
|
|
2211
|
-
# @return [Attribute]
|
|
2212
|
-
def self.by_type: (Integer type) -> Attribute
|
|
966
|
+
# @private
|
|
967
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
968
|
+
end
|
|
2213
969
|
end
|
|
2214
970
|
end
|
|
2215
971
|
|
|
2216
972
|
module Messages
|
|
2217
973
|
# get / dump entries
|
|
2218
|
-
class DoGetRequest < ::Nl::
|
|
974
|
+
class DoGetRequest < ::Nl::Message
|
|
2219
975
|
TYPE: ::Integer
|
|
2220
976
|
|
|
2221
977
|
FIXED_HEADER: untyped
|
|
@@ -2224,6 +980,19 @@ module Nl
|
|
|
2224
980
|
|
|
2225
981
|
ATTRIBUTES: untyped
|
|
2226
982
|
|
|
983
|
+
include ATTRIBUTE_SET::Definitions
|
|
984
|
+
|
|
985
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
986
|
+
|
|
987
|
+
# @private
|
|
988
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
989
|
+
|
|
990
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
991
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
992
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
993
|
+
|
|
994
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
995
|
+
|
|
2227
996
|
# @rbs return: ::Integer
|
|
2228
997
|
# @return [Integer]
|
|
2229
998
|
def nfgen_family: () -> ::Integer
|
|
@@ -2239,24 +1008,21 @@ module Nl
|
|
|
2239
1008
|
# conntrack l3+l4 protocol information, original direction
|
|
2240
1009
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2241
1010
|
# @return [AttributeSets::TupleAttrs]
|
|
2242
|
-
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2243
1011
|
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2244
1012
|
|
|
2245
1013
|
# conntrack l3+l4 protocol information, reply direction
|
|
2246
1014
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2247
1015
|
# @return [AttributeSets::TupleAttrs]
|
|
2248
|
-
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2249
1016
|
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2250
1017
|
|
|
2251
1018
|
# conntrack zone id
|
|
2252
1019
|
# @rbs return: ::Integer
|
|
2253
1020
|
# @return [Integer]
|
|
2254
|
-
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2255
1021
|
def zone: () -> ::Integer
|
|
2256
1022
|
end
|
|
2257
1023
|
|
|
2258
1024
|
# get / dump entries
|
|
2259
|
-
class DoGetReply < ::Nl::
|
|
1025
|
+
class DoGetReply < ::Nl::Message
|
|
2260
1026
|
TYPE: ::Integer
|
|
2261
1027
|
|
|
2262
1028
|
FIXED_HEADER: untyped
|
|
@@ -2265,6 +1031,19 @@ module Nl
|
|
|
2265
1031
|
|
|
2266
1032
|
ATTRIBUTES: untyped
|
|
2267
1033
|
|
|
1034
|
+
include ATTRIBUTE_SET::Definitions
|
|
1035
|
+
|
|
1036
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
1037
|
+
|
|
1038
|
+
# @private
|
|
1039
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1040
|
+
|
|
1041
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1042
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1043
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1044
|
+
|
|
1045
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1046
|
+
|
|
2268
1047
|
# @rbs return: ::Integer
|
|
2269
1048
|
# @return [Integer]
|
|
2270
1049
|
def nfgen_family: () -> ::Integer
|
|
@@ -2280,13 +1059,11 @@ module Nl
|
|
|
2280
1059
|
# conntrack l3+l4 protocol information, original direction
|
|
2281
1060
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2282
1061
|
# @return [AttributeSets::TupleAttrs]
|
|
2283
|
-
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2284
1062
|
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2285
1063
|
|
|
2286
1064
|
# conntrack l3+l4 protocol information, reply direction
|
|
2287
1065
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2288
1066
|
# @return [AttributeSets::TupleAttrs]
|
|
2289
|
-
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2290
1067
|
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2291
1068
|
|
|
2292
1069
|
# conntrack flag bits
|
|
@@ -2294,98 +1071,80 @@ module Nl
|
|
|
2294
1071
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2295
1072
|
# @rbs return: ::Integer
|
|
2296
1073
|
# @return [Integer]
|
|
2297
|
-
# @see AttributeSets::ConntrackAttrs::Status
|
|
2298
1074
|
def status: () -> ::Integer
|
|
2299
1075
|
|
|
2300
1076
|
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
2301
1077
|
# @return [AttributeSets::ProtoinfoAttrs]
|
|
2302
|
-
# @see AttributeSets::ConntrackAttrs::Protoinfo
|
|
2303
1078
|
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
2304
1079
|
|
|
2305
1080
|
# @rbs return: AttributeSets::HelpAttrs
|
|
2306
1081
|
# @return [AttributeSets::HelpAttrs]
|
|
2307
|
-
# @see AttributeSets::ConntrackAttrs::Help
|
|
2308
1082
|
def help: () -> AttributeSets::HelpAttrs
|
|
2309
1083
|
|
|
2310
1084
|
# @rbs return: AttributeSets::NatAttrs
|
|
2311
1085
|
# @return [AttributeSets::NatAttrs]
|
|
2312
|
-
# @see AttributeSets::ConntrackAttrs::NatSrc
|
|
2313
1086
|
def nat_src: () -> AttributeSets::NatAttrs
|
|
2314
1087
|
|
|
2315
1088
|
# @rbs return: ::Integer
|
|
2316
1089
|
# @return [Integer]
|
|
2317
|
-
# @see AttributeSets::ConntrackAttrs::Timeout
|
|
2318
1090
|
def timeout: () -> ::Integer
|
|
2319
1091
|
|
|
2320
1092
|
# @rbs return: ::Integer
|
|
2321
1093
|
# @return [Integer]
|
|
2322
|
-
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2323
1094
|
def mark: () -> ::Integer
|
|
2324
1095
|
|
|
2325
1096
|
# @rbs return: AttributeSets::CounterAttrs
|
|
2326
1097
|
# @return [AttributeSets::CounterAttrs]
|
|
2327
|
-
# @see AttributeSets::ConntrackAttrs::CountersOrig
|
|
2328
1098
|
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
2329
1099
|
|
|
2330
1100
|
# @rbs return: AttributeSets::CounterAttrs
|
|
2331
1101
|
# @return [AttributeSets::CounterAttrs]
|
|
2332
|
-
# @see AttributeSets::ConntrackAttrs::CountersReply
|
|
2333
1102
|
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
2334
1103
|
|
|
2335
1104
|
# @rbs return: ::Integer
|
|
2336
1105
|
# @return [Integer]
|
|
2337
|
-
# @see AttributeSets::ConntrackAttrs::Use
|
|
2338
1106
|
def use: () -> ::Integer
|
|
2339
1107
|
|
|
2340
1108
|
# @rbs return: ::Integer
|
|
2341
1109
|
# @return [Integer]
|
|
2342
|
-
# @see AttributeSets::ConntrackAttrs::Id
|
|
2343
1110
|
def id: () -> ::Integer
|
|
2344
1111
|
|
|
2345
1112
|
# @rbs return: AttributeSets::NatAttrs
|
|
2346
1113
|
# @return [AttributeSets::NatAttrs]
|
|
2347
|
-
# @see AttributeSets::ConntrackAttrs::NatDst
|
|
2348
1114
|
def nat_dst: () -> AttributeSets::NatAttrs
|
|
2349
1115
|
|
|
2350
1116
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2351
1117
|
# @return [AttributeSets::TupleAttrs]
|
|
2352
|
-
# @see AttributeSets::ConntrackAttrs::TupleMaster
|
|
2353
1118
|
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
2354
1119
|
|
|
2355
1120
|
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2356
1121
|
# @return [AttributeSets::SeqadjAttrs]
|
|
2357
|
-
# @see AttributeSets::ConntrackAttrs::SeqAdjOrig
|
|
2358
1122
|
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
2359
1123
|
|
|
2360
1124
|
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2361
1125
|
# @return [AttributeSets::SeqadjAttrs]
|
|
2362
|
-
# @see AttributeSets::ConntrackAttrs::SeqAdjReply
|
|
2363
1126
|
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
2364
1127
|
|
|
2365
1128
|
# conntrack zone id
|
|
2366
1129
|
# @rbs return: ::Integer
|
|
2367
1130
|
# @return [Integer]
|
|
2368
|
-
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2369
1131
|
def zone: () -> ::Integer
|
|
2370
1132
|
|
|
2371
1133
|
# @rbs return: AttributeSets::SecctxAttrs
|
|
2372
1134
|
# @return [AttributeSets::SecctxAttrs]
|
|
2373
|
-
# @see AttributeSets::ConntrackAttrs::Secctx
|
|
2374
1135
|
def secctx: () -> AttributeSets::SecctxAttrs
|
|
2375
1136
|
|
|
2376
1137
|
# @rbs return: ::String
|
|
2377
1138
|
# @return [String]
|
|
2378
|
-
# @see AttributeSets::ConntrackAttrs::Labels
|
|
2379
1139
|
def labels: () -> ::String
|
|
2380
1140
|
|
|
2381
1141
|
# @rbs return: AttributeSets::SynproxyAttrs
|
|
2382
1142
|
# @return [AttributeSets::SynproxyAttrs]
|
|
2383
|
-
# @see AttributeSets::ConntrackAttrs::Synproxy
|
|
2384
1143
|
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
2385
1144
|
end
|
|
2386
1145
|
|
|
2387
1146
|
# get / dump entries
|
|
2388
|
-
class DumpGetRequest < ::Nl::
|
|
1147
|
+
class DumpGetRequest < ::Nl::Message
|
|
2389
1148
|
TYPE: ::Integer
|
|
2390
1149
|
|
|
2391
1150
|
FIXED_HEADER: untyped
|
|
@@ -2394,6 +1153,19 @@ module Nl
|
|
|
2394
1153
|
|
|
2395
1154
|
ATTRIBUTES: untyped
|
|
2396
1155
|
|
|
1156
|
+
include ATTRIBUTE_SET::Definitions
|
|
1157
|
+
|
|
1158
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
1159
|
+
|
|
1160
|
+
# @private
|
|
1161
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1162
|
+
|
|
1163
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1164
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1165
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1166
|
+
|
|
1167
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1168
|
+
|
|
2397
1169
|
# @rbs return: ::Integer
|
|
2398
1170
|
# @return [Integer]
|
|
2399
1171
|
def nfgen_family: () -> ::Integer
|
|
@@ -2406,33 +1178,50 @@ module Nl
|
|
|
2406
1178
|
# @return [Integer]
|
|
2407
1179
|
def res_id: () -> ::Integer
|
|
2408
1180
|
|
|
1181
|
+
# conntrack l3+l4 protocol information, original direction
|
|
1182
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
1183
|
+
# @return [AttributeSets::TupleAttrs]
|
|
1184
|
+
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
1185
|
+
|
|
1186
|
+
# conntrack l3+l4 protocol information, reply direction
|
|
1187
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
1188
|
+
# @return [AttributeSets::TupleAttrs]
|
|
1189
|
+
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
1190
|
+
|
|
2409
1191
|
# conntrack flag bits
|
|
2410
1192
|
#
|
|
2411
1193
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2412
1194
|
# @rbs return: ::Integer
|
|
2413
1195
|
# @return [Integer]
|
|
2414
|
-
# @see AttributeSets::ConntrackAttrs::Status
|
|
2415
1196
|
def status: () -> ::Integer
|
|
2416
1197
|
|
|
2417
1198
|
# @rbs return: ::Integer
|
|
2418
1199
|
# @return [Integer]
|
|
2419
|
-
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2420
1200
|
def mark: () -> ::Integer
|
|
2421
1201
|
|
|
2422
1202
|
# conntrack zone id
|
|
2423
1203
|
# @rbs return: ::Integer
|
|
2424
1204
|
# @return [Integer]
|
|
2425
|
-
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2426
1205
|
def zone: () -> ::Integer
|
|
2427
1206
|
|
|
2428
|
-
# @rbs return:
|
|
2429
|
-
# @return [
|
|
2430
|
-
|
|
2431
|
-
|
|
1207
|
+
# @rbs return: ::Integer
|
|
1208
|
+
# @return [Integer]
|
|
1209
|
+
def mark_mask: () -> ::Integer
|
|
1210
|
+
|
|
1211
|
+
# @rbs return: AttributeSets::FilterAttrs
|
|
1212
|
+
# @return [AttributeSets::FilterAttrs]
|
|
1213
|
+
def filter: () -> AttributeSets::FilterAttrs
|
|
1214
|
+
|
|
1215
|
+
# conntrack flag bits to change
|
|
1216
|
+
#
|
|
1217
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1218
|
+
# @rbs return: ::Integer
|
|
1219
|
+
# @return [Integer]
|
|
1220
|
+
def status_mask: () -> ::Integer
|
|
2432
1221
|
end
|
|
2433
1222
|
|
|
2434
1223
|
# get / dump entries
|
|
2435
|
-
class DumpGetReply < ::Nl::
|
|
1224
|
+
class DumpGetReply < ::Nl::Message
|
|
2436
1225
|
TYPE: ::Integer
|
|
2437
1226
|
|
|
2438
1227
|
FIXED_HEADER: untyped
|
|
@@ -2441,6 +1230,19 @@ module Nl
|
|
|
2441
1230
|
|
|
2442
1231
|
ATTRIBUTES: untyped
|
|
2443
1232
|
|
|
1233
|
+
include ATTRIBUTE_SET::Definitions
|
|
1234
|
+
|
|
1235
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
1236
|
+
|
|
1237
|
+
# @private
|
|
1238
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1239
|
+
|
|
1240
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1241
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1242
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1243
|
+
|
|
1244
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1245
|
+
|
|
2444
1246
|
# @rbs return: ::Integer
|
|
2445
1247
|
# @return [Integer]
|
|
2446
1248
|
def nfgen_family: () -> ::Integer
|
|
@@ -2456,13 +1258,11 @@ module Nl
|
|
|
2456
1258
|
# conntrack l3+l4 protocol information, original direction
|
|
2457
1259
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2458
1260
|
# @return [AttributeSets::TupleAttrs]
|
|
2459
|
-
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2460
1261
|
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2461
1262
|
|
|
2462
1263
|
# conntrack l3+l4 protocol information, reply direction
|
|
2463
1264
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2464
1265
|
# @return [AttributeSets::TupleAttrs]
|
|
2465
|
-
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2466
1266
|
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2467
1267
|
|
|
2468
1268
|
# conntrack flag bits
|
|
@@ -2470,98 +1270,80 @@ module Nl
|
|
|
2470
1270
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2471
1271
|
# @rbs return: ::Integer
|
|
2472
1272
|
# @return [Integer]
|
|
2473
|
-
# @see AttributeSets::ConntrackAttrs::Status
|
|
2474
1273
|
def status: () -> ::Integer
|
|
2475
1274
|
|
|
2476
1275
|
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
2477
1276
|
# @return [AttributeSets::ProtoinfoAttrs]
|
|
2478
|
-
# @see AttributeSets::ConntrackAttrs::Protoinfo
|
|
2479
1277
|
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
2480
1278
|
|
|
2481
1279
|
# @rbs return: AttributeSets::HelpAttrs
|
|
2482
1280
|
# @return [AttributeSets::HelpAttrs]
|
|
2483
|
-
# @see AttributeSets::ConntrackAttrs::Help
|
|
2484
1281
|
def help: () -> AttributeSets::HelpAttrs
|
|
2485
1282
|
|
|
2486
1283
|
# @rbs return: AttributeSets::NatAttrs
|
|
2487
1284
|
# @return [AttributeSets::NatAttrs]
|
|
2488
|
-
# @see AttributeSets::ConntrackAttrs::NatSrc
|
|
2489
1285
|
def nat_src: () -> AttributeSets::NatAttrs
|
|
2490
1286
|
|
|
2491
1287
|
# @rbs return: ::Integer
|
|
2492
1288
|
# @return [Integer]
|
|
2493
|
-
# @see AttributeSets::ConntrackAttrs::Timeout
|
|
2494
1289
|
def timeout: () -> ::Integer
|
|
2495
1290
|
|
|
2496
1291
|
# @rbs return: ::Integer
|
|
2497
1292
|
# @return [Integer]
|
|
2498
|
-
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2499
1293
|
def mark: () -> ::Integer
|
|
2500
1294
|
|
|
2501
1295
|
# @rbs return: AttributeSets::CounterAttrs
|
|
2502
1296
|
# @return [AttributeSets::CounterAttrs]
|
|
2503
|
-
# @see AttributeSets::ConntrackAttrs::CountersOrig
|
|
2504
1297
|
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
2505
1298
|
|
|
2506
1299
|
# @rbs return: AttributeSets::CounterAttrs
|
|
2507
1300
|
# @return [AttributeSets::CounterAttrs]
|
|
2508
|
-
# @see AttributeSets::ConntrackAttrs::CountersReply
|
|
2509
1301
|
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
2510
1302
|
|
|
2511
1303
|
# @rbs return: ::Integer
|
|
2512
1304
|
# @return [Integer]
|
|
2513
|
-
# @see AttributeSets::ConntrackAttrs::Use
|
|
2514
1305
|
def use: () -> ::Integer
|
|
2515
1306
|
|
|
2516
1307
|
# @rbs return: ::Integer
|
|
2517
1308
|
# @return [Integer]
|
|
2518
|
-
# @see AttributeSets::ConntrackAttrs::Id
|
|
2519
1309
|
def id: () -> ::Integer
|
|
2520
1310
|
|
|
2521
1311
|
# @rbs return: AttributeSets::NatAttrs
|
|
2522
1312
|
# @return [AttributeSets::NatAttrs]
|
|
2523
|
-
# @see AttributeSets::ConntrackAttrs::NatDst
|
|
2524
1313
|
def nat_dst: () -> AttributeSets::NatAttrs
|
|
2525
1314
|
|
|
2526
1315
|
# @rbs return: AttributeSets::TupleAttrs
|
|
2527
1316
|
# @return [AttributeSets::TupleAttrs]
|
|
2528
|
-
# @see AttributeSets::ConntrackAttrs::TupleMaster
|
|
2529
1317
|
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
2530
1318
|
|
|
2531
1319
|
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2532
1320
|
# @return [AttributeSets::SeqadjAttrs]
|
|
2533
|
-
# @see AttributeSets::ConntrackAttrs::SeqAdjOrig
|
|
2534
1321
|
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
2535
1322
|
|
|
2536
1323
|
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2537
1324
|
# @return [AttributeSets::SeqadjAttrs]
|
|
2538
|
-
# @see AttributeSets::ConntrackAttrs::SeqAdjReply
|
|
2539
1325
|
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
2540
1326
|
|
|
2541
1327
|
# conntrack zone id
|
|
2542
1328
|
# @rbs return: ::Integer
|
|
2543
1329
|
# @return [Integer]
|
|
2544
|
-
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2545
1330
|
def zone: () -> ::Integer
|
|
2546
1331
|
|
|
2547
1332
|
# @rbs return: AttributeSets::SecctxAttrs
|
|
2548
1333
|
# @return [AttributeSets::SecctxAttrs]
|
|
2549
|
-
# @see AttributeSets::ConntrackAttrs::Secctx
|
|
2550
1334
|
def secctx: () -> AttributeSets::SecctxAttrs
|
|
2551
1335
|
|
|
2552
1336
|
# @rbs return: ::String
|
|
2553
1337
|
# @return [String]
|
|
2554
|
-
# @see AttributeSets::ConntrackAttrs::Labels
|
|
2555
1338
|
def labels: () -> ::String
|
|
2556
1339
|
|
|
2557
1340
|
# @rbs return: AttributeSets::SynproxyAttrs
|
|
2558
1341
|
# @return [AttributeSets::SynproxyAttrs]
|
|
2559
|
-
# @see AttributeSets::ConntrackAttrs::Synproxy
|
|
2560
1342
|
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
2561
1343
|
end
|
|
2562
1344
|
|
|
2563
1345
|
# dump pcpu conntrack stats
|
|
2564
|
-
class DumpGetStatsRequest < ::Nl::
|
|
1346
|
+
class DumpGetStatsRequest < ::Nl::Message
|
|
2565
1347
|
TYPE: ::Integer
|
|
2566
1348
|
|
|
2567
1349
|
FIXED_HEADER: untyped
|
|
@@ -2570,6 +1352,19 @@ module Nl
|
|
|
2570
1352
|
|
|
2571
1353
|
ATTRIBUTES: untyped
|
|
2572
1354
|
|
|
1355
|
+
include ATTRIBUTE_SET::Definitions
|
|
1356
|
+
|
|
1357
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
1358
|
+
|
|
1359
|
+
# @private
|
|
1360
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1361
|
+
|
|
1362
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1363
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1364
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1365
|
+
|
|
1366
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1367
|
+
|
|
2573
1368
|
# @rbs return: ::Integer
|
|
2574
1369
|
# @return [Integer]
|
|
2575
1370
|
def nfgen_family: () -> ::Integer
|
|
@@ -2584,7 +1379,7 @@ module Nl
|
|
|
2584
1379
|
end
|
|
2585
1380
|
|
|
2586
1381
|
# dump pcpu conntrack stats
|
|
2587
|
-
class DumpGetStatsReply < ::Nl::
|
|
1382
|
+
class DumpGetStatsReply < ::Nl::Message
|
|
2588
1383
|
TYPE: ::Integer
|
|
2589
1384
|
|
|
2590
1385
|
FIXED_HEADER: untyped
|
|
@@ -2593,6 +1388,19 @@ module Nl
|
|
|
2593
1388
|
|
|
2594
1389
|
ATTRIBUTES: untyped
|
|
2595
1390
|
|
|
1391
|
+
include ATTRIBUTE_SET::Definitions
|
|
1392
|
+
|
|
1393
|
+
def initialize: (untyped nfgen_family, untyped version, untyped res_id, ?untyped attributes) -> untyped
|
|
1394
|
+
|
|
1395
|
+
# @private
|
|
1396
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
1397
|
+
|
|
1398
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
1399
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
1400
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
1401
|
+
|
|
1402
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
1403
|
+
|
|
2596
1404
|
# @rbs return: ::Integer
|
|
2597
1405
|
# @return [Integer]
|
|
2598
1406
|
def nfgen_family: () -> ::Integer
|
|
@@ -2608,52 +1416,42 @@ module Nl
|
|
|
2608
1416
|
# obsolete
|
|
2609
1417
|
# @rbs return: ::Integer
|
|
2610
1418
|
# @return [Integer]
|
|
2611
|
-
# @see AttributeSets::ConntrackStatsAttrs::Searched
|
|
2612
1419
|
def searched: () -> ::Integer
|
|
2613
1420
|
|
|
2614
1421
|
# @rbs return: ::Integer
|
|
2615
1422
|
# @return [Integer]
|
|
2616
|
-
# @see AttributeSets::ConntrackStatsAttrs::Found
|
|
2617
1423
|
def found: () -> ::Integer
|
|
2618
1424
|
|
|
2619
1425
|
# @rbs return: ::Integer
|
|
2620
1426
|
# @return [Integer]
|
|
2621
|
-
# @see AttributeSets::ConntrackStatsAttrs::Insert
|
|
2622
1427
|
def insert: () -> ::Integer
|
|
2623
1428
|
|
|
2624
1429
|
# @rbs return: ::Integer
|
|
2625
1430
|
# @return [Integer]
|
|
2626
|
-
# @see AttributeSets::ConntrackStatsAttrs::InsertFailed
|
|
2627
1431
|
def insert_failed: () -> ::Integer
|
|
2628
1432
|
|
|
2629
1433
|
# @rbs return: ::Integer
|
|
2630
1434
|
# @return [Integer]
|
|
2631
|
-
# @see AttributeSets::ConntrackStatsAttrs::Drop
|
|
2632
1435
|
def drop: () -> ::Integer
|
|
2633
1436
|
|
|
2634
1437
|
# @rbs return: ::Integer
|
|
2635
1438
|
# @return [Integer]
|
|
2636
|
-
# @see AttributeSets::ConntrackStatsAttrs::EarlyDrop
|
|
2637
1439
|
def early_drop: () -> ::Integer
|
|
2638
1440
|
|
|
2639
1441
|
# @rbs return: ::Integer
|
|
2640
1442
|
# @return [Integer]
|
|
2641
|
-
# @see AttributeSets::ConntrackStatsAttrs::Error
|
|
2642
1443
|
def error: () -> ::Integer
|
|
2643
1444
|
|
|
2644
1445
|
# @rbs return: ::Integer
|
|
2645
1446
|
# @return [Integer]
|
|
2646
|
-
# @see AttributeSets::ConntrackStatsAttrs::SearchRestart
|
|
2647
1447
|
def search_restart: () -> ::Integer
|
|
2648
1448
|
|
|
2649
1449
|
# @rbs return: ::Integer
|
|
2650
1450
|
# @return [Integer]
|
|
2651
|
-
# @see AttributeSets::ConntrackStatsAttrs::ClashResolve
|
|
2652
1451
|
def clash_resolve: () -> ::Integer
|
|
2653
1452
|
|
|
2654
1453
|
# @rbs return: ::Integer
|
|
2655
1454
|
# @return [Integer]
|
|
2656
|
-
# @see AttributeSets::ConntrackStatsAttrs::ChainToolong
|
|
2657
1455
|
def chain_toolong: () -> ::Integer
|
|
2658
1456
|
end
|
|
2659
1457
|
end
|
|
@@ -2678,20 +1476,26 @@ module Nl
|
|
|
2678
1476
|
def do_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?tuple_reply: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?zone: ::Integer) -> Messages::DoGetReply
|
|
2679
1477
|
|
|
2680
1478
|
# get / dump entries
|
|
2681
|
-
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::
|
|
2682
|
-
# | (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::
|
|
1479
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?tuple_reply: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: (AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped]), ?status_mask: ::Integer) -> Array[Messages::DumpGetReply]
|
|
1480
|
+
# | (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?tuple_reply: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: (AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped]), ?status_mask: ::Integer) { (Messages::DumpGetReply) -> void } -> void
|
|
2683
1481
|
# @overload dump_get(**args)
|
|
2684
1482
|
# Returns an array when no block is given.
|
|
2685
1483
|
# @param [Hash] args
|
|
2686
1484
|
# @option args [Integer] nfgen_family
|
|
2687
1485
|
# @option args [Integer] version
|
|
2688
1486
|
# @option args [Integer] res_id
|
|
1487
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_orig conntrack l3+l4 protocol information, original direction
|
|
1488
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_reply conntrack l3+l4 protocol information, reply direction
|
|
2689
1489
|
# @option args [Integer] status conntrack flag bits
|
|
2690
1490
|
#
|
|
2691
1491
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2692
1492
|
# @option args [Integer] mark
|
|
2693
1493
|
# @option args [Integer] zone conntrack zone id
|
|
2694
|
-
# @option args [
|
|
1494
|
+
# @option args [Integer] mark_mask
|
|
1495
|
+
# @option args [AttributeSets::FilterAttrs, Hash<Symbol, Object>] filter
|
|
1496
|
+
# @option args [Integer] status_mask conntrack flag bits to change
|
|
1497
|
+
#
|
|
1498
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2695
1499
|
# @return [Array<Messages::DumpGetReply>]
|
|
2696
1500
|
# @overload dump_get(**args, &block)
|
|
2697
1501
|
# Yields each reply when a block is given.
|
|
@@ -2699,17 +1503,23 @@ module Nl
|
|
|
2699
1503
|
# @option args [Integer] nfgen_family
|
|
2700
1504
|
# @option args [Integer] version
|
|
2701
1505
|
# @option args [Integer] res_id
|
|
1506
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_orig conntrack l3+l4 protocol information, original direction
|
|
1507
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_reply conntrack l3+l4 protocol information, reply direction
|
|
2702
1508
|
# @option args [Integer] status conntrack flag bits
|
|
2703
1509
|
#
|
|
2704
1510
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2705
1511
|
# @option args [Integer] mark
|
|
2706
1512
|
# @option args [Integer] zone conntrack zone id
|
|
2707
|
-
# @option args [
|
|
1513
|
+
# @option args [Integer] mark_mask
|
|
1514
|
+
# @option args [AttributeSets::FilterAttrs, Hash<Symbol, Object>] filter
|
|
1515
|
+
# @option args [Integer] status_mask conntrack flag bits to change
|
|
1516
|
+
#
|
|
1517
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2708
1518
|
# @yieldparam [Messages::DumpGetReply] reply
|
|
2709
1519
|
# @return [void]
|
|
2710
1520
|
# @see Messages::DumpGetRequest
|
|
2711
|
-
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::
|
|
2712
|
-
| (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::
|
|
1521
|
+
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?tuple_reply: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped], ?status_mask: ::Integer) -> Array[Messages::DumpGetReply]
|
|
1522
|
+
| (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?tuple_reply: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped], ?status_mask: ::Integer) { (Messages::DumpGetReply) -> void } -> void
|
|
2713
1523
|
|
|
2714
1524
|
# dump pcpu conntrack stats
|
|
2715
1525
|
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> Array[Messages::DumpGetStatsReply]
|
|
@@ -2751,20 +1561,26 @@ module Nl
|
|
|
2751
1561
|
def do_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?tuple_reply: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?zone: ::Integer) -> ::Nl::Async::Future[Messages::DoGetReply]
|
|
2752
1562
|
|
|
2753
1563
|
# get / dump entries
|
|
2754
|
-
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::
|
|
1564
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?tuple_reply: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]), ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: (AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped]), ?status_mask: ::Integer) -> ::Nl::Async::Stream[Messages::DumpGetReply]
|
|
2755
1565
|
# @param [Hash] args
|
|
2756
1566
|
# @option args [Integer] nfgen_family
|
|
2757
1567
|
# @option args [Integer] version
|
|
2758
1568
|
# @option args [Integer] res_id
|
|
1569
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_orig conntrack l3+l4 protocol information, original direction
|
|
1570
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_reply conntrack l3+l4 protocol information, reply direction
|
|
2759
1571
|
# @option args [Integer] status conntrack flag bits
|
|
2760
1572
|
#
|
|
2761
1573
|
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2762
1574
|
# @option args [Integer] mark
|
|
2763
1575
|
# @option args [Integer] zone conntrack zone id
|
|
2764
|
-
# @option args [
|
|
1576
|
+
# @option args [Integer] mark_mask
|
|
1577
|
+
# @option args [AttributeSets::FilterAttrs, Hash<Symbol, Object>] filter
|
|
1578
|
+
# @option args [Integer] status_mask conntrack flag bits to change
|
|
1579
|
+
#
|
|
1580
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2765
1581
|
# @return [Nl::Async::Stream<Messages::DumpGetReply>]
|
|
2766
1582
|
# @see Messages::DumpGetRequest
|
|
2767
|
-
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::
|
|
1583
|
+
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?tuple_orig: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?tuple_reply: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped], ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?mark_mask: ::Integer, ?filter: AttributeSets::FilterAttrs | ::Hash[::Symbol, untyped], ?status_mask: ::Integer) -> ::Nl::Async::Stream[Messages::DumpGetReply]
|
|
2768
1584
|
|
|
2769
1585
|
# dump pcpu conntrack stats
|
|
2770
1586
|
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> ::Nl::Async::Stream[Messages::DumpGetStatsReply]
|