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,1511 @@
|
|
|
1
|
+
# Generated from generated/nl/linux/mptcp_pm.rb with RBS::Inline
|
|
2
|
+
|
|
3
|
+
module Nl
|
|
4
|
+
module Linux
|
|
5
|
+
# Multipath TCP.
|
|
6
|
+
class MptcpPm < ::Nl::Genl::Family
|
|
7
|
+
NAME: ::String
|
|
8
|
+
|
|
9
|
+
VERSION: ::Integer
|
|
10
|
+
|
|
11
|
+
# @rbs (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
|
|
12
|
+
# @rbs | [R] (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) { (instance) -> R } -> R
|
|
13
|
+
# @overload open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY)
|
|
14
|
+
# @param [#call] resolver
|
|
15
|
+
# @param [Symbol, nil] executor
|
|
16
|
+
# @param [Integer, nil] notification_capacity
|
|
17
|
+
# @return [MptcpPm]
|
|
18
|
+
# @overload open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY, &block)
|
|
19
|
+
# @param [#call] resolver
|
|
20
|
+
# @param [Symbol, nil] executor
|
|
21
|
+
# @param [Integer, nil] notification_capacity
|
|
22
|
+
# @yieldparam [MptcpPm] family
|
|
23
|
+
# @return [Object] the result of the block
|
|
24
|
+
def self.open: (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
|
|
25
|
+
|
|
26
|
+
# @private
|
|
27
|
+
MCAST_GROUPS: Hash[::Symbol, ::Nl::McastGroup]
|
|
28
|
+
|
|
29
|
+
module Enums
|
|
30
|
+
# Netlink MPTCP event types
|
|
31
|
+
module EventType
|
|
32
|
+
# unused event
|
|
33
|
+
Unspec: ::Integer
|
|
34
|
+
|
|
35
|
+
# A new MPTCP connection has been created. It is the good time to allocate memory and send ADD_ADDR if needed. Depending on the traffic-patterns it can take a long time until the MPTCP_EVENT_ESTABLISHED is sent. Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport, [server-side], [flags].
|
|
36
|
+
Created: ::Integer
|
|
37
|
+
|
|
38
|
+
# A MPTCP connection is established (can start new subflows). Attributes: token, family, saddr4 | saddr6, daddr4 | daddr6, sport, dport, [server-side], [flags].
|
|
39
|
+
Established: ::Integer
|
|
40
|
+
|
|
41
|
+
# A MPTCP connection has stopped. Attribute: token.
|
|
42
|
+
Closed: ::Integer
|
|
43
|
+
|
|
44
|
+
# A new address has been announced by the peer. Attributes: token, rem_id, family, daddr4 | daddr6 [, dport].
|
|
45
|
+
Announced: ::Integer
|
|
46
|
+
|
|
47
|
+
# An address has been lost by the peer. Attributes: token, rem_id.
|
|
48
|
+
Removed: ::Integer
|
|
49
|
+
|
|
50
|
+
# A new subflow has been established. 'error' should not be set. Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport, dport, backup, if-idx [, error].
|
|
51
|
+
SubEstablished: ::Integer
|
|
52
|
+
|
|
53
|
+
# A subflow has been closed. An error (copy of sk_err) could be set if an error has been detected for this subflow. Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport, dport, backup, if-idx [, error].
|
|
54
|
+
SubClosed: ::Integer
|
|
55
|
+
|
|
56
|
+
# The priority of a subflow has changed. 'error' should not be set. Attributes: token, family, loc_id, rem_id, saddr4 | saddr6, daddr4 | daddr6, sport, dport, backup, if-idx [, error].
|
|
57
|
+
SubPriority: ::Integer
|
|
58
|
+
|
|
59
|
+
# A new PM listener is created. Attributes: family, sport, saddr4 | saddr6.
|
|
60
|
+
ListenerCreated: ::Integer
|
|
61
|
+
|
|
62
|
+
# A PM listener is closed. Attributes: family, sport, saddr4 | saddr6.
|
|
63
|
+
ListenerClosed: ::Integer
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
module Structs
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
module AttributeSets
|
|
71
|
+
class Address < ::Nl::AttributeSet
|
|
72
|
+
# Abstract class
|
|
73
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
74
|
+
end
|
|
75
|
+
|
|
76
|
+
class Family < Attribute
|
|
77
|
+
TYPE: ::Integer
|
|
78
|
+
|
|
79
|
+
NAME: ::Symbol
|
|
80
|
+
|
|
81
|
+
# @private
|
|
82
|
+
ORDER: ::Integer
|
|
83
|
+
|
|
84
|
+
# @private
|
|
85
|
+
DATATYPE: untyped
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
class Id < Attribute
|
|
89
|
+
TYPE: ::Integer
|
|
90
|
+
|
|
91
|
+
NAME: ::Symbol
|
|
92
|
+
|
|
93
|
+
# @private
|
|
94
|
+
ORDER: ::Integer
|
|
95
|
+
|
|
96
|
+
# @private
|
|
97
|
+
DATATYPE: untyped
|
|
98
|
+
end
|
|
99
|
+
|
|
100
|
+
class Addr4 < Attribute
|
|
101
|
+
TYPE: ::Integer
|
|
102
|
+
|
|
103
|
+
NAME: ::Symbol
|
|
104
|
+
|
|
105
|
+
# @private
|
|
106
|
+
ORDER: ::Integer
|
|
107
|
+
|
|
108
|
+
# @private
|
|
109
|
+
DATATYPE: untyped
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
class Addr6 < Attribute
|
|
113
|
+
TYPE: ::Integer
|
|
114
|
+
|
|
115
|
+
NAME: ::Symbol
|
|
116
|
+
|
|
117
|
+
# @private
|
|
118
|
+
ORDER: ::Integer
|
|
119
|
+
|
|
120
|
+
# @private
|
|
121
|
+
DATATYPE: untyped
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
class Port < Attribute
|
|
125
|
+
TYPE: ::Integer
|
|
126
|
+
|
|
127
|
+
NAME: ::Symbol
|
|
128
|
+
|
|
129
|
+
# @private
|
|
130
|
+
ORDER: ::Integer
|
|
131
|
+
|
|
132
|
+
# @private
|
|
133
|
+
DATATYPE: untyped
|
|
134
|
+
end
|
|
135
|
+
|
|
136
|
+
class Flags < Attribute
|
|
137
|
+
TYPE: ::Integer
|
|
138
|
+
|
|
139
|
+
NAME: ::Symbol
|
|
140
|
+
|
|
141
|
+
# @private
|
|
142
|
+
ORDER: ::Integer
|
|
143
|
+
|
|
144
|
+
# @private
|
|
145
|
+
DATATYPE: untyped
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
class IfIdx < Attribute
|
|
149
|
+
TYPE: ::Integer
|
|
150
|
+
|
|
151
|
+
NAME: ::Symbol
|
|
152
|
+
|
|
153
|
+
# @private
|
|
154
|
+
ORDER: ::Integer
|
|
155
|
+
|
|
156
|
+
# @private
|
|
157
|
+
DATATYPE: untyped
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
# @private
|
|
161
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
162
|
+
|
|
163
|
+
# @private
|
|
164
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
165
|
+
|
|
166
|
+
# @rbs return: ::Integer
|
|
167
|
+
# @return [Integer]
|
|
168
|
+
# @see Family
|
|
169
|
+
def family: () -> ::Integer
|
|
170
|
+
|
|
171
|
+
# @rbs return: ::Integer
|
|
172
|
+
# @return [Integer]
|
|
173
|
+
# @see Id
|
|
174
|
+
def id: () -> ::Integer
|
|
175
|
+
|
|
176
|
+
# @rbs return: ::Integer
|
|
177
|
+
# @return [Integer]
|
|
178
|
+
# @see Addr4
|
|
179
|
+
def addr4: () -> ::Integer
|
|
180
|
+
|
|
181
|
+
# @rbs return: ::String
|
|
182
|
+
# @return [String]
|
|
183
|
+
# @see Addr6
|
|
184
|
+
def addr6: () -> ::String
|
|
185
|
+
|
|
186
|
+
# @rbs return: ::Integer
|
|
187
|
+
# @return [Integer]
|
|
188
|
+
# @see Port
|
|
189
|
+
def port: () -> ::Integer
|
|
190
|
+
|
|
191
|
+
# @rbs return: ::Integer
|
|
192
|
+
# @return [Integer]
|
|
193
|
+
# @see Flags
|
|
194
|
+
def flags: () -> ::Integer
|
|
195
|
+
|
|
196
|
+
# @rbs return: ::Integer
|
|
197
|
+
# @return [Integer]
|
|
198
|
+
# @see IfIdx
|
|
199
|
+
def if_idx: () -> ::Integer
|
|
200
|
+
|
|
201
|
+
# Looks up Attribute class by name.
|
|
202
|
+
# @rbs name: Symbol
|
|
203
|
+
# @rbs return: Attribute
|
|
204
|
+
# @param [Symbol] name
|
|
205
|
+
# @return [Attribute]
|
|
206
|
+
def self.by_name: (Symbol name) -> Attribute
|
|
207
|
+
|
|
208
|
+
# Looks up Attribute class by type value.
|
|
209
|
+
# @rbs type: Integer
|
|
210
|
+
# @rbs return: Attribute
|
|
211
|
+
# @param [Integer] type
|
|
212
|
+
# @return [Attribute]
|
|
213
|
+
def self.by_type: (Integer type) -> Attribute
|
|
214
|
+
end
|
|
215
|
+
|
|
216
|
+
class SubflowAttribute < ::Nl::AttributeSet
|
|
217
|
+
# Abstract class
|
|
218
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class TokenRem < Attribute
|
|
222
|
+
TYPE: ::Integer
|
|
223
|
+
|
|
224
|
+
NAME: ::Symbol
|
|
225
|
+
|
|
226
|
+
# @private
|
|
227
|
+
ORDER: ::Integer
|
|
228
|
+
|
|
229
|
+
# @private
|
|
230
|
+
DATATYPE: untyped
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
class TokenLoc < Attribute
|
|
234
|
+
TYPE: ::Integer
|
|
235
|
+
|
|
236
|
+
NAME: ::Symbol
|
|
237
|
+
|
|
238
|
+
# @private
|
|
239
|
+
ORDER: ::Integer
|
|
240
|
+
|
|
241
|
+
# @private
|
|
242
|
+
DATATYPE: untyped
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
class RelwriteSeq < Attribute
|
|
246
|
+
TYPE: ::Integer
|
|
247
|
+
|
|
248
|
+
NAME: ::Symbol
|
|
249
|
+
|
|
250
|
+
# @private
|
|
251
|
+
ORDER: ::Integer
|
|
252
|
+
|
|
253
|
+
# @private
|
|
254
|
+
DATATYPE: untyped
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
class MapSeq < Attribute
|
|
258
|
+
TYPE: ::Integer
|
|
259
|
+
|
|
260
|
+
NAME: ::Symbol
|
|
261
|
+
|
|
262
|
+
# @private
|
|
263
|
+
ORDER: ::Integer
|
|
264
|
+
|
|
265
|
+
# @private
|
|
266
|
+
DATATYPE: untyped
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
class MapSfseq < Attribute
|
|
270
|
+
TYPE: ::Integer
|
|
271
|
+
|
|
272
|
+
NAME: ::Symbol
|
|
273
|
+
|
|
274
|
+
# @private
|
|
275
|
+
ORDER: ::Integer
|
|
276
|
+
|
|
277
|
+
# @private
|
|
278
|
+
DATATYPE: untyped
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
class SsnOffset < Attribute
|
|
282
|
+
TYPE: ::Integer
|
|
283
|
+
|
|
284
|
+
NAME: ::Symbol
|
|
285
|
+
|
|
286
|
+
# @private
|
|
287
|
+
ORDER: ::Integer
|
|
288
|
+
|
|
289
|
+
# @private
|
|
290
|
+
DATATYPE: untyped
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
class MapDatalen < Attribute
|
|
294
|
+
TYPE: ::Integer
|
|
295
|
+
|
|
296
|
+
NAME: ::Symbol
|
|
297
|
+
|
|
298
|
+
# @private
|
|
299
|
+
ORDER: ::Integer
|
|
300
|
+
|
|
301
|
+
# @private
|
|
302
|
+
DATATYPE: untyped
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
class Flags < Attribute
|
|
306
|
+
TYPE: ::Integer
|
|
307
|
+
|
|
308
|
+
NAME: ::Symbol
|
|
309
|
+
|
|
310
|
+
# @private
|
|
311
|
+
ORDER: ::Integer
|
|
312
|
+
|
|
313
|
+
# @private
|
|
314
|
+
DATATYPE: untyped
|
|
315
|
+
end
|
|
316
|
+
|
|
317
|
+
class IdRem < Attribute
|
|
318
|
+
TYPE: ::Integer
|
|
319
|
+
|
|
320
|
+
NAME: ::Symbol
|
|
321
|
+
|
|
322
|
+
# @private
|
|
323
|
+
ORDER: ::Integer
|
|
324
|
+
|
|
325
|
+
# @private
|
|
326
|
+
DATATYPE: untyped
|
|
327
|
+
end
|
|
328
|
+
|
|
329
|
+
class IdLoc < Attribute
|
|
330
|
+
TYPE: ::Integer
|
|
331
|
+
|
|
332
|
+
NAME: ::Symbol
|
|
333
|
+
|
|
334
|
+
# @private
|
|
335
|
+
ORDER: ::Integer
|
|
336
|
+
|
|
337
|
+
# @private
|
|
338
|
+
DATATYPE: untyped
|
|
339
|
+
end
|
|
340
|
+
|
|
341
|
+
class Pad < Attribute
|
|
342
|
+
TYPE: ::Integer
|
|
343
|
+
|
|
344
|
+
NAME: ::Symbol
|
|
345
|
+
|
|
346
|
+
# @private
|
|
347
|
+
ORDER: ::Integer
|
|
348
|
+
|
|
349
|
+
# @private
|
|
350
|
+
DATATYPE: untyped
|
|
351
|
+
end
|
|
352
|
+
|
|
353
|
+
# @private
|
|
354
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
355
|
+
|
|
356
|
+
# @private
|
|
357
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
358
|
+
|
|
359
|
+
# @rbs return: ::Integer
|
|
360
|
+
# @return [Integer]
|
|
361
|
+
# @see TokenRem
|
|
362
|
+
def token_rem: () -> ::Integer
|
|
363
|
+
|
|
364
|
+
# @rbs return: ::Integer
|
|
365
|
+
# @return [Integer]
|
|
366
|
+
# @see TokenLoc
|
|
367
|
+
def token_loc: () -> ::Integer
|
|
368
|
+
|
|
369
|
+
# @rbs return: ::Integer
|
|
370
|
+
# @return [Integer]
|
|
371
|
+
# @see RelwriteSeq
|
|
372
|
+
def relwrite_seq: () -> ::Integer
|
|
373
|
+
|
|
374
|
+
# @rbs return: ::Integer
|
|
375
|
+
# @return [Integer]
|
|
376
|
+
# @see MapSeq
|
|
377
|
+
def map_seq: () -> ::Integer
|
|
378
|
+
|
|
379
|
+
# @rbs return: ::Integer
|
|
380
|
+
# @return [Integer]
|
|
381
|
+
# @see MapSfseq
|
|
382
|
+
def map_sfseq: () -> ::Integer
|
|
383
|
+
|
|
384
|
+
# @rbs return: ::Integer
|
|
385
|
+
# @return [Integer]
|
|
386
|
+
# @see SsnOffset
|
|
387
|
+
def ssn_offset: () -> ::Integer
|
|
388
|
+
|
|
389
|
+
# @rbs return: ::Integer
|
|
390
|
+
# @return [Integer]
|
|
391
|
+
# @see MapDatalen
|
|
392
|
+
def map_datalen: () -> ::Integer
|
|
393
|
+
|
|
394
|
+
# @rbs return: ::Integer
|
|
395
|
+
# @return [Integer]
|
|
396
|
+
# @see Flags
|
|
397
|
+
def flags: () -> ::Integer
|
|
398
|
+
|
|
399
|
+
# @rbs return: ::Integer
|
|
400
|
+
# @return [Integer]
|
|
401
|
+
# @see IdRem
|
|
402
|
+
def id_rem: () -> ::Integer
|
|
403
|
+
|
|
404
|
+
# @rbs return: ::Integer
|
|
405
|
+
# @return [Integer]
|
|
406
|
+
# @see IdLoc
|
|
407
|
+
def id_loc: () -> ::Integer
|
|
408
|
+
|
|
409
|
+
# Looks up Attribute class by name.
|
|
410
|
+
# @rbs name: Symbol
|
|
411
|
+
# @rbs return: Attribute
|
|
412
|
+
# @param [Symbol] name
|
|
413
|
+
# @return [Attribute]
|
|
414
|
+
def self.by_name: (Symbol name) -> Attribute
|
|
415
|
+
|
|
416
|
+
# Looks up Attribute class by type value.
|
|
417
|
+
# @rbs type: Integer
|
|
418
|
+
# @rbs return: Attribute
|
|
419
|
+
# @param [Integer] type
|
|
420
|
+
# @return [Attribute]
|
|
421
|
+
def self.by_type: (Integer type) -> Attribute
|
|
422
|
+
end
|
|
423
|
+
|
|
424
|
+
class Endpoint < ::Nl::AttributeSet
|
|
425
|
+
# Abstract class
|
|
426
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
427
|
+
end
|
|
428
|
+
|
|
429
|
+
class Addr < Attribute
|
|
430
|
+
TYPE: ::Integer
|
|
431
|
+
|
|
432
|
+
NAME: ::Symbol
|
|
433
|
+
|
|
434
|
+
# @private
|
|
435
|
+
ORDER: ::Integer
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# @private
|
|
439
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
440
|
+
|
|
441
|
+
# @private
|
|
442
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
443
|
+
|
|
444
|
+
# @rbs return: AttributeSets::Address
|
|
445
|
+
# @return [AttributeSets::Address]
|
|
446
|
+
# @see Addr
|
|
447
|
+
def addr: () -> AttributeSets::Address
|
|
448
|
+
|
|
449
|
+
# Looks up Attribute class by name.
|
|
450
|
+
# @rbs name: Symbol
|
|
451
|
+
# @rbs return: Attribute
|
|
452
|
+
# @param [Symbol] name
|
|
453
|
+
# @return [Attribute]
|
|
454
|
+
def self.by_name: (Symbol name) -> Attribute
|
|
455
|
+
|
|
456
|
+
# Looks up Attribute class by type value.
|
|
457
|
+
# @rbs type: Integer
|
|
458
|
+
# @rbs return: Attribute
|
|
459
|
+
# @param [Integer] type
|
|
460
|
+
# @return [Attribute]
|
|
461
|
+
def self.by_type: (Integer type) -> Attribute
|
|
462
|
+
end
|
|
463
|
+
|
|
464
|
+
class Attr < ::Nl::AttributeSet
|
|
465
|
+
# Abstract class
|
|
466
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
467
|
+
end
|
|
468
|
+
|
|
469
|
+
class Addr < Attribute
|
|
470
|
+
TYPE: ::Integer
|
|
471
|
+
|
|
472
|
+
NAME: ::Symbol
|
|
473
|
+
|
|
474
|
+
# @private
|
|
475
|
+
ORDER: ::Integer
|
|
476
|
+
end
|
|
477
|
+
|
|
478
|
+
class RcvAddAddrs < Attribute
|
|
479
|
+
TYPE: ::Integer
|
|
480
|
+
|
|
481
|
+
NAME: ::Symbol
|
|
482
|
+
|
|
483
|
+
# @private
|
|
484
|
+
ORDER: ::Integer
|
|
485
|
+
|
|
486
|
+
# @private
|
|
487
|
+
DATATYPE: untyped
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
class Subflows < Attribute
|
|
491
|
+
TYPE: ::Integer
|
|
492
|
+
|
|
493
|
+
NAME: ::Symbol
|
|
494
|
+
|
|
495
|
+
# @private
|
|
496
|
+
ORDER: ::Integer
|
|
497
|
+
|
|
498
|
+
# @private
|
|
499
|
+
DATATYPE: untyped
|
|
500
|
+
end
|
|
501
|
+
|
|
502
|
+
class Token < Attribute
|
|
503
|
+
TYPE: ::Integer
|
|
504
|
+
|
|
505
|
+
NAME: ::Symbol
|
|
506
|
+
|
|
507
|
+
# @private
|
|
508
|
+
ORDER: ::Integer
|
|
509
|
+
|
|
510
|
+
# @private
|
|
511
|
+
DATATYPE: untyped
|
|
512
|
+
end
|
|
513
|
+
|
|
514
|
+
class LocId < Attribute
|
|
515
|
+
TYPE: ::Integer
|
|
516
|
+
|
|
517
|
+
NAME: ::Symbol
|
|
518
|
+
|
|
519
|
+
# @private
|
|
520
|
+
ORDER: ::Integer
|
|
521
|
+
|
|
522
|
+
# @private
|
|
523
|
+
DATATYPE: untyped
|
|
524
|
+
end
|
|
525
|
+
|
|
526
|
+
class AddrRemote < Attribute
|
|
527
|
+
TYPE: ::Integer
|
|
528
|
+
|
|
529
|
+
NAME: ::Symbol
|
|
530
|
+
|
|
531
|
+
# @private
|
|
532
|
+
ORDER: ::Integer
|
|
533
|
+
end
|
|
534
|
+
|
|
535
|
+
# @private
|
|
536
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
537
|
+
|
|
538
|
+
# @private
|
|
539
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
540
|
+
|
|
541
|
+
# @rbs return: AttributeSets::Address
|
|
542
|
+
# @return [AttributeSets::Address]
|
|
543
|
+
# @see Addr
|
|
544
|
+
def addr: () -> AttributeSets::Address
|
|
545
|
+
|
|
546
|
+
# @rbs return: ::Integer
|
|
547
|
+
# @return [Integer]
|
|
548
|
+
# @see RcvAddAddrs
|
|
549
|
+
def rcv_add_addrs: () -> ::Integer
|
|
550
|
+
|
|
551
|
+
# @rbs return: ::Integer
|
|
552
|
+
# @return [Integer]
|
|
553
|
+
# @see Subflows
|
|
554
|
+
def subflows: () -> ::Integer
|
|
555
|
+
|
|
556
|
+
# @rbs return: ::Integer
|
|
557
|
+
# @return [Integer]
|
|
558
|
+
# @see Token
|
|
559
|
+
def token: () -> ::Integer
|
|
560
|
+
|
|
561
|
+
# @rbs return: ::Integer
|
|
562
|
+
# @return [Integer]
|
|
563
|
+
# @see LocId
|
|
564
|
+
def loc_id: () -> ::Integer
|
|
565
|
+
|
|
566
|
+
# @rbs return: AttributeSets::Address
|
|
567
|
+
# @return [AttributeSets::Address]
|
|
568
|
+
# @see AddrRemote
|
|
569
|
+
def addr_remote: () -> AttributeSets::Address
|
|
570
|
+
|
|
571
|
+
# Looks up Attribute class by name.
|
|
572
|
+
# @rbs name: Symbol
|
|
573
|
+
# @rbs return: Attribute
|
|
574
|
+
# @param [Symbol] name
|
|
575
|
+
# @return [Attribute]
|
|
576
|
+
def self.by_name: (Symbol name) -> Attribute
|
|
577
|
+
|
|
578
|
+
# Looks up Attribute class by type value.
|
|
579
|
+
# @rbs type: Integer
|
|
580
|
+
# @rbs return: Attribute
|
|
581
|
+
# @param [Integer] type
|
|
582
|
+
# @return [Attribute]
|
|
583
|
+
def self.by_type: (Integer type) -> Attribute
|
|
584
|
+
end
|
|
585
|
+
|
|
586
|
+
class EventAttr < ::Nl::AttributeSet
|
|
587
|
+
# Abstract class
|
|
588
|
+
class Attribute < ::Nl::AttributeSet::Attribute
|
|
589
|
+
end
|
|
590
|
+
|
|
591
|
+
class Token < Attribute
|
|
592
|
+
TYPE: ::Integer
|
|
593
|
+
|
|
594
|
+
NAME: ::Symbol
|
|
595
|
+
|
|
596
|
+
# @private
|
|
597
|
+
ORDER: ::Integer
|
|
598
|
+
|
|
599
|
+
# @private
|
|
600
|
+
DATATYPE: untyped
|
|
601
|
+
end
|
|
602
|
+
|
|
603
|
+
class Family < Attribute
|
|
604
|
+
TYPE: ::Integer
|
|
605
|
+
|
|
606
|
+
NAME: ::Symbol
|
|
607
|
+
|
|
608
|
+
# @private
|
|
609
|
+
ORDER: ::Integer
|
|
610
|
+
|
|
611
|
+
# @private
|
|
612
|
+
DATATYPE: untyped
|
|
613
|
+
end
|
|
614
|
+
|
|
615
|
+
class LocId < Attribute
|
|
616
|
+
TYPE: ::Integer
|
|
617
|
+
|
|
618
|
+
NAME: ::Symbol
|
|
619
|
+
|
|
620
|
+
# @private
|
|
621
|
+
ORDER: ::Integer
|
|
622
|
+
|
|
623
|
+
# @private
|
|
624
|
+
DATATYPE: untyped
|
|
625
|
+
end
|
|
626
|
+
|
|
627
|
+
class RemId < Attribute
|
|
628
|
+
TYPE: ::Integer
|
|
629
|
+
|
|
630
|
+
NAME: ::Symbol
|
|
631
|
+
|
|
632
|
+
# @private
|
|
633
|
+
ORDER: ::Integer
|
|
634
|
+
|
|
635
|
+
# @private
|
|
636
|
+
DATATYPE: untyped
|
|
637
|
+
end
|
|
638
|
+
|
|
639
|
+
class Saddr4 < Attribute
|
|
640
|
+
TYPE: ::Integer
|
|
641
|
+
|
|
642
|
+
NAME: ::Symbol
|
|
643
|
+
|
|
644
|
+
# @private
|
|
645
|
+
ORDER: ::Integer
|
|
646
|
+
|
|
647
|
+
# @private
|
|
648
|
+
DATATYPE: untyped
|
|
649
|
+
end
|
|
650
|
+
|
|
651
|
+
class Saddr6 < Attribute
|
|
652
|
+
TYPE: ::Integer
|
|
653
|
+
|
|
654
|
+
NAME: ::Symbol
|
|
655
|
+
|
|
656
|
+
# @private
|
|
657
|
+
ORDER: ::Integer
|
|
658
|
+
|
|
659
|
+
# @private
|
|
660
|
+
DATATYPE: untyped
|
|
661
|
+
end
|
|
662
|
+
|
|
663
|
+
class Daddr4 < Attribute
|
|
664
|
+
TYPE: ::Integer
|
|
665
|
+
|
|
666
|
+
NAME: ::Symbol
|
|
667
|
+
|
|
668
|
+
# @private
|
|
669
|
+
ORDER: ::Integer
|
|
670
|
+
|
|
671
|
+
# @private
|
|
672
|
+
DATATYPE: untyped
|
|
673
|
+
end
|
|
674
|
+
|
|
675
|
+
class Daddr6 < Attribute
|
|
676
|
+
TYPE: ::Integer
|
|
677
|
+
|
|
678
|
+
NAME: ::Symbol
|
|
679
|
+
|
|
680
|
+
# @private
|
|
681
|
+
ORDER: ::Integer
|
|
682
|
+
|
|
683
|
+
# @private
|
|
684
|
+
DATATYPE: untyped
|
|
685
|
+
end
|
|
686
|
+
|
|
687
|
+
class Sport < Attribute
|
|
688
|
+
TYPE: ::Integer
|
|
689
|
+
|
|
690
|
+
NAME: ::Symbol
|
|
691
|
+
|
|
692
|
+
# @private
|
|
693
|
+
ORDER: ::Integer
|
|
694
|
+
|
|
695
|
+
# @private
|
|
696
|
+
DATATYPE: untyped
|
|
697
|
+
end
|
|
698
|
+
|
|
699
|
+
class Dport < Attribute
|
|
700
|
+
TYPE: ::Integer
|
|
701
|
+
|
|
702
|
+
NAME: ::Symbol
|
|
703
|
+
|
|
704
|
+
# @private
|
|
705
|
+
ORDER: ::Integer
|
|
706
|
+
|
|
707
|
+
# @private
|
|
708
|
+
DATATYPE: untyped
|
|
709
|
+
end
|
|
710
|
+
|
|
711
|
+
class Backup < Attribute
|
|
712
|
+
TYPE: ::Integer
|
|
713
|
+
|
|
714
|
+
NAME: ::Symbol
|
|
715
|
+
|
|
716
|
+
# @private
|
|
717
|
+
ORDER: ::Integer
|
|
718
|
+
|
|
719
|
+
# @private
|
|
720
|
+
DATATYPE: untyped
|
|
721
|
+
end
|
|
722
|
+
|
|
723
|
+
class Error < Attribute
|
|
724
|
+
TYPE: ::Integer
|
|
725
|
+
|
|
726
|
+
NAME: ::Symbol
|
|
727
|
+
|
|
728
|
+
# @private
|
|
729
|
+
ORDER: ::Integer
|
|
730
|
+
|
|
731
|
+
# @private
|
|
732
|
+
DATATYPE: untyped
|
|
733
|
+
end
|
|
734
|
+
|
|
735
|
+
class Flags < Attribute
|
|
736
|
+
TYPE: ::Integer
|
|
737
|
+
|
|
738
|
+
NAME: ::Symbol
|
|
739
|
+
|
|
740
|
+
# @private
|
|
741
|
+
ORDER: ::Integer
|
|
742
|
+
|
|
743
|
+
# @private
|
|
744
|
+
DATATYPE: untyped
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
class Timeout < Attribute
|
|
748
|
+
TYPE: ::Integer
|
|
749
|
+
|
|
750
|
+
NAME: ::Symbol
|
|
751
|
+
|
|
752
|
+
# @private
|
|
753
|
+
ORDER: ::Integer
|
|
754
|
+
|
|
755
|
+
# @private
|
|
756
|
+
DATATYPE: untyped
|
|
757
|
+
end
|
|
758
|
+
|
|
759
|
+
class IfIdx < Attribute
|
|
760
|
+
TYPE: ::Integer
|
|
761
|
+
|
|
762
|
+
NAME: ::Symbol
|
|
763
|
+
|
|
764
|
+
# @private
|
|
765
|
+
ORDER: ::Integer
|
|
766
|
+
|
|
767
|
+
# @private
|
|
768
|
+
DATATYPE: untyped
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
class ResetReason < Attribute
|
|
772
|
+
TYPE: ::Integer
|
|
773
|
+
|
|
774
|
+
NAME: ::Symbol
|
|
775
|
+
|
|
776
|
+
# @private
|
|
777
|
+
ORDER: ::Integer
|
|
778
|
+
|
|
779
|
+
# @private
|
|
780
|
+
DATATYPE: untyped
|
|
781
|
+
end
|
|
782
|
+
|
|
783
|
+
class ResetFlags < Attribute
|
|
784
|
+
TYPE: ::Integer
|
|
785
|
+
|
|
786
|
+
NAME: ::Symbol
|
|
787
|
+
|
|
788
|
+
# @private
|
|
789
|
+
ORDER: ::Integer
|
|
790
|
+
|
|
791
|
+
# @private
|
|
792
|
+
DATATYPE: untyped
|
|
793
|
+
end
|
|
794
|
+
|
|
795
|
+
# Deprecated: use 'flags'
|
|
796
|
+
class ServerSide < Attribute
|
|
797
|
+
TYPE: ::Integer
|
|
798
|
+
|
|
799
|
+
NAME: ::Symbol
|
|
800
|
+
|
|
801
|
+
# @private
|
|
802
|
+
ORDER: ::Integer
|
|
803
|
+
|
|
804
|
+
# @private
|
|
805
|
+
DATATYPE: untyped
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# @private
|
|
809
|
+
BY_NAME: Hash[::Symbol, Attribute]
|
|
810
|
+
|
|
811
|
+
# @private
|
|
812
|
+
BY_TYPE: Hash[::Integer, Attribute]
|
|
813
|
+
|
|
814
|
+
# @rbs return: ::Integer
|
|
815
|
+
# @return [Integer]
|
|
816
|
+
# @see Token
|
|
817
|
+
def token: () -> ::Integer
|
|
818
|
+
|
|
819
|
+
# @rbs return: ::Integer
|
|
820
|
+
# @return [Integer]
|
|
821
|
+
# @see Family
|
|
822
|
+
def family: () -> ::Integer
|
|
823
|
+
|
|
824
|
+
# @rbs return: ::Integer
|
|
825
|
+
# @return [Integer]
|
|
826
|
+
# @see LocId
|
|
827
|
+
def loc_id: () -> ::Integer
|
|
828
|
+
|
|
829
|
+
# @rbs return: ::Integer
|
|
830
|
+
# @return [Integer]
|
|
831
|
+
# @see RemId
|
|
832
|
+
def rem_id: () -> ::Integer
|
|
833
|
+
|
|
834
|
+
# @rbs return: ::Integer
|
|
835
|
+
# @return [Integer]
|
|
836
|
+
# @see Saddr4
|
|
837
|
+
def saddr4: () -> ::Integer
|
|
838
|
+
|
|
839
|
+
# @rbs return: ::String
|
|
840
|
+
# @return [String]
|
|
841
|
+
# @see Saddr6
|
|
842
|
+
def saddr6: () -> ::String
|
|
843
|
+
|
|
844
|
+
# @rbs return: ::Integer
|
|
845
|
+
# @return [Integer]
|
|
846
|
+
# @see Daddr4
|
|
847
|
+
def daddr4: () -> ::Integer
|
|
848
|
+
|
|
849
|
+
# @rbs return: ::String
|
|
850
|
+
# @return [String]
|
|
851
|
+
# @see Daddr6
|
|
852
|
+
def daddr6: () -> ::String
|
|
853
|
+
|
|
854
|
+
# @rbs return: ::Integer
|
|
855
|
+
# @return [Integer]
|
|
856
|
+
# @see Sport
|
|
857
|
+
def sport: () -> ::Integer
|
|
858
|
+
|
|
859
|
+
# @rbs return: ::Integer
|
|
860
|
+
# @return [Integer]
|
|
861
|
+
# @see Dport
|
|
862
|
+
def dport: () -> ::Integer
|
|
863
|
+
|
|
864
|
+
# @rbs return: ::Integer
|
|
865
|
+
# @return [Integer]
|
|
866
|
+
# @see Backup
|
|
867
|
+
def backup: () -> ::Integer
|
|
868
|
+
|
|
869
|
+
# @rbs return: ::Integer
|
|
870
|
+
# @return [Integer]
|
|
871
|
+
# @see Error
|
|
872
|
+
def error: () -> ::Integer
|
|
873
|
+
|
|
874
|
+
# @rbs return: ::Integer
|
|
875
|
+
# @return [Integer]
|
|
876
|
+
# @see Flags
|
|
877
|
+
def flags: () -> ::Integer
|
|
878
|
+
|
|
879
|
+
# @rbs return: ::Integer
|
|
880
|
+
# @return [Integer]
|
|
881
|
+
# @see Timeout
|
|
882
|
+
def timeout: () -> ::Integer
|
|
883
|
+
|
|
884
|
+
# @rbs return: ::Integer
|
|
885
|
+
# @return [Integer]
|
|
886
|
+
# @see IfIdx
|
|
887
|
+
def if_idx: () -> ::Integer
|
|
888
|
+
|
|
889
|
+
# @rbs return: ::Integer
|
|
890
|
+
# @return [Integer]
|
|
891
|
+
# @see ResetReason
|
|
892
|
+
def reset_reason: () -> ::Integer
|
|
893
|
+
|
|
894
|
+
# @rbs return: ::Integer
|
|
895
|
+
# @return [Integer]
|
|
896
|
+
# @see ResetFlags
|
|
897
|
+
def reset_flags: () -> ::Integer
|
|
898
|
+
|
|
899
|
+
# Deprecated: use 'flags'
|
|
900
|
+
# @rbs return: ::Integer
|
|
901
|
+
# @return [Integer]
|
|
902
|
+
# @see ServerSide
|
|
903
|
+
def server_side: () -> ::Integer
|
|
904
|
+
|
|
905
|
+
# Looks up Attribute class by name.
|
|
906
|
+
# @rbs name: Symbol
|
|
907
|
+
# @rbs return: Attribute
|
|
908
|
+
# @param [Symbol] name
|
|
909
|
+
# @return [Attribute]
|
|
910
|
+
def self.by_name: (Symbol name) -> Attribute
|
|
911
|
+
|
|
912
|
+
# Looks up Attribute class by type value.
|
|
913
|
+
# @rbs type: Integer
|
|
914
|
+
# @rbs return: Attribute
|
|
915
|
+
# @param [Integer] type
|
|
916
|
+
# @return [Attribute]
|
|
917
|
+
def self.by_type: (Integer type) -> Attribute
|
|
918
|
+
end
|
|
919
|
+
end
|
|
920
|
+
|
|
921
|
+
module Messages
|
|
922
|
+
# Add endpoint
|
|
923
|
+
#
|
|
924
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
925
|
+
class DoAddAddrRequest < ::Nl::Genl::Message
|
|
926
|
+
TYPE: ::Integer
|
|
927
|
+
|
|
928
|
+
FIXED_HEADER: untyped
|
|
929
|
+
|
|
930
|
+
ATTRIBUTE_SET: untyped
|
|
931
|
+
|
|
932
|
+
ATTRIBUTES: untyped
|
|
933
|
+
|
|
934
|
+
# @rbs return: AttributeSets::Address
|
|
935
|
+
# @return [AttributeSets::Address]
|
|
936
|
+
# @see AttributeSets::Endpoint::Addr
|
|
937
|
+
def addr: () -> AttributeSets::Address
|
|
938
|
+
end
|
|
939
|
+
|
|
940
|
+
# Delete endpoint
|
|
941
|
+
#
|
|
942
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
943
|
+
class DoDelAddrRequest < ::Nl::Genl::Message
|
|
944
|
+
TYPE: ::Integer
|
|
945
|
+
|
|
946
|
+
FIXED_HEADER: untyped
|
|
947
|
+
|
|
948
|
+
ATTRIBUTE_SET: untyped
|
|
949
|
+
|
|
950
|
+
ATTRIBUTES: untyped
|
|
951
|
+
|
|
952
|
+
# @rbs return: AttributeSets::Address
|
|
953
|
+
# @return [AttributeSets::Address]
|
|
954
|
+
# @see AttributeSets::Endpoint::Addr
|
|
955
|
+
def addr: () -> AttributeSets::Address
|
|
956
|
+
end
|
|
957
|
+
|
|
958
|
+
# Get endpoint information
|
|
959
|
+
class DoGetAddrRequest < ::Nl::Genl::Message
|
|
960
|
+
TYPE: ::Integer
|
|
961
|
+
|
|
962
|
+
FIXED_HEADER: untyped
|
|
963
|
+
|
|
964
|
+
ATTRIBUTE_SET: untyped
|
|
965
|
+
|
|
966
|
+
ATTRIBUTES: untyped
|
|
967
|
+
|
|
968
|
+
# @rbs return: AttributeSets::Address
|
|
969
|
+
# @return [AttributeSets::Address]
|
|
970
|
+
# @see AttributeSets::Attr::Addr
|
|
971
|
+
def addr: () -> AttributeSets::Address
|
|
972
|
+
|
|
973
|
+
# @rbs return: ::Integer
|
|
974
|
+
# @return [Integer]
|
|
975
|
+
# @see AttributeSets::Attr::Token
|
|
976
|
+
def token: () -> ::Integer
|
|
977
|
+
end
|
|
978
|
+
|
|
979
|
+
# Get endpoint information
|
|
980
|
+
class DoGetAddrReply < ::Nl::Genl::Message
|
|
981
|
+
TYPE: ::Integer
|
|
982
|
+
|
|
983
|
+
FIXED_HEADER: untyped
|
|
984
|
+
|
|
985
|
+
ATTRIBUTE_SET: untyped
|
|
986
|
+
|
|
987
|
+
ATTRIBUTES: untyped
|
|
988
|
+
|
|
989
|
+
# @rbs return: AttributeSets::Address
|
|
990
|
+
# @return [AttributeSets::Address]
|
|
991
|
+
# @see AttributeSets::Attr::Addr
|
|
992
|
+
def addr: () -> AttributeSets::Address
|
|
993
|
+
end
|
|
994
|
+
|
|
995
|
+
# Get endpoint information
|
|
996
|
+
class DumpGetAddrRequest < ::Nl::Genl::Message
|
|
997
|
+
TYPE: ::Integer
|
|
998
|
+
|
|
999
|
+
FIXED_HEADER: untyped
|
|
1000
|
+
|
|
1001
|
+
ATTRIBUTE_SET: untyped
|
|
1002
|
+
|
|
1003
|
+
ATTRIBUTES: untyped
|
|
1004
|
+
end
|
|
1005
|
+
|
|
1006
|
+
# Get endpoint information
|
|
1007
|
+
class DumpGetAddrReply < ::Nl::Genl::Message
|
|
1008
|
+
TYPE: ::Integer
|
|
1009
|
+
|
|
1010
|
+
FIXED_HEADER: untyped
|
|
1011
|
+
|
|
1012
|
+
ATTRIBUTE_SET: untyped
|
|
1013
|
+
|
|
1014
|
+
ATTRIBUTES: untyped
|
|
1015
|
+
|
|
1016
|
+
# @rbs return: AttributeSets::Address
|
|
1017
|
+
# @return [AttributeSets::Address]
|
|
1018
|
+
# @see AttributeSets::Attr::Addr
|
|
1019
|
+
def addr: () -> AttributeSets::Address
|
|
1020
|
+
end
|
|
1021
|
+
|
|
1022
|
+
# Flush addresses
|
|
1023
|
+
#
|
|
1024
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1025
|
+
class DoFlushAddrsRequest < ::Nl::Genl::Message
|
|
1026
|
+
TYPE: ::Integer
|
|
1027
|
+
|
|
1028
|
+
FIXED_HEADER: untyped
|
|
1029
|
+
|
|
1030
|
+
ATTRIBUTE_SET: untyped
|
|
1031
|
+
|
|
1032
|
+
ATTRIBUTES: untyped
|
|
1033
|
+
|
|
1034
|
+
# @rbs return: AttributeSets::Address
|
|
1035
|
+
# @return [AttributeSets::Address]
|
|
1036
|
+
# @see AttributeSets::Endpoint::Addr
|
|
1037
|
+
def addr: () -> AttributeSets::Address
|
|
1038
|
+
end
|
|
1039
|
+
|
|
1040
|
+
# Set protocol limits
|
|
1041
|
+
#
|
|
1042
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1043
|
+
class DoSetLimitsRequest < ::Nl::Genl::Message
|
|
1044
|
+
TYPE: ::Integer
|
|
1045
|
+
|
|
1046
|
+
FIXED_HEADER: untyped
|
|
1047
|
+
|
|
1048
|
+
ATTRIBUTE_SET: untyped
|
|
1049
|
+
|
|
1050
|
+
ATTRIBUTES: untyped
|
|
1051
|
+
|
|
1052
|
+
# @rbs return: ::Integer
|
|
1053
|
+
# @return [Integer]
|
|
1054
|
+
# @see AttributeSets::Attr::RcvAddAddrs
|
|
1055
|
+
def rcv_add_addrs: () -> ::Integer
|
|
1056
|
+
|
|
1057
|
+
# @rbs return: ::Integer
|
|
1058
|
+
# @return [Integer]
|
|
1059
|
+
# @see AttributeSets::Attr::Subflows
|
|
1060
|
+
def subflows: () -> ::Integer
|
|
1061
|
+
end
|
|
1062
|
+
|
|
1063
|
+
# Get protocol limits
|
|
1064
|
+
class DoGetLimitsRequest < ::Nl::Genl::Message
|
|
1065
|
+
TYPE: ::Integer
|
|
1066
|
+
|
|
1067
|
+
FIXED_HEADER: untyped
|
|
1068
|
+
|
|
1069
|
+
ATTRIBUTE_SET: untyped
|
|
1070
|
+
|
|
1071
|
+
ATTRIBUTES: untyped
|
|
1072
|
+
|
|
1073
|
+
# @rbs return: ::Integer
|
|
1074
|
+
# @return [Integer]
|
|
1075
|
+
# @see AttributeSets::Attr::RcvAddAddrs
|
|
1076
|
+
def rcv_add_addrs: () -> ::Integer
|
|
1077
|
+
|
|
1078
|
+
# @rbs return: ::Integer
|
|
1079
|
+
# @return [Integer]
|
|
1080
|
+
# @see AttributeSets::Attr::Subflows
|
|
1081
|
+
def subflows: () -> ::Integer
|
|
1082
|
+
end
|
|
1083
|
+
|
|
1084
|
+
# Get protocol limits
|
|
1085
|
+
class DoGetLimitsReply < ::Nl::Genl::Message
|
|
1086
|
+
TYPE: ::Integer
|
|
1087
|
+
|
|
1088
|
+
FIXED_HEADER: untyped
|
|
1089
|
+
|
|
1090
|
+
ATTRIBUTE_SET: untyped
|
|
1091
|
+
|
|
1092
|
+
ATTRIBUTES: untyped
|
|
1093
|
+
|
|
1094
|
+
# @rbs return: ::Integer
|
|
1095
|
+
# @return [Integer]
|
|
1096
|
+
# @see AttributeSets::Attr::RcvAddAddrs
|
|
1097
|
+
def rcv_add_addrs: () -> ::Integer
|
|
1098
|
+
|
|
1099
|
+
# @rbs return: ::Integer
|
|
1100
|
+
# @return [Integer]
|
|
1101
|
+
# @see AttributeSets::Attr::Subflows
|
|
1102
|
+
def subflows: () -> ::Integer
|
|
1103
|
+
end
|
|
1104
|
+
|
|
1105
|
+
# Change endpoint flags
|
|
1106
|
+
#
|
|
1107
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1108
|
+
class DoSetFlagsRequest < ::Nl::Genl::Message
|
|
1109
|
+
TYPE: ::Integer
|
|
1110
|
+
|
|
1111
|
+
FIXED_HEADER: untyped
|
|
1112
|
+
|
|
1113
|
+
ATTRIBUTE_SET: untyped
|
|
1114
|
+
|
|
1115
|
+
ATTRIBUTES: untyped
|
|
1116
|
+
|
|
1117
|
+
# @rbs return: AttributeSets::Address
|
|
1118
|
+
# @return [AttributeSets::Address]
|
|
1119
|
+
# @see AttributeSets::Attr::Addr
|
|
1120
|
+
def addr: () -> AttributeSets::Address
|
|
1121
|
+
|
|
1122
|
+
# @rbs return: ::Integer
|
|
1123
|
+
# @return [Integer]
|
|
1124
|
+
# @see AttributeSets::Attr::Token
|
|
1125
|
+
def token: () -> ::Integer
|
|
1126
|
+
|
|
1127
|
+
# @rbs return: AttributeSets::Address
|
|
1128
|
+
# @return [AttributeSets::Address]
|
|
1129
|
+
# @see AttributeSets::Attr::AddrRemote
|
|
1130
|
+
def addr_remote: () -> AttributeSets::Address
|
|
1131
|
+
end
|
|
1132
|
+
|
|
1133
|
+
# Announce new address
|
|
1134
|
+
#
|
|
1135
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1136
|
+
class DoAnnounceRequest < ::Nl::Genl::Message
|
|
1137
|
+
TYPE: ::Integer
|
|
1138
|
+
|
|
1139
|
+
FIXED_HEADER: untyped
|
|
1140
|
+
|
|
1141
|
+
ATTRIBUTE_SET: untyped
|
|
1142
|
+
|
|
1143
|
+
ATTRIBUTES: untyped
|
|
1144
|
+
|
|
1145
|
+
# @rbs return: AttributeSets::Address
|
|
1146
|
+
# @return [AttributeSets::Address]
|
|
1147
|
+
# @see AttributeSets::Attr::Addr
|
|
1148
|
+
def addr: () -> AttributeSets::Address
|
|
1149
|
+
|
|
1150
|
+
# @rbs return: ::Integer
|
|
1151
|
+
# @return [Integer]
|
|
1152
|
+
# @see AttributeSets::Attr::Token
|
|
1153
|
+
def token: () -> ::Integer
|
|
1154
|
+
end
|
|
1155
|
+
|
|
1156
|
+
# Announce removal
|
|
1157
|
+
#
|
|
1158
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1159
|
+
class DoRemoveRequest < ::Nl::Genl::Message
|
|
1160
|
+
TYPE: ::Integer
|
|
1161
|
+
|
|
1162
|
+
FIXED_HEADER: untyped
|
|
1163
|
+
|
|
1164
|
+
ATTRIBUTE_SET: untyped
|
|
1165
|
+
|
|
1166
|
+
ATTRIBUTES: untyped
|
|
1167
|
+
|
|
1168
|
+
# @rbs return: ::Integer
|
|
1169
|
+
# @return [Integer]
|
|
1170
|
+
# @see AttributeSets::Attr::Token
|
|
1171
|
+
def token: () -> ::Integer
|
|
1172
|
+
|
|
1173
|
+
# @rbs return: ::Integer
|
|
1174
|
+
# @return [Integer]
|
|
1175
|
+
# @see AttributeSets::Attr::LocId
|
|
1176
|
+
def loc_id: () -> ::Integer
|
|
1177
|
+
end
|
|
1178
|
+
|
|
1179
|
+
# Create subflow
|
|
1180
|
+
#
|
|
1181
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1182
|
+
class DoSubflowCreateRequest < ::Nl::Genl::Message
|
|
1183
|
+
TYPE: ::Integer
|
|
1184
|
+
|
|
1185
|
+
FIXED_HEADER: untyped
|
|
1186
|
+
|
|
1187
|
+
ATTRIBUTE_SET: untyped
|
|
1188
|
+
|
|
1189
|
+
ATTRIBUTES: untyped
|
|
1190
|
+
|
|
1191
|
+
# @rbs return: AttributeSets::Address
|
|
1192
|
+
# @return [AttributeSets::Address]
|
|
1193
|
+
# @see AttributeSets::Attr::Addr
|
|
1194
|
+
def addr: () -> AttributeSets::Address
|
|
1195
|
+
|
|
1196
|
+
# @rbs return: ::Integer
|
|
1197
|
+
# @return [Integer]
|
|
1198
|
+
# @see AttributeSets::Attr::Token
|
|
1199
|
+
def token: () -> ::Integer
|
|
1200
|
+
|
|
1201
|
+
# @rbs return: AttributeSets::Address
|
|
1202
|
+
# @return [AttributeSets::Address]
|
|
1203
|
+
# @see AttributeSets::Attr::AddrRemote
|
|
1204
|
+
def addr_remote: () -> AttributeSets::Address
|
|
1205
|
+
end
|
|
1206
|
+
|
|
1207
|
+
# Destroy subflow
|
|
1208
|
+
#
|
|
1209
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1210
|
+
class DoSubflowDestroyRequest < ::Nl::Genl::Message
|
|
1211
|
+
TYPE: ::Integer
|
|
1212
|
+
|
|
1213
|
+
FIXED_HEADER: untyped
|
|
1214
|
+
|
|
1215
|
+
ATTRIBUTE_SET: untyped
|
|
1216
|
+
|
|
1217
|
+
ATTRIBUTES: untyped
|
|
1218
|
+
|
|
1219
|
+
# @rbs return: AttributeSets::Address
|
|
1220
|
+
# @return [AttributeSets::Address]
|
|
1221
|
+
# @see AttributeSets::Attr::Addr
|
|
1222
|
+
def addr: () -> AttributeSets::Address
|
|
1223
|
+
|
|
1224
|
+
# @rbs return: ::Integer
|
|
1225
|
+
# @return [Integer]
|
|
1226
|
+
# @see AttributeSets::Attr::Token
|
|
1227
|
+
def token: () -> ::Integer
|
|
1228
|
+
|
|
1229
|
+
# @rbs return: AttributeSets::Address
|
|
1230
|
+
# @return [AttributeSets::Address]
|
|
1231
|
+
# @see AttributeSets::Attr::AddrRemote
|
|
1232
|
+
def addr_remote: () -> AttributeSets::Address
|
|
1233
|
+
end
|
|
1234
|
+
end
|
|
1235
|
+
|
|
1236
|
+
module Notifications
|
|
1237
|
+
end
|
|
1238
|
+
|
|
1239
|
+
# @private
|
|
1240
|
+
NOTIFICATIONS: Hash[::Integer, ::Class]
|
|
1241
|
+
|
|
1242
|
+
# Add endpoint
|
|
1243
|
+
#
|
|
1244
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1245
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1246
|
+
# @param [Hash] args
|
|
1247
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1248
|
+
# @return [void]
|
|
1249
|
+
# @see Messages::DoAddAddrRequest
|
|
1250
|
+
def do_add_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1251
|
+
|
|
1252
|
+
# Delete endpoint
|
|
1253
|
+
#
|
|
1254
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1255
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1256
|
+
# @param [Hash] args
|
|
1257
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1258
|
+
# @return [void]
|
|
1259
|
+
# @see Messages::DoDelAddrRequest
|
|
1260
|
+
def do_del_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1261
|
+
|
|
1262
|
+
# Get endpoint information
|
|
1263
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer) -> Messages::DoGetAddrReply
|
|
1264
|
+
# @param [Hash] args
|
|
1265
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1266
|
+
# @option args [Integer] token
|
|
1267
|
+
# @return [Messages::DoGetAddrReply]
|
|
1268
|
+
# @see Messages::DoGetAddrRequest
|
|
1269
|
+
def do_get_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer) -> Messages::DoGetAddrReply
|
|
1270
|
+
|
|
1271
|
+
# Get endpoint information
|
|
1272
|
+
# @rbs () -> Array[Messages::DumpGetAddrReply]
|
|
1273
|
+
# | () { (Messages::DumpGetAddrReply) -> void } -> void
|
|
1274
|
+
# @overload dump_get_addr(**args)
|
|
1275
|
+
# Returns an array when no block is given.
|
|
1276
|
+
# @param [Hash] args
|
|
1277
|
+
# @return [Array<Messages::DumpGetAddrReply>]
|
|
1278
|
+
# @overload dump_get_addr(**args, &block)
|
|
1279
|
+
# Yields each reply when a block is given.
|
|
1280
|
+
# @param [Hash] args
|
|
1281
|
+
# @yieldparam [Messages::DumpGetAddrReply] reply
|
|
1282
|
+
# @return [void]
|
|
1283
|
+
# @see Messages::DumpGetAddrRequest
|
|
1284
|
+
def dump_get_addr: () -> Array[Messages::DumpGetAddrReply]
|
|
1285
|
+
| () { (Messages::DumpGetAddrReply) -> void } -> void
|
|
1286
|
+
|
|
1287
|
+
# Flush addresses
|
|
1288
|
+
#
|
|
1289
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1290
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1291
|
+
# @param [Hash] args
|
|
1292
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1293
|
+
# @return [void]
|
|
1294
|
+
# @see Messages::DoFlushAddrsRequest
|
|
1295
|
+
def do_flush_addrs: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1296
|
+
|
|
1297
|
+
# Set protocol limits
|
|
1298
|
+
#
|
|
1299
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1300
|
+
# @rbs (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> void
|
|
1301
|
+
# @param [Hash] args
|
|
1302
|
+
# @option args [Integer] rcv_add_addrs
|
|
1303
|
+
# @option args [Integer] subflows
|
|
1304
|
+
# @return [void]
|
|
1305
|
+
# @see Messages::DoSetLimitsRequest
|
|
1306
|
+
def do_set_limits: (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> void
|
|
1307
|
+
|
|
1308
|
+
# Get protocol limits
|
|
1309
|
+
# @rbs (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> Messages::DoGetLimitsReply
|
|
1310
|
+
# @param [Hash] args
|
|
1311
|
+
# @option args [Integer] rcv_add_addrs
|
|
1312
|
+
# @option args [Integer] subflows
|
|
1313
|
+
# @return [Messages::DoGetLimitsReply]
|
|
1314
|
+
# @see Messages::DoGetLimitsRequest
|
|
1315
|
+
def do_get_limits: (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> Messages::DoGetLimitsReply
|
|
1316
|
+
|
|
1317
|
+
# Change endpoint flags
|
|
1318
|
+
#
|
|
1319
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1320
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1321
|
+
# @param [Hash] args
|
|
1322
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1323
|
+
# @option args [Integer] token
|
|
1324
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1325
|
+
# @return [void]
|
|
1326
|
+
# @see Messages::DoSetFlagsRequest
|
|
1327
|
+
def do_set_flags: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1328
|
+
|
|
1329
|
+
# Announce new address
|
|
1330
|
+
#
|
|
1331
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1332
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer) -> void
|
|
1333
|
+
# @param [Hash] args
|
|
1334
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1335
|
+
# @option args [Integer] token
|
|
1336
|
+
# @return [void]
|
|
1337
|
+
# @see Messages::DoAnnounceRequest
|
|
1338
|
+
def do_announce: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer) -> void
|
|
1339
|
+
|
|
1340
|
+
# Announce removal
|
|
1341
|
+
#
|
|
1342
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1343
|
+
# @rbs (?token: ::Integer, ?loc_id: ::Integer) -> void
|
|
1344
|
+
# @param [Hash] args
|
|
1345
|
+
# @option args [Integer] token
|
|
1346
|
+
# @option args [Integer] loc_id
|
|
1347
|
+
# @return [void]
|
|
1348
|
+
# @see Messages::DoRemoveRequest
|
|
1349
|
+
def do_remove: (?token: ::Integer, ?loc_id: ::Integer) -> void
|
|
1350
|
+
|
|
1351
|
+
# Create subflow
|
|
1352
|
+
#
|
|
1353
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1354
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1355
|
+
# @param [Hash] args
|
|
1356
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1357
|
+
# @option args [Integer] token
|
|
1358
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1359
|
+
# @return [void]
|
|
1360
|
+
# @see Messages::DoSubflowCreateRequest
|
|
1361
|
+
def do_subflow_create: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1362
|
+
|
|
1363
|
+
# Destroy subflow
|
|
1364
|
+
#
|
|
1365
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1366
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> void
|
|
1367
|
+
# @param [Hash] args
|
|
1368
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1369
|
+
# @option args [Integer] token
|
|
1370
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1371
|
+
# @return [void]
|
|
1372
|
+
# @see Messages::DoSubflowDestroyRequest
|
|
1373
|
+
def do_subflow_destroy: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> void
|
|
1374
|
+
|
|
1375
|
+
class AsyncOperations
|
|
1376
|
+
# @private
|
|
1377
|
+
def initialize: () ?{ (?) -> untyped } -> untyped
|
|
1378
|
+
|
|
1379
|
+
# Add endpoint
|
|
1380
|
+
#
|
|
1381
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1382
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1383
|
+
# @param [Hash] args
|
|
1384
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1385
|
+
# @return [Nl::Async::Future<void>]
|
|
1386
|
+
# @see Messages::DoAddAddrRequest
|
|
1387
|
+
def do_add_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1388
|
+
|
|
1389
|
+
# Delete endpoint
|
|
1390
|
+
#
|
|
1391
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1392
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1393
|
+
# @param [Hash] args
|
|
1394
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1395
|
+
# @return [Nl::Async::Future<void>]
|
|
1396
|
+
# @see Messages::DoDelAddrRequest
|
|
1397
|
+
def do_del_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1398
|
+
|
|
1399
|
+
# Get endpoint information
|
|
1400
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer) -> ::Nl::Async::Future[Messages::DoGetAddrReply]
|
|
1401
|
+
# @param [Hash] args
|
|
1402
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1403
|
+
# @option args [Integer] token
|
|
1404
|
+
# @return [Nl::Async::Future<Messages::DoGetAddrReply>]
|
|
1405
|
+
# @see Messages::DoGetAddrRequest
|
|
1406
|
+
def do_get_addr: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer) -> ::Nl::Async::Future[Messages::DoGetAddrReply]
|
|
1407
|
+
|
|
1408
|
+
# Get endpoint information
|
|
1409
|
+
# @rbs () -> ::Nl::Async::Stream[Messages::DumpGetAddrReply]
|
|
1410
|
+
# @param [Hash] args
|
|
1411
|
+
# @return [Nl::Async::Stream<Messages::DumpGetAddrReply>]
|
|
1412
|
+
# @see Messages::DumpGetAddrRequest
|
|
1413
|
+
def dump_get_addr: () -> ::Nl::Async::Stream[Messages::DumpGetAddrReply]
|
|
1414
|
+
|
|
1415
|
+
# Flush addresses
|
|
1416
|
+
#
|
|
1417
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1418
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1419
|
+
# @param [Hash] args
|
|
1420
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1421
|
+
# @return [Nl::Async::Future<void>]
|
|
1422
|
+
# @see Messages::DoFlushAddrsRequest
|
|
1423
|
+
def do_flush_addrs: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1424
|
+
|
|
1425
|
+
# Set protocol limits
|
|
1426
|
+
#
|
|
1427
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1428
|
+
# @rbs (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> ::Nl::Async::Future[void]
|
|
1429
|
+
# @param [Hash] args
|
|
1430
|
+
# @option args [Integer] rcv_add_addrs
|
|
1431
|
+
# @option args [Integer] subflows
|
|
1432
|
+
# @return [Nl::Async::Future<void>]
|
|
1433
|
+
# @see Messages::DoSetLimitsRequest
|
|
1434
|
+
def do_set_limits: (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> ::Nl::Async::Future[void]
|
|
1435
|
+
|
|
1436
|
+
# Get protocol limits
|
|
1437
|
+
# @rbs (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> ::Nl::Async::Future[Messages::DoGetLimitsReply]
|
|
1438
|
+
# @param [Hash] args
|
|
1439
|
+
# @option args [Integer] rcv_add_addrs
|
|
1440
|
+
# @option args [Integer] subflows
|
|
1441
|
+
# @return [Nl::Async::Future<Messages::DoGetLimitsReply>]
|
|
1442
|
+
# @see Messages::DoGetLimitsRequest
|
|
1443
|
+
def do_get_limits: (?rcv_add_addrs: ::Integer, ?subflows: ::Integer) -> ::Nl::Async::Future[Messages::DoGetLimitsReply]
|
|
1444
|
+
|
|
1445
|
+
# Change endpoint flags
|
|
1446
|
+
#
|
|
1447
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1448
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1449
|
+
# @param [Hash] args
|
|
1450
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1451
|
+
# @option args [Integer] token
|
|
1452
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1453
|
+
# @return [Nl::Async::Future<void>]
|
|
1454
|
+
# @see Messages::DoSetFlagsRequest
|
|
1455
|
+
def do_set_flags: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1456
|
+
|
|
1457
|
+
# Announce new address
|
|
1458
|
+
#
|
|
1459
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1460
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer) -> ::Nl::Async::Future[void]
|
|
1461
|
+
# @param [Hash] args
|
|
1462
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1463
|
+
# @option args [Integer] token
|
|
1464
|
+
# @return [Nl::Async::Future<void>]
|
|
1465
|
+
# @see Messages::DoAnnounceRequest
|
|
1466
|
+
def do_announce: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer) -> ::Nl::Async::Future[void]
|
|
1467
|
+
|
|
1468
|
+
# Announce removal
|
|
1469
|
+
#
|
|
1470
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1471
|
+
# @rbs (?token: ::Integer, ?loc_id: ::Integer) -> ::Nl::Async::Future[void]
|
|
1472
|
+
# @param [Hash] args
|
|
1473
|
+
# @option args [Integer] token
|
|
1474
|
+
# @option args [Integer] loc_id
|
|
1475
|
+
# @return [Nl::Async::Future<void>]
|
|
1476
|
+
# @see Messages::DoRemoveRequest
|
|
1477
|
+
def do_remove: (?token: ::Integer, ?loc_id: ::Integer) -> ::Nl::Async::Future[void]
|
|
1478
|
+
|
|
1479
|
+
# Create subflow
|
|
1480
|
+
#
|
|
1481
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1482
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1483
|
+
# @param [Hash] args
|
|
1484
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1485
|
+
# @option args [Integer] token
|
|
1486
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1487
|
+
# @return [Nl::Async::Future<void>]
|
|
1488
|
+
# @see Messages::DoSubflowCreateRequest
|
|
1489
|
+
def do_subflow_create: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1490
|
+
|
|
1491
|
+
# Destroy subflow
|
|
1492
|
+
#
|
|
1493
|
+
# Requires CAP_NET_ADMIN in the user namespace owning the network namespace.
|
|
1494
|
+
# @rbs (?addr: (AttributeSets::Address | ::Hash[::Symbol, untyped]), ?token: ::Integer, ?addr_remote: (AttributeSets::Address | ::Hash[::Symbol, untyped])) -> ::Nl::Async::Future[void]
|
|
1495
|
+
# @param [Hash] args
|
|
1496
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr
|
|
1497
|
+
# @option args [Integer] token
|
|
1498
|
+
# @option args [AttributeSets::Address, Hash<Symbol, Object>] addr_remote
|
|
1499
|
+
# @return [Nl::Async::Future<void>]
|
|
1500
|
+
# @see Messages::DoSubflowDestroyRequest
|
|
1501
|
+
def do_subflow_destroy: (?addr: AttributeSets::Address | ::Hash[::Symbol, untyped], ?token: ::Integer, ?addr_remote: AttributeSets::Address | ::Hash[::Symbol, untyped]) -> ::Nl::Async::Future[void]
|
|
1502
|
+
end
|
|
1503
|
+
|
|
1504
|
+
# Returns the asynchronous operation facade for this family.
|
|
1505
|
+
# @rbs (?stream_capacity: ::Integer?) -> AsyncOperations
|
|
1506
|
+
# @param [::Integer, nil] stream_capacity
|
|
1507
|
+
# @return [AsyncOperations]
|
|
1508
|
+
def async: (?stream_capacity: ::Integer?) -> AsyncOperations
|
|
1509
|
+
end
|
|
1510
|
+
end
|
|
1511
|
+
end
|