nl-linux 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/binder.rb +103 -187
- data/generated/nl/linux/conntrack.rb +1053 -1649
- data/generated/nl/linux/dev_energymodel.rb +303 -265
- data/generated/nl/linux/devlink.rb +4904 -5576
- data/generated/nl/linux/dpll.rb +1097 -1467
- data/generated/nl/linux/drm_ras.rb +235 -195
- data/generated/nl/linux/ethtool.rb +6652 -7415
- data/generated/nl/linux/fou.rb +234 -255
- data/generated/nl/linux/handshake.rb +208 -280
- data/generated/nl/linux/lockd.rb +99 -73
- data/generated/nl/linux/mptcp_pm.rb +589 -687
- data/generated/nl/linux/net_shaper.rb +520 -615
- data/generated/nl/linux/netdev.rb +1640 -1987
- data/generated/nl/linux/nfsd.rb +1341 -1215
- data/generated/nl/linux/nftables.rb +5143 -4870
- data/generated/nl/linux/nl80211.rb +2542 -6316
- data/generated/nl/linux/nlctrl.rb +338 -483
- data/generated/nl/linux/ovpn.rb +1006 -1522
- data/generated/nl/linux/ovs_datapath.rb +291 -186
- data/generated/nl/linux/ovs_flow.rb +1393 -2065
- data/generated/nl/linux/ovs_packet.rb +186 -223
- data/generated/nl/linux/ovs_vport.rb +328 -285
- data/generated/nl/linux/psp.rb +812 -717
- data/generated/nl/linux/rt_addr.rb +513 -243
- data/generated/nl/linux/rt_link.rb +4504 -7238
- data/generated/nl/linux/rt_neigh.rb +935 -847
- data/generated/nl/linux/rt_route.rb +1198 -871
- data/generated/nl/linux/rt_rule.rb +680 -659
- data/generated/nl/linux/sunrpc_cache.rb +323 -321
- data/generated/nl/linux/tc.rb +9058 -10454
- data/generated/nl/linux/tcp_metrics.rb +258 -367
- data/generated/nl/linux/team.rb +327 -345
- data/generated/nl/linux/wireguard.rb +270 -434
- data/lib/nl/linux/nlctrl_resolver.rb +1 -1
- data/lib/nl/linux/version.rb +1 -1
- data/linux/conntrack.yaml +18 -3
- data/linux/devlink.yaml +26 -4
- data/linux/dpll.yaml +19 -0
- data/linux/netdev.yaml +21 -0
- data/linux/nfsd.yaml +111 -0
- data/linux/nl80211.yaml +2 -2
- data/linux/rt-addr.yaml +4 -0
- data/linux/rt-link.yaml +7 -0
- data/linux/rt-neigh.yaml +3 -0
- data/linux/rt-route.yaml +83 -2
- data/sig/generated/nl/linux/binder.rbs +77 -220
- data/sig/generated/nl/linux/conntrack.rbs +770 -1954
- data/sig/generated/nl/linux/dev_energymodel.rbs +207 -291
- data/sig/generated/nl/linux/devlink.rbs +3318 -6068
- data/sig/generated/nl/linux/dpll.rbs +791 -1589
- data/sig/generated/nl/linux/drm_ras.rbs +160 -208
- data/sig/generated/nl/linux/ethtool.rbs +4205 -7581
- data/sig/generated/nl/linux/fou.rbs +139 -254
- data/sig/generated/nl/linux/handshake.rbs +144 -319
- data/sig/generated/nl/linux/lockd.rbs +64 -74
- data/sig/generated/nl/linux/mptcp_pm.rbs +426 -835
- data/sig/generated/nl/linux/net_shaper.rbs +351 -644
- data/sig/generated/nl/linux/netdev.rbs +1151 -2146
- data/sig/generated/nl/linux/nfsd.rbs +1047 -1409
- data/sig/generated/nl/linux/nftables.rbs +2907 -5030
- data/sig/generated/nl/linux/nl80211.rbs +1807 -7964
- data/sig/generated/nl/linux/nlctrl.rbs +220 -544
- data/sig/generated/nl/linux/ovpn.rbs +835 -1859
- data/sig/generated/nl/linux/ovs_datapath.rbs +141 -181
- data/sig/generated/nl/linux/ovs_flow.rbs +817 -2332
- data/sig/generated/nl/linux/ovs_packet.rbs +110 -237
- data/sig/generated/nl/linux/ovs_vport.rbs +174 -294
- data/sig/generated/nl/linux/psp.rbs +550 -741
- data/sig/generated/nl/linux/rt_addr.rbs +188 -226
- data/sig/generated/nl/linux/rt_link.rbs +2687 -8370
- data/sig/generated/nl/linux/rt_neigh.rbs +471 -1005
- data/sig/generated/nl/linux/rt_route.rbs +632 -862
- data/sig/generated/nl/linux/rt_rule.rbs +217 -639
- data/sig/generated/nl/linux/sunrpc_cache.rbs +233 -369
- data/sig/generated/nl/linux/tc.rbs +6199 -13391
- data/sig/generated/nl/linux/tcp_metrics.rbs +179 -421
- data/sig/generated/nl/linux/team.rbs +232 -391
- data/sig/generated/nl/linux/wireguard.rbs +197 -502
- metadata +6 -6
|
@@ -38,211 +38,87 @@ module Nl
|
|
|
38
38
|
|
|
39
39
|
module AttributeSets
|
|
40
40
|
class NodeAttrs < ::Nl::AttributeSet
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
module Definitions
|
|
42
|
+
# Unique identifier for the node. Assigned dynamically by the DRM RAS core upon registration.
|
|
43
|
+
# @rbs return: ::Integer
|
|
44
|
+
# @return [Integer]
|
|
45
|
+
def node_id: () -> ::Integer
|
|
46
|
+
|
|
47
|
+
# Device name chosen by the driver at registration. Can be a PCI BDF, UUID, or module name if unique.
|
|
48
|
+
# @rbs return: ::String
|
|
49
|
+
# @return [String]
|
|
50
|
+
def device_name: () -> ::String
|
|
51
|
+
|
|
52
|
+
# Node name chosen by the driver at registration. Can be an IP block name, or any name that identifies the RAS node inside the device.
|
|
53
|
+
# @rbs return: ::String
|
|
54
|
+
# @return [String]
|
|
55
|
+
def node_name: () -> ::String
|
|
56
|
+
|
|
57
|
+
# Type of this node, identifying its function.
|
|
58
|
+
#
|
|
59
|
+
# Known enum values are defined in {Enums::NodeType}.
|
|
60
|
+
# @rbs return: ::Integer
|
|
61
|
+
# @return [Integer]
|
|
62
|
+
def node_type: () -> ::Integer
|
|
43
63
|
end
|
|
44
64
|
|
|
45
|
-
|
|
46
|
-
class NodeId < Attribute
|
|
47
|
-
TYPE: ::Integer
|
|
48
|
-
|
|
49
|
-
NAME: ::Symbol
|
|
50
|
-
|
|
51
|
-
# @private
|
|
52
|
-
ORDER: ::Integer
|
|
53
|
-
|
|
54
|
-
# @private
|
|
55
|
-
DATATYPE: untyped
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
# Device name chosen by the driver at registration. Can be a PCI BDF, UUID, or module name if unique.
|
|
59
|
-
class DeviceName < Attribute
|
|
60
|
-
TYPE: ::Integer
|
|
61
|
-
|
|
62
|
-
NAME: ::Symbol
|
|
63
|
-
|
|
64
|
-
# @private
|
|
65
|
-
ORDER: ::Integer
|
|
66
|
-
|
|
67
|
-
# @private
|
|
68
|
-
DATATYPE: untyped
|
|
69
|
-
end
|
|
70
|
-
|
|
71
|
-
# Node name chosen by the driver at registration. Can be an IP block name, or any name that identifies the RAS node inside the device.
|
|
72
|
-
class NodeName < Attribute
|
|
73
|
-
TYPE: ::Integer
|
|
74
|
-
|
|
75
|
-
NAME: ::Symbol
|
|
76
|
-
|
|
77
|
-
# @private
|
|
78
|
-
ORDER: ::Integer
|
|
79
|
-
|
|
80
|
-
# @private
|
|
81
|
-
DATATYPE: untyped
|
|
82
|
-
end
|
|
83
|
-
|
|
84
|
-
# Type of this node, identifying its function.
|
|
85
|
-
#
|
|
86
|
-
# Known enum values are defined in {Enums::NodeType}.
|
|
87
|
-
class NodeType < Attribute
|
|
88
|
-
TYPE: ::Integer
|
|
65
|
+
include Definitions
|
|
89
66
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
ORDER: ::Integer
|
|
94
|
-
|
|
95
|
-
# @private
|
|
96
|
-
DATATYPE: untyped
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
# @private
|
|
100
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
101
|
-
|
|
102
|
-
# @private
|
|
103
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
104
|
-
|
|
105
|
-
# Unique identifier for the node. Assigned dynamically by the DRM RAS core upon registration.
|
|
106
|
-
# @rbs return: ::Integer
|
|
107
|
-
# @return [Integer]
|
|
108
|
-
# @see NodeId
|
|
109
|
-
def node_id: () -> ::Integer
|
|
110
|
-
|
|
111
|
-
# Device name chosen by the driver at registration. Can be a PCI BDF, UUID, or module name if unique.
|
|
112
|
-
# @rbs return: ::String
|
|
113
|
-
# @return [String]
|
|
114
|
-
# @see DeviceName
|
|
115
|
-
def device_name: () -> ::String
|
|
116
|
-
|
|
117
|
-
# Node name chosen by the driver at registration. Can be an IP block name, or any name that identifies the RAS node inside the device.
|
|
118
|
-
# @rbs return: ::String
|
|
119
|
-
# @return [String]
|
|
120
|
-
# @see NodeName
|
|
121
|
-
def node_name: () -> ::String
|
|
122
|
-
|
|
123
|
-
# Type of this node, identifying its function.
|
|
124
|
-
#
|
|
125
|
-
# Known enum values are defined in {Enums::NodeType}.
|
|
126
|
-
# @rbs return: ::Integer
|
|
127
|
-
# @return [Integer]
|
|
128
|
-
# @see NodeType
|
|
129
|
-
def node_type: () -> ::Integer
|
|
130
|
-
|
|
131
|
-
# Looks up Attribute class by name.
|
|
132
|
-
# @rbs name: Symbol
|
|
133
|
-
# @rbs return: Attribute
|
|
134
|
-
# @param [Symbol] name
|
|
135
|
-
# @return [Attribute]
|
|
136
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
137
|
-
|
|
138
|
-
# Looks up Attribute class by type value.
|
|
139
|
-
# @rbs type: Integer
|
|
140
|
-
# @rbs return: Attribute
|
|
141
|
-
# @param [Integer] type
|
|
142
|
-
# @return [Attribute]
|
|
143
|
-
def self.by_type: (Integer type) -> Attribute
|
|
67
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
68
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
69
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
144
70
|
end
|
|
145
71
|
|
|
146
72
|
class ErrorCounterAttrs < ::Nl::AttributeSet
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
# @
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
NAME: ::Symbol
|
|
169
|
-
|
|
170
|
-
# @private
|
|
171
|
-
ORDER: ::Integer
|
|
172
|
-
|
|
173
|
-
# @private
|
|
174
|
-
DATATYPE: untyped
|
|
73
|
+
module Definitions
|
|
74
|
+
# Node ID targeted by this error counter operation.
|
|
75
|
+
# @rbs return: ::Integer
|
|
76
|
+
# @return [Integer]
|
|
77
|
+
def node_id: () -> ::Integer
|
|
78
|
+
|
|
79
|
+
# Unique identifier for a specific error counter within an node.
|
|
80
|
+
# @rbs return: ::Integer
|
|
81
|
+
# @return [Integer]
|
|
82
|
+
def error_id: () -> ::Integer
|
|
83
|
+
|
|
84
|
+
# Name of the error.
|
|
85
|
+
# @rbs return: ::String
|
|
86
|
+
# @return [String]
|
|
87
|
+
def error_name: () -> ::String
|
|
88
|
+
|
|
89
|
+
# Current value of the requested error counter.
|
|
90
|
+
# @rbs return: ::Integer
|
|
91
|
+
# @return [Integer]
|
|
92
|
+
def error_value: () -> ::Integer
|
|
175
93
|
end
|
|
176
94
|
|
|
177
|
-
|
|
178
|
-
class ErrorName < Attribute
|
|
179
|
-
TYPE: ::Integer
|
|
95
|
+
include Definitions
|
|
180
96
|
|
|
181
|
-
|
|
97
|
+
# Decodes attributes from the decoder into a new attribute set.
|
|
98
|
+
# @rbs (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
99
|
+
def self.decode: (::Nl::Decoder decoder, ?external_selectors: ::Array[untyped]) -> instance
|
|
100
|
+
end
|
|
101
|
+
end
|
|
182
102
|
|
|
103
|
+
module AttributeSets
|
|
104
|
+
class NodeAttrs
|
|
105
|
+
module Definitions
|
|
183
106
|
# @private
|
|
184
|
-
|
|
107
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
185
108
|
|
|
186
109
|
# @private
|
|
187
|
-
|
|
110
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
188
111
|
end
|
|
112
|
+
end
|
|
189
113
|
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
TYPE: ::Integer
|
|
193
|
-
|
|
194
|
-
NAME: ::Symbol
|
|
195
|
-
|
|
114
|
+
class ErrorCounterAttrs
|
|
115
|
+
module Definitions
|
|
196
116
|
# @private
|
|
197
|
-
|
|
117
|
+
BY_TYPE: Array[::Nl::AttributeSet::Definition?]
|
|
198
118
|
|
|
199
119
|
# @private
|
|
200
|
-
|
|
120
|
+
BY_NAME: Hash[::Symbol, ::Nl::AttributeSet::Definition]
|
|
201
121
|
end
|
|
202
|
-
|
|
203
|
-
# @private
|
|
204
|
-
BY_NAME: Hash[::Symbol, Attribute]
|
|
205
|
-
|
|
206
|
-
# @private
|
|
207
|
-
BY_TYPE: Hash[::Integer, Attribute]
|
|
208
|
-
|
|
209
|
-
# Node ID targeted by this error counter operation.
|
|
210
|
-
# @rbs return: ::Integer
|
|
211
|
-
# @return [Integer]
|
|
212
|
-
# @see NodeId
|
|
213
|
-
def node_id: () -> ::Integer
|
|
214
|
-
|
|
215
|
-
# Unique identifier for a specific error counter within an node.
|
|
216
|
-
# @rbs return: ::Integer
|
|
217
|
-
# @return [Integer]
|
|
218
|
-
# @see ErrorId
|
|
219
|
-
def error_id: () -> ::Integer
|
|
220
|
-
|
|
221
|
-
# Name of the error.
|
|
222
|
-
# @rbs return: ::String
|
|
223
|
-
# @return [String]
|
|
224
|
-
# @see ErrorName
|
|
225
|
-
def error_name: () -> ::String
|
|
226
|
-
|
|
227
|
-
# Current value of the requested error counter.
|
|
228
|
-
# @rbs return: ::Integer
|
|
229
|
-
# @return [Integer]
|
|
230
|
-
# @see ErrorValue
|
|
231
|
-
def error_value: () -> ::Integer
|
|
232
|
-
|
|
233
|
-
# Looks up Attribute class by name.
|
|
234
|
-
# @rbs name: Symbol
|
|
235
|
-
# @rbs return: Attribute
|
|
236
|
-
# @param [Symbol] name
|
|
237
|
-
# @return [Attribute]
|
|
238
|
-
def self.by_name: (Symbol name) -> Attribute
|
|
239
|
-
|
|
240
|
-
# Looks up Attribute class by type value.
|
|
241
|
-
# @rbs type: Integer
|
|
242
|
-
# @rbs return: Attribute
|
|
243
|
-
# @param [Integer] type
|
|
244
|
-
# @return [Attribute]
|
|
245
|
-
def self.by_type: (Integer type) -> Attribute
|
|
246
122
|
end
|
|
247
123
|
end
|
|
248
124
|
|
|
@@ -250,7 +126,7 @@ module Nl
|
|
|
250
126
|
# Retrieve the full list of currently registered DRM RAS nodes. Each node includes its dynamically assigned ID, name, and type. **Important:** User space must call this operation first to obtain the node IDs. These IDs are required for all subsequent operations on nodes, such as querying error counters.
|
|
251
127
|
#
|
|
252
128
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
253
|
-
class DumpListNodesRequest < ::Nl::
|
|
129
|
+
class DumpListNodesRequest < ::Nl::Message
|
|
254
130
|
TYPE: ::Integer
|
|
255
131
|
|
|
256
132
|
FIXED_HEADER: untyped
|
|
@@ -258,12 +134,25 @@ module Nl
|
|
|
258
134
|
ATTRIBUTE_SET: untyped
|
|
259
135
|
|
|
260
136
|
ATTRIBUTES: untyped
|
|
137
|
+
|
|
138
|
+
include ATTRIBUTE_SET::Definitions
|
|
139
|
+
|
|
140
|
+
def initialize: (?untyped attributes) -> untyped
|
|
141
|
+
|
|
142
|
+
# @private
|
|
143
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
144
|
+
|
|
145
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
146
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
147
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
148
|
+
|
|
149
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
261
150
|
end
|
|
262
151
|
|
|
263
152
|
# Retrieve the full list of currently registered DRM RAS nodes. Each node includes its dynamically assigned ID, name, and type. **Important:** User space must call this operation first to obtain the node IDs. These IDs are required for all subsequent operations on nodes, such as querying error counters.
|
|
264
153
|
#
|
|
265
154
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
266
|
-
class DumpListNodesReply < ::Nl::
|
|
155
|
+
class DumpListNodesReply < ::Nl::Message
|
|
267
156
|
TYPE: ::Integer
|
|
268
157
|
|
|
269
158
|
FIXED_HEADER: untyped
|
|
@@ -272,22 +161,32 @@ module Nl
|
|
|
272
161
|
|
|
273
162
|
ATTRIBUTES: untyped
|
|
274
163
|
|
|
164
|
+
include ATTRIBUTE_SET::Definitions
|
|
165
|
+
|
|
166
|
+
def initialize: (?untyped attributes) -> untyped
|
|
167
|
+
|
|
168
|
+
# @private
|
|
169
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
170
|
+
|
|
171
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
172
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
173
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
174
|
+
|
|
175
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
176
|
+
|
|
275
177
|
# Unique identifier for the node. Assigned dynamically by the DRM RAS core upon registration.
|
|
276
178
|
# @rbs return: ::Integer
|
|
277
179
|
# @return [Integer]
|
|
278
|
-
# @see AttributeSets::NodeAttrs::NodeId
|
|
279
180
|
def node_id: () -> ::Integer
|
|
280
181
|
|
|
281
182
|
# Device name chosen by the driver at registration. Can be a PCI BDF, UUID, or module name if unique.
|
|
282
183
|
# @rbs return: ::String
|
|
283
184
|
# @return [String]
|
|
284
|
-
# @see AttributeSets::NodeAttrs::DeviceName
|
|
285
185
|
def device_name: () -> ::String
|
|
286
186
|
|
|
287
187
|
# Node name chosen by the driver at registration. Can be an IP block name, or any name that identifies the RAS node inside the device.
|
|
288
188
|
# @rbs return: ::String
|
|
289
189
|
# @return [String]
|
|
290
|
-
# @see AttributeSets::NodeAttrs::NodeName
|
|
291
190
|
def node_name: () -> ::String
|
|
292
191
|
|
|
293
192
|
# Type of this node, identifying its function.
|
|
@@ -295,14 +194,13 @@ module Nl
|
|
|
295
194
|
# Known enum values are defined in {Enums::NodeType}.
|
|
296
195
|
# @rbs return: ::Integer
|
|
297
196
|
# @return [Integer]
|
|
298
|
-
# @see AttributeSets::NodeAttrs::NodeType
|
|
299
197
|
def node_type: () -> ::Integer
|
|
300
198
|
end
|
|
301
199
|
|
|
302
200
|
# Retrieve error counter for a given node. The response includes the id, the name, and even the current value of each counter.
|
|
303
201
|
#
|
|
304
202
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
305
|
-
class DoGetErrorCounterRequest < ::Nl::
|
|
203
|
+
class DoGetErrorCounterRequest < ::Nl::Message
|
|
306
204
|
TYPE: ::Integer
|
|
307
205
|
|
|
308
206
|
FIXED_HEADER: untyped
|
|
@@ -311,23 +209,34 @@ module Nl
|
|
|
311
209
|
|
|
312
210
|
ATTRIBUTES: untyped
|
|
313
211
|
|
|
212
|
+
include ATTRIBUTE_SET::Definitions
|
|
213
|
+
|
|
214
|
+
def initialize: (?untyped attributes) -> untyped
|
|
215
|
+
|
|
216
|
+
# @private
|
|
217
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
218
|
+
|
|
219
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
220
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
221
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
222
|
+
|
|
223
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
224
|
+
|
|
314
225
|
# Node ID targeted by this error counter operation.
|
|
315
226
|
# @rbs return: ::Integer
|
|
316
227
|
# @return [Integer]
|
|
317
|
-
# @see AttributeSets::ErrorCounterAttrs::NodeId
|
|
318
228
|
def node_id: () -> ::Integer
|
|
319
229
|
|
|
320
230
|
# Unique identifier for a specific error counter within an node.
|
|
321
231
|
# @rbs return: ::Integer
|
|
322
232
|
# @return [Integer]
|
|
323
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorId
|
|
324
233
|
def error_id: () -> ::Integer
|
|
325
234
|
end
|
|
326
235
|
|
|
327
236
|
# Retrieve error counter for a given node. The response includes the id, the name, and even the current value of each counter.
|
|
328
237
|
#
|
|
329
238
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
330
|
-
class DoGetErrorCounterReply < ::Nl::
|
|
239
|
+
class DoGetErrorCounterReply < ::Nl::Message
|
|
331
240
|
TYPE: ::Integer
|
|
332
241
|
|
|
333
242
|
FIXED_HEADER: untyped
|
|
@@ -336,29 +245,39 @@ module Nl
|
|
|
336
245
|
|
|
337
246
|
ATTRIBUTES: untyped
|
|
338
247
|
|
|
248
|
+
include ATTRIBUTE_SET::Definitions
|
|
249
|
+
|
|
250
|
+
def initialize: (?untyped attributes) -> untyped
|
|
251
|
+
|
|
252
|
+
# @private
|
|
253
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
254
|
+
|
|
255
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
256
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
257
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
258
|
+
|
|
259
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
260
|
+
|
|
339
261
|
# Unique identifier for a specific error counter within an node.
|
|
340
262
|
# @rbs return: ::Integer
|
|
341
263
|
# @return [Integer]
|
|
342
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorId
|
|
343
264
|
def error_id: () -> ::Integer
|
|
344
265
|
|
|
345
266
|
# Name of the error.
|
|
346
267
|
# @rbs return: ::String
|
|
347
268
|
# @return [String]
|
|
348
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorName
|
|
349
269
|
def error_name: () -> ::String
|
|
350
270
|
|
|
351
271
|
# Current value of the requested error counter.
|
|
352
272
|
# @rbs return: ::Integer
|
|
353
273
|
# @return [Integer]
|
|
354
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorValue
|
|
355
274
|
def error_value: () -> ::Integer
|
|
356
275
|
end
|
|
357
276
|
|
|
358
277
|
# Retrieve error counter for a given node. The response includes the id, the name, and even the current value of each counter.
|
|
359
278
|
#
|
|
360
279
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
361
|
-
class DumpGetErrorCounterRequest < ::Nl::
|
|
280
|
+
class DumpGetErrorCounterRequest < ::Nl::Message
|
|
362
281
|
TYPE: ::Integer
|
|
363
282
|
|
|
364
283
|
FIXED_HEADER: untyped
|
|
@@ -367,17 +286,29 @@ module Nl
|
|
|
367
286
|
|
|
368
287
|
ATTRIBUTES: untyped
|
|
369
288
|
|
|
289
|
+
include ATTRIBUTE_SET::Definitions
|
|
290
|
+
|
|
291
|
+
def initialize: (?untyped attributes) -> untyped
|
|
292
|
+
|
|
293
|
+
# @private
|
|
294
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
295
|
+
|
|
296
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
297
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
298
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
299
|
+
|
|
300
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
301
|
+
|
|
370
302
|
# Node ID targeted by this error counter operation.
|
|
371
303
|
# @rbs return: ::Integer
|
|
372
304
|
# @return [Integer]
|
|
373
|
-
# @see AttributeSets::ErrorCounterAttrs::NodeId
|
|
374
305
|
def node_id: () -> ::Integer
|
|
375
306
|
end
|
|
376
307
|
|
|
377
308
|
# Retrieve error counter for a given node. The response includes the id, the name, and even the current value of each counter.
|
|
378
309
|
#
|
|
379
310
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
380
|
-
class DumpGetErrorCounterReply < ::Nl::
|
|
311
|
+
class DumpGetErrorCounterReply < ::Nl::Message
|
|
381
312
|
TYPE: ::Integer
|
|
382
313
|
|
|
383
314
|
FIXED_HEADER: untyped
|
|
@@ -386,29 +317,39 @@ module Nl
|
|
|
386
317
|
|
|
387
318
|
ATTRIBUTES: untyped
|
|
388
319
|
|
|
320
|
+
include ATTRIBUTE_SET::Definitions
|
|
321
|
+
|
|
322
|
+
def initialize: (?untyped attributes) -> untyped
|
|
323
|
+
|
|
324
|
+
# @private
|
|
325
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
326
|
+
|
|
327
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
328
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
329
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
330
|
+
|
|
331
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
332
|
+
|
|
389
333
|
# Unique identifier for a specific error counter within an node.
|
|
390
334
|
# @rbs return: ::Integer
|
|
391
335
|
# @return [Integer]
|
|
392
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorId
|
|
393
336
|
def error_id: () -> ::Integer
|
|
394
337
|
|
|
395
338
|
# Name of the error.
|
|
396
339
|
# @rbs return: ::String
|
|
397
340
|
# @return [String]
|
|
398
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorName
|
|
399
341
|
def error_name: () -> ::String
|
|
400
342
|
|
|
401
343
|
# Current value of the requested error counter.
|
|
402
344
|
# @rbs return: ::Integer
|
|
403
345
|
# @return [Integer]
|
|
404
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorValue
|
|
405
346
|
def error_value: () -> ::Integer
|
|
406
347
|
end
|
|
407
348
|
|
|
408
349
|
# Clear error counter for a given node. The request includes the error-id and node-id of the counter to be cleared.
|
|
409
350
|
#
|
|
410
351
|
# Requires CAP_NET_ADMIN in the initial user namespace.
|
|
411
|
-
class DoClearErrorCounterRequest < ::Nl::
|
|
352
|
+
class DoClearErrorCounterRequest < ::Nl::Message
|
|
412
353
|
TYPE: ::Integer
|
|
413
354
|
|
|
414
355
|
FIXED_HEADER: untyped
|
|
@@ -417,16 +358,27 @@ module Nl
|
|
|
417
358
|
|
|
418
359
|
ATTRIBUTES: untyped
|
|
419
360
|
|
|
361
|
+
include ATTRIBUTE_SET::Definitions
|
|
362
|
+
|
|
363
|
+
def initialize: (?untyped attributes) -> untyped
|
|
364
|
+
|
|
365
|
+
# @private
|
|
366
|
+
def self.build_instance: (untyped params, ?external_selectors: untyped) -> untyped
|
|
367
|
+
|
|
368
|
+
# Decodes a message payload from the decoder into a new instance.
|
|
369
|
+
# @rbs (::Nl::Decoder decoder) -> instance
|
|
370
|
+
def self.decode: (::Nl::Decoder decoder) -> instance
|
|
371
|
+
|
|
372
|
+
def encode: (untyped encoder, ?external_selectors: untyped) -> untyped
|
|
373
|
+
|
|
420
374
|
# Node ID targeted by this error counter operation.
|
|
421
375
|
# @rbs return: ::Integer
|
|
422
376
|
# @return [Integer]
|
|
423
|
-
# @see AttributeSets::ErrorCounterAttrs::NodeId
|
|
424
377
|
def node_id: () -> ::Integer
|
|
425
378
|
|
|
426
379
|
# Unique identifier for a specific error counter within an node.
|
|
427
380
|
# @rbs return: ::Integer
|
|
428
381
|
# @return [Integer]
|
|
429
|
-
# @see AttributeSets::ErrorCounterAttrs::ErrorId
|
|
430
382
|
def error_id: () -> ::Integer
|
|
431
383
|
end
|
|
432
384
|
end
|