nl-linux 0.3.0 → 0.4.1
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/.yardopts +5 -0
- data/CHANGELOG.md +6 -0
- data/Rakefile +14 -2
- data/generated/nl/linux/binder.rb +172 -44
- data/generated/nl/linux/conntrack.rb +1293 -370
- data/generated/nl/linux/dev_energymodel.rb +278 -93
- data/generated/nl/linux/devlink.rb +5654 -1954
- data/generated/nl/linux/dpll.rb +1838 -669
- data/generated/nl/linux/drm_ras.rb +234 -72
- data/generated/nl/linux/ethtool.rb +6683 -2885
- data/generated/nl/linux/fou.rb +308 -129
- data/generated/nl/linux/handshake.rb +277 -99
- data/generated/nl/linux/lockd.rb +88 -33
- data/generated/nl/linux/mptcp_pm.rb +639 -186
- data/generated/nl/linux/net_shaper.rb +782 -224
- data/generated/nl/linux/netdev.rb +2105 -631
- data/generated/nl/linux/nfsd.rb +1030 -358
- data/generated/nl/linux/nftables.rb +5041 -1612
- data/generated/nl/linux/nl80211.rb +4531 -871
- data/generated/nl/linux/nlctrl.rb +411 -119
- data/generated/nl/linux/ovpn.rb +1211 -293
- data/generated/nl/linux/ovs_datapath.rb +271 -106
- data/generated/nl/linux/ovs_flow.rb +1819 -354
- data/generated/nl/linux/ovs_packet.rb +257 -82
- data/generated/nl/linux/ovs_vport.rb +334 -132
- data/generated/nl/linux/psp.rb +916 -281
- data/generated/nl/linux/rt_addr.rb +369 -166
- data/generated/nl/linux/rt_link.rb +6708 -1450
- data/generated/nl/linux/rt_neigh.rb +919 -364
- data/generated/nl/linux/rt_route.rb +1034 -448
- data/generated/nl/linux/rt_rule.rb +775 -395
- data/generated/nl/linux/sunrpc_cache.rb +297 -102
- data/generated/nl/linux/tc.rb +9989 -1780
- data/generated/nl/linux/tcp_metrics.rb +327 -105
- data/generated/nl/linux/team.rb +279 -93
- data/generated/nl/linux/wireguard.rb +432 -95
- data/generated/nl/linux.rb +1 -0
- data/lib/nl/linux/nlctrl_resolver.rb +31 -0
- data/lib/nl/linux/version.rb +1 -1
- data/sig/generated/nl/linux/binder.rbs +366 -0
- data/sig/generated/nl/linux/conntrack.rbs +2787 -0
- data/sig/generated/nl/linux/dev_energymodel.rbs +636 -0
- data/sig/generated/nl/linux/devlink.rbs +12496 -0
- data/sig/generated/nl/linux/dpll.rbs +3461 -0
- data/sig/generated/nl/linux/drm_ras.rbs +553 -0
- data/sig/generated/nl/linux/ethtool.rbs +15291 -0
- data/sig/generated/nl/linux/fou.rbs +702 -0
- data/sig/generated/nl/linux/handshake.rbs +622 -0
- data/sig/generated/nl/linux/lockd.rbs +234 -0
- data/sig/generated/nl/linux/mptcp_pm.rbs +1511 -0
- data/sig/generated/nl/linux/net_shaper.rbs +1645 -0
- data/sig/generated/nl/linux/netdev.rbs +4187 -0
- data/sig/generated/nl/linux/nfsd.rbs +2520 -0
- data/sig/generated/nl/linux/nftables.rbs +10304 -0
- data/sig/generated/nl/linux/nl80211.rbs +9786 -0
- data/sig/generated/nl/linux/nlctrl.rbs +944 -0
- data/sig/generated/nl/linux/nlctrl_resolver.rbs +20 -0
- data/sig/generated/nl/linux/ovpn.rbs +2564 -0
- data/sig/generated/nl/linux/ovs_datapath.rbs +640 -0
- data/sig/generated/nl/linux/ovs_flow.rbs +3659 -0
- data/sig/generated/nl/linux/ovs_packet.rbs +540 -0
- data/sig/generated/nl/linux/ovs_vport.rbs +777 -0
- data/sig/generated/nl/linux/psp.rbs +1846 -0
- data/sig/generated/nl/linux/rt_addr.rbs +866 -0
- data/sig/generated/nl/linux/rt_link.rbs +13438 -0
- data/sig/generated/nl/linux/rt_neigh.rbs +2124 -0
- data/sig/generated/nl/linux/rt_route.rbs +2218 -0
- data/sig/generated/nl/linux/rt_rule.rbs +1726 -0
- data/sig/generated/nl/linux/sunrpc_cache.rbs +739 -0
- data/sig/generated/nl/linux/tc.rbs +19931 -0
- data/sig/generated/nl/linux/tcp_metrics.rbs +740 -0
- data/sig/generated/nl/linux/team.rbs +733 -0
- data/sig/generated/nl/linux/version.rbs +7 -0
- data/sig/generated/nl/linux/wireguard.rbs +1006 -0
- data/sig/generated/nl/linux.rbs +6 -0
- data/sig/generated/nl-linux.rbs +2 -0
- metadata +46 -7
|
@@ -0,0 +1,2787 @@
|
|
|
1
|
+
# Generated from generated/nl/linux/conntrack.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
module Nl
|
|
4
|
+
module Linux
|
|
5
|
+
# Netfilter connection tracking subsystem over nfnetlink
|
|
6
|
+
class Conntrack < ::Nl::Raw::Family
|
|
7
|
+
NAME: ::String
|
|
8
|
+
|
|
9
|
+
PROTONUM: ::Integer
|
|
10
|
+
|
|
11
|
+
# @rbs (?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
|
|
12
|
+
# @rbs | [R] (?executor: executor?, ?notification_capacity: ::Integer?) { (instance) -> R } -> R
|
|
13
|
+
# @overload open(executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY)
|
|
14
|
+
# @param [Symbol, nil] executor
|
|
15
|
+
# @param [Integer, nil] notification_capacity
|
|
16
|
+
# @return [Conntrack]
|
|
17
|
+
# @overload open(executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY, &block)
|
|
18
|
+
# @param [Symbol, nil] executor
|
|
19
|
+
# @param [Integer, nil] notification_capacity
|
|
20
|
+
# @yieldparam [Conntrack] family
|
|
21
|
+
# @return [Object] the result of the block
|
|
22
|
+
def self.open: (?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
|
|
23
|
+
|
|
24
|
+
# @private
|
|
25
|
+
MCAST_GROUPS: Hash[::Symbol, ::Nl::McastGroup]
|
|
26
|
+
|
|
27
|
+
module Enums
|
|
28
|
+
module NfCtTcpState
|
|
29
|
+
None: ::Integer
|
|
30
|
+
|
|
31
|
+
SynSent: ::Integer
|
|
32
|
+
|
|
33
|
+
SynRecv: ::Integer
|
|
34
|
+
|
|
35
|
+
Established: ::Integer
|
|
36
|
+
|
|
37
|
+
FinWait: ::Integer
|
|
38
|
+
|
|
39
|
+
CloseWait: ::Integer
|
|
40
|
+
|
|
41
|
+
LastAck: ::Integer
|
|
42
|
+
|
|
43
|
+
TimeWait: ::Integer
|
|
44
|
+
|
|
45
|
+
Close: ::Integer
|
|
46
|
+
|
|
47
|
+
SynSent2: ::Integer
|
|
48
|
+
|
|
49
|
+
Max: ::Integer
|
|
50
|
+
|
|
51
|
+
Ignore: ::Integer
|
|
52
|
+
|
|
53
|
+
Retrans: ::Integer
|
|
54
|
+
|
|
55
|
+
Unack: ::Integer
|
|
56
|
+
|
|
57
|
+
TimeoutMax: ::Integer
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
module NfCtSctpState
|
|
61
|
+
None: ::Integer
|
|
62
|
+
|
|
63
|
+
Cloned: ::Integer
|
|
64
|
+
|
|
65
|
+
CookieWait: ::Integer
|
|
66
|
+
|
|
67
|
+
CookieEchoed: ::Integer
|
|
68
|
+
|
|
69
|
+
Established: ::Integer
|
|
70
|
+
|
|
71
|
+
ShutdownSent: ::Integer
|
|
72
|
+
|
|
73
|
+
ShutdownReceived: ::Integer
|
|
74
|
+
|
|
75
|
+
ShutdownAckSent: ::Integer
|
|
76
|
+
|
|
77
|
+
ShutdownHeartbeatSent: ::Integer
|
|
78
|
+
end
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
module Flags
|
|
82
|
+
module NfCtTcpFlags
|
|
83
|
+
WindowScale: ::Integer
|
|
84
|
+
|
|
85
|
+
SackPerm: ::Integer
|
|
86
|
+
|
|
87
|
+
CloseInit: ::Integer
|
|
88
|
+
|
|
89
|
+
BeLiberal: ::Integer
|
|
90
|
+
|
|
91
|
+
Unacked: ::Integer
|
|
92
|
+
|
|
93
|
+
Maxack: ::Integer
|
|
94
|
+
|
|
95
|
+
ChallengeAck: ::Integer
|
|
96
|
+
|
|
97
|
+
SimultaneousOpen: ::Integer
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
module NfCtStatus
|
|
101
|
+
Expected: ::Integer
|
|
102
|
+
|
|
103
|
+
SeenReply: ::Integer
|
|
104
|
+
|
|
105
|
+
Assured: ::Integer
|
|
106
|
+
|
|
107
|
+
Confirmed: ::Integer
|
|
108
|
+
|
|
109
|
+
SrcNat: ::Integer
|
|
110
|
+
|
|
111
|
+
DstNat: ::Integer
|
|
112
|
+
|
|
113
|
+
SeqAdj: ::Integer
|
|
114
|
+
|
|
115
|
+
SrcNatDone: ::Integer
|
|
116
|
+
|
|
117
|
+
DstNatDone: ::Integer
|
|
118
|
+
|
|
119
|
+
Dying: ::Integer
|
|
120
|
+
|
|
121
|
+
FixedTimeout: ::Integer
|
|
122
|
+
|
|
123
|
+
Template: ::Integer
|
|
124
|
+
|
|
125
|
+
NatClash: ::Integer
|
|
126
|
+
|
|
127
|
+
Helper: ::Integer
|
|
128
|
+
|
|
129
|
+
Offload: ::Integer
|
|
130
|
+
|
|
131
|
+
HwOffload: ::Integer
|
|
132
|
+
end
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
module Structs
|
|
136
|
+
class Nfgenmsg < Struct[::Integer]
|
|
137
|
+
attr_accessor nfgen_family(): ::Integer
|
|
138
|
+
|
|
139
|
+
attr_accessor version(): ::Integer
|
|
140
|
+
|
|
141
|
+
attr_accessor res_id(): ::Integer
|
|
142
|
+
|
|
143
|
+
def self.new: (?::Integer nfgen_family, ?::Integer version, ?::Integer res_id) -> instance
|
|
144
|
+
| (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> instance
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
class Nfgenmsg
|
|
148
|
+
# @!attribute [rw] nfgen_family
|
|
149
|
+
# @return [Integer]
|
|
150
|
+
# @!attribute [rw] version
|
|
151
|
+
# @return [Integer]
|
|
152
|
+
# @!attribute [rw] res_id
|
|
153
|
+
# @return [Integer]
|
|
154
|
+
# @private
|
|
155
|
+
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
156
|
+
|
|
157
|
+
# Decodes the struct.
|
|
158
|
+
# @rbs decoder: ::Nl::Decoder
|
|
159
|
+
# @rbs return: instance
|
|
160
|
+
# @param [Nl::Decoder] decoder
|
|
161
|
+
# @return [self]
|
|
162
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
163
|
+
|
|
164
|
+
# Encodes the struct.
|
|
165
|
+
# @rbs encoder: ::Nl::Encoder
|
|
166
|
+
# @rbs return: void
|
|
167
|
+
# @param [Nl::Encoder] encoder
|
|
168
|
+
# @return [void]
|
|
169
|
+
def encode: (::Nl::Encoder encoder) -> void
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
class NfCtTcpFlagsMask < Struct[::Integer]
|
|
173
|
+
attr_accessor flags(): ::Integer
|
|
174
|
+
|
|
175
|
+
attr_accessor mask(): ::Integer
|
|
176
|
+
|
|
177
|
+
def self.new: (?::Integer flags, ?::Integer mask) -> instance
|
|
178
|
+
| (?flags: ::Integer, ?mask: ::Integer) -> instance
|
|
179
|
+
end
|
|
180
|
+
|
|
181
|
+
class NfCtTcpFlagsMask
|
|
182
|
+
# @!attribute [rw] flags
|
|
183
|
+
# @return [Integer]
|
|
184
|
+
# @!attribute [rw] mask
|
|
185
|
+
# @return [Integer]
|
|
186
|
+
# @private
|
|
187
|
+
MEMBERS: Hash[::Symbol, ::Nl::_DataType]
|
|
188
|
+
|
|
189
|
+
# Decodes the struct.
|
|
190
|
+
# @rbs decoder: ::Nl::Decoder
|
|
191
|
+
# @rbs return: instance
|
|
192
|
+
# @param [Nl::Decoder] decoder
|
|
193
|
+
# @return [self]
|
|
194
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
195
|
+
|
|
196
|
+
# Encodes the struct.
|
|
197
|
+
# @rbs encoder: ::Nl::Encoder
|
|
198
|
+
# @rbs return: void
|
|
199
|
+
# @param [Nl::Encoder] encoder
|
|
200
|
+
# @return [void]
|
|
201
|
+
def encode: (::Nl::Encoder encoder) -> void
|
|
202
|
+
end
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
module AttributeSets
|
|
206
|
+
class CounterAttrs < ::Nl::AttributeSet
|
|
207
|
+
# Abstract class
|
|
208
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
209
|
+
end
|
|
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
|
|
261
|
+
|
|
262
|
+
NAME: ::Symbol
|
|
263
|
+
|
|
264
|
+
# @private
|
|
265
|
+
ORDER: ::Integer
|
|
266
|
+
|
|
267
|
+
# @private
|
|
268
|
+
DATATYPE: untyped
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
# @private
|
|
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
|
|
291
|
+
|
|
292
|
+
# @rbs return: ::Integer
|
|
293
|
+
# @return [Integer]
|
|
294
|
+
# @see BytesOld
|
|
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
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
class TupleProtoAttrs < ::Nl::AttributeSet
|
|
313
|
+
# Abstract class
|
|
314
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
# l4 protocol number
|
|
318
|
+
class ProtoNum < Attribute
|
|
319
|
+
TYPE: ::Integer
|
|
320
|
+
|
|
321
|
+
NAME: ::Symbol
|
|
322
|
+
|
|
323
|
+
# @private
|
|
324
|
+
ORDER: ::Integer
|
|
325
|
+
|
|
326
|
+
# @private
|
|
327
|
+
DATATYPE: untyped
|
|
328
|
+
end
|
|
329
|
+
|
|
330
|
+
# l4 source port
|
|
331
|
+
class ProtoSrcPort < Attribute
|
|
332
|
+
TYPE: ::Integer
|
|
333
|
+
|
|
334
|
+
NAME: ::Symbol
|
|
335
|
+
|
|
336
|
+
# @private
|
|
337
|
+
ORDER: ::Integer
|
|
338
|
+
|
|
339
|
+
# @private
|
|
340
|
+
DATATYPE: untyped
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# l4 source port
|
|
344
|
+
class ProtoDstPort < Attribute
|
|
345
|
+
TYPE: ::Integer
|
|
346
|
+
|
|
347
|
+
NAME: ::Symbol
|
|
348
|
+
|
|
349
|
+
# @private
|
|
350
|
+
ORDER: ::Integer
|
|
351
|
+
|
|
352
|
+
# @private
|
|
353
|
+
DATATYPE: untyped
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# l4 icmp id
|
|
357
|
+
class ProtoIcmpId < Attribute
|
|
358
|
+
TYPE: ::Integer
|
|
359
|
+
|
|
360
|
+
NAME: ::Symbol
|
|
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
|
|
499
|
+
end
|
|
500
|
+
|
|
501
|
+
class TupleIpAttrs < ::Nl::AttributeSet
|
|
502
|
+
# Abstract class
|
|
503
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
504
|
+
end
|
|
505
|
+
|
|
506
|
+
# ipv4 source address
|
|
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
|
|
531
|
+
|
|
532
|
+
# ipv6 source address
|
|
533
|
+
class IpV6Src < Attribute
|
|
534
|
+
TYPE: ::Integer
|
|
535
|
+
|
|
536
|
+
NAME: ::Symbol
|
|
537
|
+
|
|
538
|
+
# @private
|
|
539
|
+
ORDER: ::Integer
|
|
540
|
+
|
|
541
|
+
# @private
|
|
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
|
|
556
|
+
end
|
|
557
|
+
|
|
558
|
+
# @private
|
|
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
|
|
581
|
+
|
|
582
|
+
# ipv6 destination address
|
|
583
|
+
# @rbs return: ::String
|
|
584
|
+
# @return [String]
|
|
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
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
class TupleAttrs < ::Nl::AttributeSet
|
|
604
|
+
# Abstract class
|
|
605
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
606
|
+
end
|
|
607
|
+
|
|
608
|
+
# conntrack l3 information
|
|
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
|
|
1883
|
+
|
|
1884
|
+
# @rbs return: AttributeSets::SynproxyAttrs
|
|
1885
|
+
# @return [AttributeSets::SynproxyAttrs]
|
|
1886
|
+
# @see Synproxy
|
|
1887
|
+
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
1888
|
+
|
|
1889
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
1890
|
+
# @return [AttributeSets::TupleAttrs]
|
|
1891
|
+
# @see Filter
|
|
1892
|
+
def filter: () -> AttributeSets::TupleAttrs
|
|
1893
|
+
|
|
1894
|
+
# conntrack flag bits to change
|
|
1895
|
+
#
|
|
1896
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
1897
|
+
# @rbs return: ::Integer
|
|
1898
|
+
# @return [Integer]
|
|
1899
|
+
# @see StatusMask
|
|
1900
|
+
def status_mask: () -> ::Integer
|
|
1901
|
+
|
|
1902
|
+
# @rbs return: ::Integer
|
|
1903
|
+
# @return [Integer]
|
|
1904
|
+
# @see TimestampEvent
|
|
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
|
|
1920
|
+
end
|
|
1921
|
+
|
|
1922
|
+
class ConntrackStatsAttrs < ::Nl::AttributeSet
|
|
1923
|
+
# Abstract class
|
|
1924
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
1925
|
+
end
|
|
1926
|
+
|
|
1927
|
+
# obsolete
|
|
1928
|
+
class Searched < Attribute
|
|
1929
|
+
TYPE: ::Integer
|
|
1930
|
+
|
|
1931
|
+
NAME: ::Symbol
|
|
1932
|
+
|
|
1933
|
+
# @private
|
|
1934
|
+
ORDER: ::Integer
|
|
1935
|
+
|
|
1936
|
+
# @private
|
|
1937
|
+
DATATYPE: untyped
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1940
|
+
class Found < Attribute
|
|
1941
|
+
TYPE: ::Integer
|
|
1942
|
+
|
|
1943
|
+
NAME: ::Symbol
|
|
1944
|
+
|
|
1945
|
+
# @private
|
|
1946
|
+
ORDER: ::Integer
|
|
1947
|
+
|
|
1948
|
+
# @private
|
|
1949
|
+
DATATYPE: untyped
|
|
1950
|
+
end
|
|
1951
|
+
|
|
1952
|
+
# obsolete
|
|
1953
|
+
class New < Attribute
|
|
1954
|
+
TYPE: ::Integer
|
|
1955
|
+
|
|
1956
|
+
NAME: ::Symbol
|
|
1957
|
+
|
|
1958
|
+
# @private
|
|
1959
|
+
ORDER: ::Integer
|
|
1960
|
+
|
|
1961
|
+
# @private
|
|
1962
|
+
DATATYPE: untyped
|
|
1963
|
+
end
|
|
1964
|
+
|
|
1965
|
+
# obsolete
|
|
1966
|
+
class Invalid < Attribute
|
|
1967
|
+
TYPE: ::Integer
|
|
1968
|
+
|
|
1969
|
+
NAME: ::Symbol
|
|
1970
|
+
|
|
1971
|
+
# @private
|
|
1972
|
+
ORDER: ::Integer
|
|
1973
|
+
|
|
1974
|
+
# @private
|
|
1975
|
+
DATATYPE: untyped
|
|
1976
|
+
end
|
|
1977
|
+
|
|
1978
|
+
# obsolete
|
|
1979
|
+
class Ignore < Attribute
|
|
1980
|
+
TYPE: ::Integer
|
|
1981
|
+
|
|
1982
|
+
NAME: ::Symbol
|
|
1983
|
+
|
|
1984
|
+
# @private
|
|
1985
|
+
ORDER: ::Integer
|
|
1986
|
+
|
|
1987
|
+
# @private
|
|
1988
|
+
DATATYPE: untyped
|
|
1989
|
+
end
|
|
1990
|
+
|
|
1991
|
+
# obsolete
|
|
1992
|
+
class Delete < Attribute
|
|
1993
|
+
TYPE: ::Integer
|
|
1994
|
+
|
|
1995
|
+
NAME: ::Symbol
|
|
1996
|
+
|
|
1997
|
+
# @private
|
|
1998
|
+
ORDER: ::Integer
|
|
1999
|
+
|
|
2000
|
+
# @private
|
|
2001
|
+
DATATYPE: untyped
|
|
2002
|
+
end
|
|
2003
|
+
|
|
2004
|
+
# obsolete
|
|
2005
|
+
class DeleteList < Attribute
|
|
2006
|
+
TYPE: ::Integer
|
|
2007
|
+
|
|
2008
|
+
NAME: ::Symbol
|
|
2009
|
+
|
|
2010
|
+
# @private
|
|
2011
|
+
ORDER: ::Integer
|
|
2012
|
+
|
|
2013
|
+
# @private
|
|
2014
|
+
DATATYPE: untyped
|
|
2015
|
+
end
|
|
2016
|
+
|
|
2017
|
+
class Insert < Attribute
|
|
2018
|
+
TYPE: ::Integer
|
|
2019
|
+
|
|
2020
|
+
NAME: ::Symbol
|
|
2021
|
+
|
|
2022
|
+
# @private
|
|
2023
|
+
ORDER: ::Integer
|
|
2024
|
+
|
|
2025
|
+
# @private
|
|
2026
|
+
DATATYPE: untyped
|
|
2027
|
+
end
|
|
2028
|
+
|
|
2029
|
+
class InsertFailed < Attribute
|
|
2030
|
+
TYPE: ::Integer
|
|
2031
|
+
|
|
2032
|
+
NAME: ::Symbol
|
|
2033
|
+
|
|
2034
|
+
# @private
|
|
2035
|
+
ORDER: ::Integer
|
|
2036
|
+
|
|
2037
|
+
# @private
|
|
2038
|
+
DATATYPE: untyped
|
|
2039
|
+
end
|
|
2040
|
+
|
|
2041
|
+
class Drop < Attribute
|
|
2042
|
+
TYPE: ::Integer
|
|
2043
|
+
|
|
2044
|
+
NAME: ::Symbol
|
|
2045
|
+
|
|
2046
|
+
# @private
|
|
2047
|
+
ORDER: ::Integer
|
|
2048
|
+
|
|
2049
|
+
# @private
|
|
2050
|
+
DATATYPE: untyped
|
|
2051
|
+
end
|
|
2052
|
+
|
|
2053
|
+
class EarlyDrop < Attribute
|
|
2054
|
+
TYPE: ::Integer
|
|
2055
|
+
|
|
2056
|
+
NAME: ::Symbol
|
|
2057
|
+
|
|
2058
|
+
# @private
|
|
2059
|
+
ORDER: ::Integer
|
|
2060
|
+
|
|
2061
|
+
# @private
|
|
2062
|
+
DATATYPE: untyped
|
|
2063
|
+
end
|
|
2064
|
+
|
|
2065
|
+
class Error < Attribute
|
|
2066
|
+
TYPE: ::Integer
|
|
2067
|
+
|
|
2068
|
+
NAME: ::Symbol
|
|
2069
|
+
|
|
2070
|
+
# @private
|
|
2071
|
+
ORDER: ::Integer
|
|
2072
|
+
|
|
2073
|
+
# @private
|
|
2074
|
+
DATATYPE: untyped
|
|
2075
|
+
end
|
|
2076
|
+
|
|
2077
|
+
class SearchRestart < Attribute
|
|
2078
|
+
TYPE: ::Integer
|
|
2079
|
+
|
|
2080
|
+
NAME: ::Symbol
|
|
2081
|
+
|
|
2082
|
+
# @private
|
|
2083
|
+
ORDER: ::Integer
|
|
2084
|
+
|
|
2085
|
+
# @private
|
|
2086
|
+
DATATYPE: untyped
|
|
2087
|
+
end
|
|
2088
|
+
|
|
2089
|
+
class ClashResolve < Attribute
|
|
2090
|
+
TYPE: ::Integer
|
|
2091
|
+
|
|
2092
|
+
NAME: ::Symbol
|
|
2093
|
+
|
|
2094
|
+
# @private
|
|
2095
|
+
ORDER: ::Integer
|
|
2096
|
+
|
|
2097
|
+
# @private
|
|
2098
|
+
DATATYPE: untyped
|
|
2099
|
+
end
|
|
2100
|
+
|
|
2101
|
+
class ChainToolong < Attribute
|
|
2102
|
+
TYPE: ::Integer
|
|
2103
|
+
|
|
2104
|
+
NAME: ::Symbol
|
|
2105
|
+
|
|
2106
|
+
# @private
|
|
2107
|
+
ORDER: ::Integer
|
|
2108
|
+
|
|
2109
|
+
# @private
|
|
2110
|
+
DATATYPE: untyped
|
|
2111
|
+
end
|
|
2112
|
+
|
|
2113
|
+
# @private
|
|
2114
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
2115
|
+
|
|
2116
|
+
# @private
|
|
2117
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
2118
|
+
|
|
2119
|
+
# obsolete
|
|
2120
|
+
# @rbs return: ::Integer
|
|
2121
|
+
# @return [Integer]
|
|
2122
|
+
# @see Searched
|
|
2123
|
+
def searched: () -> ::Integer
|
|
2124
|
+
|
|
2125
|
+
# @rbs return: ::Integer
|
|
2126
|
+
# @return [Integer]
|
|
2127
|
+
# @see Found
|
|
2128
|
+
def found: () -> ::Integer
|
|
2129
|
+
|
|
2130
|
+
# obsolete
|
|
2131
|
+
# @rbs return: ::Integer
|
|
2132
|
+
# @return [Integer]
|
|
2133
|
+
# @see New
|
|
2134
|
+
def new: () -> ::Integer
|
|
2135
|
+
|
|
2136
|
+
# obsolete
|
|
2137
|
+
# @rbs return: ::Integer
|
|
2138
|
+
# @return [Integer]
|
|
2139
|
+
# @see Invalid
|
|
2140
|
+
def invalid: () -> ::Integer
|
|
2141
|
+
|
|
2142
|
+
# obsolete
|
|
2143
|
+
# @rbs return: ::Integer
|
|
2144
|
+
# @return [Integer]
|
|
2145
|
+
# @see Ignore
|
|
2146
|
+
def ignore: () -> ::Integer
|
|
2147
|
+
|
|
2148
|
+
# obsolete
|
|
2149
|
+
# @rbs return: ::Integer
|
|
2150
|
+
# @return [Integer]
|
|
2151
|
+
# @see Delete
|
|
2152
|
+
def delete: () -> ::Integer
|
|
2153
|
+
|
|
2154
|
+
# obsolete
|
|
2155
|
+
# @rbs return: ::Integer
|
|
2156
|
+
# @return [Integer]
|
|
2157
|
+
# @see DeleteList
|
|
2158
|
+
def delete_list: () -> ::Integer
|
|
2159
|
+
|
|
2160
|
+
# @rbs return: ::Integer
|
|
2161
|
+
# @return [Integer]
|
|
2162
|
+
# @see Insert
|
|
2163
|
+
def insert: () -> ::Integer
|
|
2164
|
+
|
|
2165
|
+
# @rbs return: ::Integer
|
|
2166
|
+
# @return [Integer]
|
|
2167
|
+
# @see InsertFailed
|
|
2168
|
+
def insert_failed: () -> ::Integer
|
|
2169
|
+
|
|
2170
|
+
# @rbs return: ::Integer
|
|
2171
|
+
# @return [Integer]
|
|
2172
|
+
# @see Drop
|
|
2173
|
+
def drop: () -> ::Integer
|
|
2174
|
+
|
|
2175
|
+
# @rbs return: ::Integer
|
|
2176
|
+
# @return [Integer]
|
|
2177
|
+
# @see EarlyDrop
|
|
2178
|
+
def early_drop: () -> ::Integer
|
|
2179
|
+
|
|
2180
|
+
# @rbs return: ::Integer
|
|
2181
|
+
# @return [Integer]
|
|
2182
|
+
# @see Error
|
|
2183
|
+
def error: () -> ::Integer
|
|
2184
|
+
|
|
2185
|
+
# @rbs return: ::Integer
|
|
2186
|
+
# @return [Integer]
|
|
2187
|
+
# @see SearchRestart
|
|
2188
|
+
def search_restart: () -> ::Integer
|
|
2189
|
+
|
|
2190
|
+
# @rbs return: ::Integer
|
|
2191
|
+
# @return [Integer]
|
|
2192
|
+
# @see ClashResolve
|
|
2193
|
+
def clash_resolve: () -> ::Integer
|
|
2194
|
+
|
|
2195
|
+
# @rbs return: ::Integer
|
|
2196
|
+
# @return [Integer]
|
|
2197
|
+
# @see ChainToolong
|
|
2198
|
+
def chain_toolong: () -> ::Integer
|
|
2199
|
+
|
|
2200
|
+
# Looks up Attribute class by name.
|
|
2201
|
+
# @rbs name: Symbol
|
|
2202
|
+
# @rbs return: Attribute
|
|
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
|
|
2213
|
+
end
|
|
2214
|
+
end
|
|
2215
|
+
|
|
2216
|
+
module Messages
|
|
2217
|
+
# get / dump entries
|
|
2218
|
+
class DoGetRequest < ::Nl::Raw::Message
|
|
2219
|
+
TYPE: ::Integer
|
|
2220
|
+
|
|
2221
|
+
FIXED_HEADER: untyped
|
|
2222
|
+
|
|
2223
|
+
ATTRIBUTE_SET: untyped
|
|
2224
|
+
|
|
2225
|
+
ATTRIBUTES: untyped
|
|
2226
|
+
|
|
2227
|
+
# @rbs return: ::Integer
|
|
2228
|
+
# @return [Integer]
|
|
2229
|
+
def nfgen_family: () -> ::Integer
|
|
2230
|
+
|
|
2231
|
+
# @rbs return: ::Integer
|
|
2232
|
+
# @return [Integer]
|
|
2233
|
+
def version: () -> ::Integer
|
|
2234
|
+
|
|
2235
|
+
# @rbs return: ::Integer
|
|
2236
|
+
# @return [Integer]
|
|
2237
|
+
def res_id: () -> ::Integer
|
|
2238
|
+
|
|
2239
|
+
# conntrack l3+l4 protocol information, original direction
|
|
2240
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2241
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2242
|
+
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2243
|
+
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2244
|
+
|
|
2245
|
+
# conntrack l3+l4 protocol information, reply direction
|
|
2246
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2247
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2248
|
+
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2249
|
+
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2250
|
+
|
|
2251
|
+
# conntrack zone id
|
|
2252
|
+
# @rbs return: ::Integer
|
|
2253
|
+
# @return [Integer]
|
|
2254
|
+
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2255
|
+
def zone: () -> ::Integer
|
|
2256
|
+
end
|
|
2257
|
+
|
|
2258
|
+
# get / dump entries
|
|
2259
|
+
class DoGetReply < ::Nl::Raw::Message
|
|
2260
|
+
TYPE: ::Integer
|
|
2261
|
+
|
|
2262
|
+
FIXED_HEADER: untyped
|
|
2263
|
+
|
|
2264
|
+
ATTRIBUTE_SET: untyped
|
|
2265
|
+
|
|
2266
|
+
ATTRIBUTES: untyped
|
|
2267
|
+
|
|
2268
|
+
# @rbs return: ::Integer
|
|
2269
|
+
# @return [Integer]
|
|
2270
|
+
def nfgen_family: () -> ::Integer
|
|
2271
|
+
|
|
2272
|
+
# @rbs return: ::Integer
|
|
2273
|
+
# @return [Integer]
|
|
2274
|
+
def version: () -> ::Integer
|
|
2275
|
+
|
|
2276
|
+
# @rbs return: ::Integer
|
|
2277
|
+
# @return [Integer]
|
|
2278
|
+
def res_id: () -> ::Integer
|
|
2279
|
+
|
|
2280
|
+
# conntrack l3+l4 protocol information, original direction
|
|
2281
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2282
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2283
|
+
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2284
|
+
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2285
|
+
|
|
2286
|
+
# conntrack l3+l4 protocol information, reply direction
|
|
2287
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2288
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2289
|
+
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2290
|
+
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2291
|
+
|
|
2292
|
+
# conntrack flag bits
|
|
2293
|
+
#
|
|
2294
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2295
|
+
# @rbs return: ::Integer
|
|
2296
|
+
# @return [Integer]
|
|
2297
|
+
# @see AttributeSets::ConntrackAttrs::Status
|
|
2298
|
+
def status: () -> ::Integer
|
|
2299
|
+
|
|
2300
|
+
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
2301
|
+
# @return [AttributeSets::ProtoinfoAttrs]
|
|
2302
|
+
# @see AttributeSets::ConntrackAttrs::Protoinfo
|
|
2303
|
+
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
2304
|
+
|
|
2305
|
+
# @rbs return: AttributeSets::HelpAttrs
|
|
2306
|
+
# @return [AttributeSets::HelpAttrs]
|
|
2307
|
+
# @see AttributeSets::ConntrackAttrs::Help
|
|
2308
|
+
def help: () -> AttributeSets::HelpAttrs
|
|
2309
|
+
|
|
2310
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
2311
|
+
# @return [AttributeSets::NatAttrs]
|
|
2312
|
+
# @see AttributeSets::ConntrackAttrs::NatSrc
|
|
2313
|
+
def nat_src: () -> AttributeSets::NatAttrs
|
|
2314
|
+
|
|
2315
|
+
# @rbs return: ::Integer
|
|
2316
|
+
# @return [Integer]
|
|
2317
|
+
# @see AttributeSets::ConntrackAttrs::Timeout
|
|
2318
|
+
def timeout: () -> ::Integer
|
|
2319
|
+
|
|
2320
|
+
# @rbs return: ::Integer
|
|
2321
|
+
# @return [Integer]
|
|
2322
|
+
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2323
|
+
def mark: () -> ::Integer
|
|
2324
|
+
|
|
2325
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
2326
|
+
# @return [AttributeSets::CounterAttrs]
|
|
2327
|
+
# @see AttributeSets::ConntrackAttrs::CountersOrig
|
|
2328
|
+
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
2329
|
+
|
|
2330
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
2331
|
+
# @return [AttributeSets::CounterAttrs]
|
|
2332
|
+
# @see AttributeSets::ConntrackAttrs::CountersReply
|
|
2333
|
+
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
2334
|
+
|
|
2335
|
+
# @rbs return: ::Integer
|
|
2336
|
+
# @return [Integer]
|
|
2337
|
+
# @see AttributeSets::ConntrackAttrs::Use
|
|
2338
|
+
def use: () -> ::Integer
|
|
2339
|
+
|
|
2340
|
+
# @rbs return: ::Integer
|
|
2341
|
+
# @return [Integer]
|
|
2342
|
+
# @see AttributeSets::ConntrackAttrs::Id
|
|
2343
|
+
def id: () -> ::Integer
|
|
2344
|
+
|
|
2345
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
2346
|
+
# @return [AttributeSets::NatAttrs]
|
|
2347
|
+
# @see AttributeSets::ConntrackAttrs::NatDst
|
|
2348
|
+
def nat_dst: () -> AttributeSets::NatAttrs
|
|
2349
|
+
|
|
2350
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2351
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2352
|
+
# @see AttributeSets::ConntrackAttrs::TupleMaster
|
|
2353
|
+
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
2354
|
+
|
|
2355
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2356
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
2357
|
+
# @see AttributeSets::ConntrackAttrs::SeqAdjOrig
|
|
2358
|
+
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
2359
|
+
|
|
2360
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2361
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
2362
|
+
# @see AttributeSets::ConntrackAttrs::SeqAdjReply
|
|
2363
|
+
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
2364
|
+
|
|
2365
|
+
# conntrack zone id
|
|
2366
|
+
# @rbs return: ::Integer
|
|
2367
|
+
# @return [Integer]
|
|
2368
|
+
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2369
|
+
def zone: () -> ::Integer
|
|
2370
|
+
|
|
2371
|
+
# @rbs return: AttributeSets::SecctxAttrs
|
|
2372
|
+
# @return [AttributeSets::SecctxAttrs]
|
|
2373
|
+
# @see AttributeSets::ConntrackAttrs::Secctx
|
|
2374
|
+
def secctx: () -> AttributeSets::SecctxAttrs
|
|
2375
|
+
|
|
2376
|
+
# @rbs return: ::String
|
|
2377
|
+
# @return [String]
|
|
2378
|
+
# @see AttributeSets::ConntrackAttrs::Labels
|
|
2379
|
+
def labels: () -> ::String
|
|
2380
|
+
|
|
2381
|
+
# @rbs return: AttributeSets::SynproxyAttrs
|
|
2382
|
+
# @return [AttributeSets::SynproxyAttrs]
|
|
2383
|
+
# @see AttributeSets::ConntrackAttrs::Synproxy
|
|
2384
|
+
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
2385
|
+
end
|
|
2386
|
+
|
|
2387
|
+
# get / dump entries
|
|
2388
|
+
class DumpGetRequest < ::Nl::Raw::Message
|
|
2389
|
+
TYPE: ::Integer
|
|
2390
|
+
|
|
2391
|
+
FIXED_HEADER: untyped
|
|
2392
|
+
|
|
2393
|
+
ATTRIBUTE_SET: untyped
|
|
2394
|
+
|
|
2395
|
+
ATTRIBUTES: untyped
|
|
2396
|
+
|
|
2397
|
+
# @rbs return: ::Integer
|
|
2398
|
+
# @return [Integer]
|
|
2399
|
+
def nfgen_family: () -> ::Integer
|
|
2400
|
+
|
|
2401
|
+
# @rbs return: ::Integer
|
|
2402
|
+
# @return [Integer]
|
|
2403
|
+
def version: () -> ::Integer
|
|
2404
|
+
|
|
2405
|
+
# @rbs return: ::Integer
|
|
2406
|
+
# @return [Integer]
|
|
2407
|
+
def res_id: () -> ::Integer
|
|
2408
|
+
|
|
2409
|
+
# conntrack flag bits
|
|
2410
|
+
#
|
|
2411
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2412
|
+
# @rbs return: ::Integer
|
|
2413
|
+
# @return [Integer]
|
|
2414
|
+
# @see AttributeSets::ConntrackAttrs::Status
|
|
2415
|
+
def status: () -> ::Integer
|
|
2416
|
+
|
|
2417
|
+
# @rbs return: ::Integer
|
|
2418
|
+
# @return [Integer]
|
|
2419
|
+
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2420
|
+
def mark: () -> ::Integer
|
|
2421
|
+
|
|
2422
|
+
# conntrack zone id
|
|
2423
|
+
# @rbs return: ::Integer
|
|
2424
|
+
# @return [Integer]
|
|
2425
|
+
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2426
|
+
def zone: () -> ::Integer
|
|
2427
|
+
|
|
2428
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2429
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2430
|
+
# @see AttributeSets::ConntrackAttrs::Filter
|
|
2431
|
+
def filter: () -> AttributeSets::TupleAttrs
|
|
2432
|
+
end
|
|
2433
|
+
|
|
2434
|
+
# get / dump entries
|
|
2435
|
+
class DumpGetReply < ::Nl::Raw::Message
|
|
2436
|
+
TYPE: ::Integer
|
|
2437
|
+
|
|
2438
|
+
FIXED_HEADER: untyped
|
|
2439
|
+
|
|
2440
|
+
ATTRIBUTE_SET: untyped
|
|
2441
|
+
|
|
2442
|
+
ATTRIBUTES: untyped
|
|
2443
|
+
|
|
2444
|
+
# @rbs return: ::Integer
|
|
2445
|
+
# @return [Integer]
|
|
2446
|
+
def nfgen_family: () -> ::Integer
|
|
2447
|
+
|
|
2448
|
+
# @rbs return: ::Integer
|
|
2449
|
+
# @return [Integer]
|
|
2450
|
+
def version: () -> ::Integer
|
|
2451
|
+
|
|
2452
|
+
# @rbs return: ::Integer
|
|
2453
|
+
# @return [Integer]
|
|
2454
|
+
def res_id: () -> ::Integer
|
|
2455
|
+
|
|
2456
|
+
# conntrack l3+l4 protocol information, original direction
|
|
2457
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2458
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2459
|
+
# @see AttributeSets::ConntrackAttrs::TupleOrig
|
|
2460
|
+
def tuple_orig: () -> AttributeSets::TupleAttrs
|
|
2461
|
+
|
|
2462
|
+
# conntrack l3+l4 protocol information, reply direction
|
|
2463
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2464
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2465
|
+
# @see AttributeSets::ConntrackAttrs::TupleReply
|
|
2466
|
+
def tuple_reply: () -> AttributeSets::TupleAttrs
|
|
2467
|
+
|
|
2468
|
+
# conntrack flag bits
|
|
2469
|
+
#
|
|
2470
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2471
|
+
# @rbs return: ::Integer
|
|
2472
|
+
# @return [Integer]
|
|
2473
|
+
# @see AttributeSets::ConntrackAttrs::Status
|
|
2474
|
+
def status: () -> ::Integer
|
|
2475
|
+
|
|
2476
|
+
# @rbs return: AttributeSets::ProtoinfoAttrs
|
|
2477
|
+
# @return [AttributeSets::ProtoinfoAttrs]
|
|
2478
|
+
# @see AttributeSets::ConntrackAttrs::Protoinfo
|
|
2479
|
+
def protoinfo: () -> AttributeSets::ProtoinfoAttrs
|
|
2480
|
+
|
|
2481
|
+
# @rbs return: AttributeSets::HelpAttrs
|
|
2482
|
+
# @return [AttributeSets::HelpAttrs]
|
|
2483
|
+
# @see AttributeSets::ConntrackAttrs::Help
|
|
2484
|
+
def help: () -> AttributeSets::HelpAttrs
|
|
2485
|
+
|
|
2486
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
2487
|
+
# @return [AttributeSets::NatAttrs]
|
|
2488
|
+
# @see AttributeSets::ConntrackAttrs::NatSrc
|
|
2489
|
+
def nat_src: () -> AttributeSets::NatAttrs
|
|
2490
|
+
|
|
2491
|
+
# @rbs return: ::Integer
|
|
2492
|
+
# @return [Integer]
|
|
2493
|
+
# @see AttributeSets::ConntrackAttrs::Timeout
|
|
2494
|
+
def timeout: () -> ::Integer
|
|
2495
|
+
|
|
2496
|
+
# @rbs return: ::Integer
|
|
2497
|
+
# @return [Integer]
|
|
2498
|
+
# @see AttributeSets::ConntrackAttrs::Mark
|
|
2499
|
+
def mark: () -> ::Integer
|
|
2500
|
+
|
|
2501
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
2502
|
+
# @return [AttributeSets::CounterAttrs]
|
|
2503
|
+
# @see AttributeSets::ConntrackAttrs::CountersOrig
|
|
2504
|
+
def counters_orig: () -> AttributeSets::CounterAttrs
|
|
2505
|
+
|
|
2506
|
+
# @rbs return: AttributeSets::CounterAttrs
|
|
2507
|
+
# @return [AttributeSets::CounterAttrs]
|
|
2508
|
+
# @see AttributeSets::ConntrackAttrs::CountersReply
|
|
2509
|
+
def counters_reply: () -> AttributeSets::CounterAttrs
|
|
2510
|
+
|
|
2511
|
+
# @rbs return: ::Integer
|
|
2512
|
+
# @return [Integer]
|
|
2513
|
+
# @see AttributeSets::ConntrackAttrs::Use
|
|
2514
|
+
def use: () -> ::Integer
|
|
2515
|
+
|
|
2516
|
+
# @rbs return: ::Integer
|
|
2517
|
+
# @return [Integer]
|
|
2518
|
+
# @see AttributeSets::ConntrackAttrs::Id
|
|
2519
|
+
def id: () -> ::Integer
|
|
2520
|
+
|
|
2521
|
+
# @rbs return: AttributeSets::NatAttrs
|
|
2522
|
+
# @return [AttributeSets::NatAttrs]
|
|
2523
|
+
# @see AttributeSets::ConntrackAttrs::NatDst
|
|
2524
|
+
def nat_dst: () -> AttributeSets::NatAttrs
|
|
2525
|
+
|
|
2526
|
+
# @rbs return: AttributeSets::TupleAttrs
|
|
2527
|
+
# @return [AttributeSets::TupleAttrs]
|
|
2528
|
+
# @see AttributeSets::ConntrackAttrs::TupleMaster
|
|
2529
|
+
def tuple_master: () -> AttributeSets::TupleAttrs
|
|
2530
|
+
|
|
2531
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2532
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
2533
|
+
# @see AttributeSets::ConntrackAttrs::SeqAdjOrig
|
|
2534
|
+
def seq_adj_orig: () -> AttributeSets::SeqadjAttrs
|
|
2535
|
+
|
|
2536
|
+
# @rbs return: AttributeSets::SeqadjAttrs
|
|
2537
|
+
# @return [AttributeSets::SeqadjAttrs]
|
|
2538
|
+
# @see AttributeSets::ConntrackAttrs::SeqAdjReply
|
|
2539
|
+
def seq_adj_reply: () -> AttributeSets::SeqadjAttrs
|
|
2540
|
+
|
|
2541
|
+
# conntrack zone id
|
|
2542
|
+
# @rbs return: ::Integer
|
|
2543
|
+
# @return [Integer]
|
|
2544
|
+
# @see AttributeSets::ConntrackAttrs::Zone
|
|
2545
|
+
def zone: () -> ::Integer
|
|
2546
|
+
|
|
2547
|
+
# @rbs return: AttributeSets::SecctxAttrs
|
|
2548
|
+
# @return [AttributeSets::SecctxAttrs]
|
|
2549
|
+
# @see AttributeSets::ConntrackAttrs::Secctx
|
|
2550
|
+
def secctx: () -> AttributeSets::SecctxAttrs
|
|
2551
|
+
|
|
2552
|
+
# @rbs return: ::String
|
|
2553
|
+
# @return [String]
|
|
2554
|
+
# @see AttributeSets::ConntrackAttrs::Labels
|
|
2555
|
+
def labels: () -> ::String
|
|
2556
|
+
|
|
2557
|
+
# @rbs return: AttributeSets::SynproxyAttrs
|
|
2558
|
+
# @return [AttributeSets::SynproxyAttrs]
|
|
2559
|
+
# @see AttributeSets::ConntrackAttrs::Synproxy
|
|
2560
|
+
def synproxy: () -> AttributeSets::SynproxyAttrs
|
|
2561
|
+
end
|
|
2562
|
+
|
|
2563
|
+
# dump pcpu conntrack stats
|
|
2564
|
+
class DumpGetStatsRequest < ::Nl::Raw::Message
|
|
2565
|
+
TYPE: ::Integer
|
|
2566
|
+
|
|
2567
|
+
FIXED_HEADER: untyped
|
|
2568
|
+
|
|
2569
|
+
ATTRIBUTE_SET: untyped
|
|
2570
|
+
|
|
2571
|
+
ATTRIBUTES: untyped
|
|
2572
|
+
|
|
2573
|
+
# @rbs return: ::Integer
|
|
2574
|
+
# @return [Integer]
|
|
2575
|
+
def nfgen_family: () -> ::Integer
|
|
2576
|
+
|
|
2577
|
+
# @rbs return: ::Integer
|
|
2578
|
+
# @return [Integer]
|
|
2579
|
+
def version: () -> ::Integer
|
|
2580
|
+
|
|
2581
|
+
# @rbs return: ::Integer
|
|
2582
|
+
# @return [Integer]
|
|
2583
|
+
def res_id: () -> ::Integer
|
|
2584
|
+
end
|
|
2585
|
+
|
|
2586
|
+
# dump pcpu conntrack stats
|
|
2587
|
+
class DumpGetStatsReply < ::Nl::Raw::Message
|
|
2588
|
+
TYPE: ::Integer
|
|
2589
|
+
|
|
2590
|
+
FIXED_HEADER: untyped
|
|
2591
|
+
|
|
2592
|
+
ATTRIBUTE_SET: untyped
|
|
2593
|
+
|
|
2594
|
+
ATTRIBUTES: untyped
|
|
2595
|
+
|
|
2596
|
+
# @rbs return: ::Integer
|
|
2597
|
+
# @return [Integer]
|
|
2598
|
+
def nfgen_family: () -> ::Integer
|
|
2599
|
+
|
|
2600
|
+
# @rbs return: ::Integer
|
|
2601
|
+
# @return [Integer]
|
|
2602
|
+
def version: () -> ::Integer
|
|
2603
|
+
|
|
2604
|
+
# @rbs return: ::Integer
|
|
2605
|
+
# @return [Integer]
|
|
2606
|
+
def res_id: () -> ::Integer
|
|
2607
|
+
|
|
2608
|
+
# obsolete
|
|
2609
|
+
# @rbs return: ::Integer
|
|
2610
|
+
# @return [Integer]
|
|
2611
|
+
# @see AttributeSets::ConntrackStatsAttrs::Searched
|
|
2612
|
+
def searched: () -> ::Integer
|
|
2613
|
+
|
|
2614
|
+
# @rbs return: ::Integer
|
|
2615
|
+
# @return [Integer]
|
|
2616
|
+
# @see AttributeSets::ConntrackStatsAttrs::Found
|
|
2617
|
+
def found: () -> ::Integer
|
|
2618
|
+
|
|
2619
|
+
# @rbs return: ::Integer
|
|
2620
|
+
# @return [Integer]
|
|
2621
|
+
# @see AttributeSets::ConntrackStatsAttrs::Insert
|
|
2622
|
+
def insert: () -> ::Integer
|
|
2623
|
+
|
|
2624
|
+
# @rbs return: ::Integer
|
|
2625
|
+
# @return [Integer]
|
|
2626
|
+
# @see AttributeSets::ConntrackStatsAttrs::InsertFailed
|
|
2627
|
+
def insert_failed: () -> ::Integer
|
|
2628
|
+
|
|
2629
|
+
# @rbs return: ::Integer
|
|
2630
|
+
# @return [Integer]
|
|
2631
|
+
# @see AttributeSets::ConntrackStatsAttrs::Drop
|
|
2632
|
+
def drop: () -> ::Integer
|
|
2633
|
+
|
|
2634
|
+
# @rbs return: ::Integer
|
|
2635
|
+
# @return [Integer]
|
|
2636
|
+
# @see AttributeSets::ConntrackStatsAttrs::EarlyDrop
|
|
2637
|
+
def early_drop: () -> ::Integer
|
|
2638
|
+
|
|
2639
|
+
# @rbs return: ::Integer
|
|
2640
|
+
# @return [Integer]
|
|
2641
|
+
# @see AttributeSets::ConntrackStatsAttrs::Error
|
|
2642
|
+
def error: () -> ::Integer
|
|
2643
|
+
|
|
2644
|
+
# @rbs return: ::Integer
|
|
2645
|
+
# @return [Integer]
|
|
2646
|
+
# @see AttributeSets::ConntrackStatsAttrs::SearchRestart
|
|
2647
|
+
def search_restart: () -> ::Integer
|
|
2648
|
+
|
|
2649
|
+
# @rbs return: ::Integer
|
|
2650
|
+
# @return [Integer]
|
|
2651
|
+
# @see AttributeSets::ConntrackStatsAttrs::ClashResolve
|
|
2652
|
+
def clash_resolve: () -> ::Integer
|
|
2653
|
+
|
|
2654
|
+
# @rbs return: ::Integer
|
|
2655
|
+
# @return [Integer]
|
|
2656
|
+
# @see AttributeSets::ConntrackStatsAttrs::ChainToolong
|
|
2657
|
+
def chain_toolong: () -> ::Integer
|
|
2658
|
+
end
|
|
2659
|
+
end
|
|
2660
|
+
|
|
2661
|
+
module Notifications
|
|
2662
|
+
end
|
|
2663
|
+
|
|
2664
|
+
# @private
|
|
2665
|
+
NOTIFICATIONS: Hash[::Integer, ::Class]
|
|
2666
|
+
|
|
2667
|
+
# get / dump entries
|
|
2668
|
+
# @rbs (?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
|
|
2669
|
+
# @param [Hash] args
|
|
2670
|
+
# @option args [Integer] nfgen_family
|
|
2671
|
+
# @option args [Integer] version
|
|
2672
|
+
# @option args [Integer] res_id
|
|
2673
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_orig conntrack l3+l4 protocol information, original direction
|
|
2674
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_reply conntrack l3+l4 protocol information, reply direction
|
|
2675
|
+
# @option args [Integer] zone conntrack zone id
|
|
2676
|
+
# @return [Messages::DoGetReply]
|
|
2677
|
+
# @see Messages::DoGetRequest
|
|
2678
|
+
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
|
+
|
|
2680
|
+
# get / dump entries
|
|
2681
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped])) -> Array[Messages::DumpGetReply]
|
|
2682
|
+
# | (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped])) { (Messages::DumpGetReply) -> void } -> void
|
|
2683
|
+
# @overload dump_get(**args)
|
|
2684
|
+
# Returns an array when no block is given.
|
|
2685
|
+
# @param [Hash] args
|
|
2686
|
+
# @option args [Integer] nfgen_family
|
|
2687
|
+
# @option args [Integer] version
|
|
2688
|
+
# @option args [Integer] res_id
|
|
2689
|
+
# @option args [Integer] status conntrack flag bits
|
|
2690
|
+
#
|
|
2691
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2692
|
+
# @option args [Integer] mark
|
|
2693
|
+
# @option args [Integer] zone conntrack zone id
|
|
2694
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] filter
|
|
2695
|
+
# @return [Array<Messages::DumpGetReply>]
|
|
2696
|
+
# @overload dump_get(**args, &block)
|
|
2697
|
+
# Yields each reply when a block is given.
|
|
2698
|
+
# @param [Hash] args
|
|
2699
|
+
# @option args [Integer] nfgen_family
|
|
2700
|
+
# @option args [Integer] version
|
|
2701
|
+
# @option args [Integer] res_id
|
|
2702
|
+
# @option args [Integer] status conntrack flag bits
|
|
2703
|
+
#
|
|
2704
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2705
|
+
# @option args [Integer] mark
|
|
2706
|
+
# @option args [Integer] zone conntrack zone id
|
|
2707
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] filter
|
|
2708
|
+
# @yieldparam [Messages::DumpGetReply] reply
|
|
2709
|
+
# @return [void]
|
|
2710
|
+
# @see Messages::DumpGetRequest
|
|
2711
|
+
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]) -> Array[Messages::DumpGetReply]
|
|
2712
|
+
| (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]) { (Messages::DumpGetReply) -> void } -> void
|
|
2713
|
+
|
|
2714
|
+
# dump pcpu conntrack stats
|
|
2715
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> Array[Messages::DumpGetStatsReply]
|
|
2716
|
+
# | (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) { (Messages::DumpGetStatsReply) -> void } -> void
|
|
2717
|
+
# @overload dump_get_stats(**args)
|
|
2718
|
+
# Returns an array when no block is given.
|
|
2719
|
+
# @param [Hash] args
|
|
2720
|
+
# @option args [Integer] nfgen_family
|
|
2721
|
+
# @option args [Integer] version
|
|
2722
|
+
# @option args [Integer] res_id
|
|
2723
|
+
# @return [Array<Messages::DumpGetStatsReply>]
|
|
2724
|
+
# @overload dump_get_stats(**args, &block)
|
|
2725
|
+
# Yields each reply when a block is given.
|
|
2726
|
+
# @param [Hash] args
|
|
2727
|
+
# @option args [Integer] nfgen_family
|
|
2728
|
+
# @option args [Integer] version
|
|
2729
|
+
# @option args [Integer] res_id
|
|
2730
|
+
# @yieldparam [Messages::DumpGetStatsReply] reply
|
|
2731
|
+
# @return [void]
|
|
2732
|
+
# @see Messages::DumpGetStatsRequest
|
|
2733
|
+
def dump_get_stats: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> Array[Messages::DumpGetStatsReply]
|
|
2734
|
+
| (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) { (Messages::DumpGetStatsReply) -> void } -> void
|
|
2735
|
+
|
|
2736
|
+
class AsyncOperations
|
|
2737
|
+
# @private
|
|
2738
|
+
def initialize: () ?{ (?) -> untyped } -> untyped
|
|
2739
|
+
|
|
2740
|
+
# get / dump entries
|
|
2741
|
+
# @rbs (?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]
|
|
2742
|
+
# @param [Hash] args
|
|
2743
|
+
# @option args [Integer] nfgen_family
|
|
2744
|
+
# @option args [Integer] version
|
|
2745
|
+
# @option args [Integer] res_id
|
|
2746
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_orig conntrack l3+l4 protocol information, original direction
|
|
2747
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] tuple_reply conntrack l3+l4 protocol information, reply direction
|
|
2748
|
+
# @option args [Integer] zone conntrack zone id
|
|
2749
|
+
# @return [Nl::Async::Future<Messages::DoGetReply>]
|
|
2750
|
+
# @see Messages::DoGetRequest
|
|
2751
|
+
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
|
+
|
|
2753
|
+
# get / dump entries
|
|
2754
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: (AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Stream[Messages::DumpGetReply]
|
|
2755
|
+
# @param [Hash] args
|
|
2756
|
+
# @option args [Integer] nfgen_family
|
|
2757
|
+
# @option args [Integer] version
|
|
2758
|
+
# @option args [Integer] res_id
|
|
2759
|
+
# @option args [Integer] status conntrack flag bits
|
|
2760
|
+
#
|
|
2761
|
+
# Known flags are defined in {Flags::NfCtStatus}.
|
|
2762
|
+
# @option args [Integer] mark
|
|
2763
|
+
# @option args [Integer] zone conntrack zone id
|
|
2764
|
+
# @option args [AttributeSets::TupleAttrs, Hash<Symbol, Object>] filter
|
|
2765
|
+
# @return [Nl::Async::Stream<Messages::DumpGetReply>]
|
|
2766
|
+
# @see Messages::DumpGetRequest
|
|
2767
|
+
def dump_get: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer, ?status: ::Integer, ?mark: ::Integer, ?zone: ::Integer, ?filter: AttributeSets::TupleAttrs | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Stream[Messages::DumpGetReply]
|
|
2768
|
+
|
|
2769
|
+
# dump pcpu conntrack stats
|
|
2770
|
+
# @rbs (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> ::Nl::Async::Stream[Messages::DumpGetStatsReply]
|
|
2771
|
+
# @param [Hash] args
|
|
2772
|
+
# @option args [Integer] nfgen_family
|
|
2773
|
+
# @option args [Integer] version
|
|
2774
|
+
# @option args [Integer] res_id
|
|
2775
|
+
# @return [Nl::Async::Stream<Messages::DumpGetStatsReply>]
|
|
2776
|
+
# @see Messages::DumpGetStatsRequest
|
|
2777
|
+
def dump_get_stats: (?nfgen_family: ::Integer, ?version: ::Integer, ?res_id: ::Integer) -> ::Nl::Async::Stream[Messages::DumpGetStatsReply]
|
|
2778
|
+
end
|
|
2779
|
+
|
|
2780
|
+
# Returns the asynchronous operation facade for this family.
|
|
2781
|
+
# @rbs (?stream_capacity: ::Integer?) -> AsyncOperations
|
|
2782
|
+
# @param [::Integer, nil] stream_capacity
|
|
2783
|
+
# @return [AsyncOperations]
|
|
2784
|
+
def async: (?stream_capacity: ::Integer?) -> AsyncOperations
|
|
2785
|
+
end
|
|
2786
|
+
end
|
|
2787
|
+
end
|