nl-linux 0.2.3 → 0.2.4
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 +6 -0
- data/NLSPEC_VERSION +1 -1
- data/generated/nl/linux/devlink.rb +727 -200
- data/generated/nl/linux/dpll.rb +79 -12
- data/generated/nl/linux/drm_ras.rb +222 -0
- data/generated/nl/linux/ethtool.rb +47 -8
- data/generated/nl/linux/handshake.rb +1 -1
- data/generated/nl/linux/net_shaper.rb +1 -1
- data/generated/nl/linux/netdev.rb +141 -6
- data/generated/nl/linux/nfsd.rb +566 -8
- data/generated/nl/linux/nftables.rb +1705 -139
- data/generated/nl/linux/ovpn.rb +27 -12
- data/generated/nl/linux/ovs_datapath.rb +4 -4
- data/generated/nl/linux/ovs_packet.rb +166 -0
- data/generated/nl/linux/ovs_vport.rb +4 -4
- data/generated/nl/linux/psp.rb +196 -6
- data/generated/nl/linux/rt_link.rb +84 -78
- data/generated/nl/linux/sunrpc_cache.rb +293 -0
- data/generated/nl/linux/tc.rb +7 -2
- data/generated/nl/linux.rb +3 -0
- data/lib/nl/linux/version.rb +1 -1
- data/linux/devlink.yaml +92 -2
- data/linux/dpll.yaml +94 -5
- data/linux/drm_ras.yaml +126 -0
- data/linux/ethtool.yaml +21 -4
- data/linux/handshake.yaml +9 -0
- data/linux/mptcp_pm.yaml +1 -0
- data/linux/net_shaper.yaml +13 -6
- data/linux/netdev.yaml +61 -2
- data/linux/nfsd.yaml +303 -2
- data/linux/nftables.yaml +640 -49
- data/linux/ovpn.yaml +26 -1
- data/linux/ovs_packet.yaml +130 -0
- data/linux/psp.yaml +80 -3
- data/linux/rt-link.yaml +70 -24
- data/linux/sunrpc_cache.yaml +149 -0
- data/linux/tc.yaml +3 -0
- metadata +12 -6
data/linux/ovpn.yaml
CHANGED
|
@@ -43,7 +43,8 @@ attribute-sets:
|
|
|
43
43
|
type: u32
|
|
44
44
|
doc: >-
|
|
45
45
|
The unique ID of the peer in the device context. To be used to
|
|
46
|
-
identify peers during operations for a specific device
|
|
46
|
+
identify peers during operations for a specific device.
|
|
47
|
+
Also used to match packets received from this peer.
|
|
47
48
|
checks:
|
|
48
49
|
max: 0xFFFFFF
|
|
49
50
|
-
|
|
@@ -117,12 +118,16 @@ attribute-sets:
|
|
|
117
118
|
doc: >-
|
|
118
119
|
The number of seconds after which a keep alive message is sent to the
|
|
119
120
|
peer
|
|
121
|
+
checks:
|
|
122
|
+
max: 86400
|
|
120
123
|
-
|
|
121
124
|
name: keepalive-timeout
|
|
122
125
|
type: u32
|
|
123
126
|
doc: >-
|
|
124
127
|
The number of seconds from the last activity after which the peer is
|
|
125
128
|
assumed dead
|
|
129
|
+
checks:
|
|
130
|
+
max: 86400
|
|
126
131
|
-
|
|
127
132
|
name: del-reason
|
|
128
133
|
type: u32
|
|
@@ -160,6 +165,16 @@ attribute-sets:
|
|
|
160
165
|
name: link-tx-packets
|
|
161
166
|
type: uint
|
|
162
167
|
doc: Number of packets transmitted at the transport level
|
|
168
|
+
-
|
|
169
|
+
name: tx-id
|
|
170
|
+
type: u32
|
|
171
|
+
doc: >-
|
|
172
|
+
The ID value used when transmitting packets to this peer. This
|
|
173
|
+
way outgoing packets can have a different ID than incoming ones.
|
|
174
|
+
Useful in multipeer-to-multipeer connections, where each peer
|
|
175
|
+
will advertise the tx-id to be used on the link.
|
|
176
|
+
checks:
|
|
177
|
+
max: 0xFFFFFF
|
|
163
178
|
-
|
|
164
179
|
name: peer-new-input
|
|
165
180
|
subset-of: peer
|
|
@@ -188,6 +203,8 @@ attribute-sets:
|
|
|
188
203
|
name: keepalive-interval
|
|
189
204
|
-
|
|
190
205
|
name: keepalive-timeout
|
|
206
|
+
-
|
|
207
|
+
name: tx-id
|
|
191
208
|
-
|
|
192
209
|
name: peer-set-input
|
|
193
210
|
subset-of: peer
|
|
@@ -214,6 +231,8 @@ attribute-sets:
|
|
|
214
231
|
name: keepalive-interval
|
|
215
232
|
-
|
|
216
233
|
name: keepalive-timeout
|
|
234
|
+
-
|
|
235
|
+
name: tx-id
|
|
217
236
|
-
|
|
218
237
|
name: peer-del-input
|
|
219
238
|
subset-of: peer
|
|
@@ -502,6 +521,12 @@ operations:
|
|
|
502
521
|
- ifindex
|
|
503
522
|
- keyconf
|
|
504
523
|
|
|
524
|
+
-
|
|
525
|
+
name: peer-float-ntf
|
|
526
|
+
doc: Notification about a peer floating (changing its remote UDP endpoint)
|
|
527
|
+
notify: peer-get
|
|
528
|
+
mcgrp: peers
|
|
529
|
+
|
|
505
530
|
mcast-groups:
|
|
506
531
|
list:
|
|
507
532
|
-
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
|
2
|
+
---
|
|
3
|
+
name: ovs_packet
|
|
4
|
+
version: 1
|
|
5
|
+
protocol: genetlink-legacy
|
|
6
|
+
uapi-header: linux/openvswitch.h
|
|
7
|
+
|
|
8
|
+
doc: |
|
|
9
|
+
OVS packet execution over generic netlink.
|
|
10
|
+
|
|
11
|
+
Only OVS_PACKET_CMD_EXECUTE is exposed as a genl operation.
|
|
12
|
+
OVS_PACKET_CMD_MISS and OVS_PACKET_CMD_ACTION are kernel-to-userspace
|
|
13
|
+
upcalls sent via genlmsg_unicast() to the vport's upcall_pid and have
|
|
14
|
+
no associated genl_ops or multicast group.
|
|
15
|
+
|
|
16
|
+
Several attributes in the attribute set (userdata, egress-tun-key, len)
|
|
17
|
+
exist for the upcall path and are not used by the EXECUTE operation.
|
|
18
|
+
For EXECUTE, packet, key, and actions are mandatory (kernel returns
|
|
19
|
+
-EINVAL without them).
|
|
20
|
+
|
|
21
|
+
definitions:
|
|
22
|
+
-
|
|
23
|
+
name: ovs-header
|
|
24
|
+
type: struct
|
|
25
|
+
members:
|
|
26
|
+
-
|
|
27
|
+
name: dp-ifindex
|
|
28
|
+
type: u32
|
|
29
|
+
|
|
30
|
+
attribute-sets:
|
|
31
|
+
-
|
|
32
|
+
name: packet
|
|
33
|
+
name-prefix: ovs-packet-attr-
|
|
34
|
+
enum-name: ovs-packet-attr
|
|
35
|
+
attributes:
|
|
36
|
+
-
|
|
37
|
+
name: packet
|
|
38
|
+
type: binary
|
|
39
|
+
doc: Packet data, from the start of the Ethernet header.
|
|
40
|
+
checks:
|
|
41
|
+
min-len: 14
|
|
42
|
+
-
|
|
43
|
+
name: key
|
|
44
|
+
type: binary
|
|
45
|
+
doc: |
|
|
46
|
+
Nested OVS_KEY_ATTR_* attributes, extracted flow key.
|
|
47
|
+
Defined as binary because the key attribute-set belongs to the
|
|
48
|
+
ovs_flow family spec; cross-spec references are not supported.
|
|
49
|
+
-
|
|
50
|
+
name: actions
|
|
51
|
+
type: binary
|
|
52
|
+
doc: |
|
|
53
|
+
Nested OVS_ACTION_ATTR_* attributes.
|
|
54
|
+
Defined as binary for the same reason as key.
|
|
55
|
+
-
|
|
56
|
+
name: userdata
|
|
57
|
+
type: binary
|
|
58
|
+
doc: Opaque userspace cookie from OVS_USERSPACE_ATTR_USERDATA.
|
|
59
|
+
-
|
|
60
|
+
name: egress-tun-key
|
|
61
|
+
type: binary
|
|
62
|
+
doc: Nested OVS_TUNNEL_KEY_ATTR_* for output tunnel metadata.
|
|
63
|
+
-
|
|
64
|
+
name: unused1
|
|
65
|
+
type: unused
|
|
66
|
+
-
|
|
67
|
+
name: unused2
|
|
68
|
+
type: unused
|
|
69
|
+
-
|
|
70
|
+
name: probe
|
|
71
|
+
type: flag
|
|
72
|
+
doc: Packet operation is a feature probe, error logging suppressed.
|
|
73
|
+
-
|
|
74
|
+
name: mru
|
|
75
|
+
type: u16
|
|
76
|
+
doc: Maximum received IP fragment size.
|
|
77
|
+
-
|
|
78
|
+
name: len
|
|
79
|
+
type: u32
|
|
80
|
+
doc: Packet size before truncation.
|
|
81
|
+
-
|
|
82
|
+
name: hash
|
|
83
|
+
type: u64
|
|
84
|
+
doc: Packet hash, low 32 bits are skb hash, upper bits are flags.
|
|
85
|
+
-
|
|
86
|
+
name: upcall-pid
|
|
87
|
+
type: u32
|
|
88
|
+
doc: Netlink PID to use for upcalls during EXECUTE processing.
|
|
89
|
+
|
|
90
|
+
operations:
|
|
91
|
+
fixed-header: ovs-header
|
|
92
|
+
name-prefix: ovs-packet-cmd-
|
|
93
|
+
list:
|
|
94
|
+
-
|
|
95
|
+
name: miss
|
|
96
|
+
doc: Notify userspace of a flow table miss for a received packet.
|
|
97
|
+
value: 1
|
|
98
|
+
attribute-set: packet
|
|
99
|
+
event:
|
|
100
|
+
attributes: &event-attrs
|
|
101
|
+
- packet
|
|
102
|
+
- key
|
|
103
|
+
- userdata
|
|
104
|
+
- actions
|
|
105
|
+
- egress-tun-key
|
|
106
|
+
- mru
|
|
107
|
+
- len
|
|
108
|
+
- hash
|
|
109
|
+
-
|
|
110
|
+
name: action
|
|
111
|
+
doc: Notify userspace as requested by an OVS_ACTION_ATTR_USERSPACE action.
|
|
112
|
+
value: 2
|
|
113
|
+
attribute-set: packet
|
|
114
|
+
event:
|
|
115
|
+
attributes: *event-attrs
|
|
116
|
+
-
|
|
117
|
+
name: execute
|
|
118
|
+
doc: Apply actions to a packet.
|
|
119
|
+
value: 3
|
|
120
|
+
attribute-set: packet
|
|
121
|
+
do:
|
|
122
|
+
request:
|
|
123
|
+
attributes:
|
|
124
|
+
- packet
|
|
125
|
+
- key
|
|
126
|
+
- actions
|
|
127
|
+
- probe
|
|
128
|
+
- mru
|
|
129
|
+
- hash
|
|
130
|
+
- upcall-pid
|
data/linux/psp.yaml
CHANGED
|
@@ -13,6 +13,17 @@ definitions:
|
|
|
13
13
|
hdr0-aes-gmac-128, hdr0-aes-gmac-256]
|
|
14
14
|
|
|
15
15
|
attribute-sets:
|
|
16
|
+
-
|
|
17
|
+
name: assoc-dev-info
|
|
18
|
+
attributes:
|
|
19
|
+
-
|
|
20
|
+
name: ifindex
|
|
21
|
+
doc: ifindex of an associated network device.
|
|
22
|
+
type: u32
|
|
23
|
+
-
|
|
24
|
+
name: nsid
|
|
25
|
+
doc: Network namespace ID of the associated device.
|
|
26
|
+
type: s32
|
|
16
27
|
-
|
|
17
28
|
name: dev
|
|
18
29
|
attributes:
|
|
@@ -24,7 +35,9 @@ attribute-sets:
|
|
|
24
35
|
min: 1
|
|
25
36
|
-
|
|
26
37
|
name: ifindex
|
|
27
|
-
doc:
|
|
38
|
+
doc: |
|
|
39
|
+
ifindex of the main netdevice linked to the PSP device,
|
|
40
|
+
or the ifindex to associate with the PSP device.
|
|
28
41
|
type: u32
|
|
29
42
|
-
|
|
30
43
|
name: psp-versions-cap
|
|
@@ -38,6 +51,28 @@ attribute-sets:
|
|
|
38
51
|
type: u32
|
|
39
52
|
enum: version
|
|
40
53
|
enum-as-flags: true
|
|
54
|
+
-
|
|
55
|
+
name: assoc-list
|
|
56
|
+
doc: List of associated virtual devices.
|
|
57
|
+
type: nest
|
|
58
|
+
nested-attributes: assoc-dev-info
|
|
59
|
+
multi-attr: true
|
|
60
|
+
-
|
|
61
|
+
name: nsid
|
|
62
|
+
doc: |
|
|
63
|
+
Network namespace ID for the device to associate/disassociate.
|
|
64
|
+
Optional for dev-assoc and dev-disassoc; if not present, the
|
|
65
|
+
device is looked up in the caller's network namespace.
|
|
66
|
+
type: s32
|
|
67
|
+
-
|
|
68
|
+
name: by-association
|
|
69
|
+
doc: |
|
|
70
|
+
Flag indicating the PSP device is an associated device from a
|
|
71
|
+
different network namespace.
|
|
72
|
+
Present when in associated namespace, absent when in primary/host
|
|
73
|
+
namespace.
|
|
74
|
+
type: flag
|
|
75
|
+
|
|
41
76
|
-
|
|
42
77
|
name: assoc
|
|
43
78
|
attributes:
|
|
@@ -170,6 +205,8 @@ operations:
|
|
|
170
205
|
- ifindex
|
|
171
206
|
- psp-versions-cap
|
|
172
207
|
- psp-versions-ena
|
|
208
|
+
- assoc-list
|
|
209
|
+
- by-association
|
|
173
210
|
pre: psp-device-get-locked
|
|
174
211
|
post: psp-device-unlock
|
|
175
212
|
dump:
|
|
@@ -188,6 +225,7 @@ operations:
|
|
|
188
225
|
name: dev-set
|
|
189
226
|
doc: Set the configuration of a PSP device.
|
|
190
227
|
attribute-set: dev
|
|
228
|
+
flags: [admin-perm]
|
|
191
229
|
do:
|
|
192
230
|
request:
|
|
193
231
|
attributes:
|
|
@@ -195,7 +233,7 @@ operations:
|
|
|
195
233
|
- psp-versions-ena
|
|
196
234
|
reply:
|
|
197
235
|
attributes: []
|
|
198
|
-
pre: psp-device-get-locked
|
|
236
|
+
pre: psp-device-get-locked-admin
|
|
199
237
|
post: psp-device-unlock
|
|
200
238
|
-
|
|
201
239
|
name: dev-change-ntf
|
|
@@ -207,6 +245,7 @@ operations:
|
|
|
207
245
|
name: key-rotate
|
|
208
246
|
doc: Rotate the device key.
|
|
209
247
|
attribute-set: dev
|
|
248
|
+
flags: [admin-perm]
|
|
210
249
|
do:
|
|
211
250
|
request:
|
|
212
251
|
attributes:
|
|
@@ -214,7 +253,7 @@ operations:
|
|
|
214
253
|
reply:
|
|
215
254
|
attributes:
|
|
216
255
|
- id
|
|
217
|
-
pre: psp-device-get-locked
|
|
256
|
+
pre: psp-device-get-locked-admin
|
|
218
257
|
post: psp-device-unlock
|
|
219
258
|
-
|
|
220
259
|
name: key-rotate-ntf
|
|
@@ -267,10 +306,48 @@ operations:
|
|
|
267
306
|
- dev-id
|
|
268
307
|
- key-rotations
|
|
269
308
|
- stale-events
|
|
309
|
+
- rx-packets
|
|
310
|
+
- rx-bytes
|
|
311
|
+
- rx-auth-fail
|
|
312
|
+
- rx-error
|
|
313
|
+
- rx-bad
|
|
314
|
+
- tx-packets
|
|
315
|
+
- tx-bytes
|
|
316
|
+
- tx-error
|
|
270
317
|
pre: psp-device-get-locked
|
|
271
318
|
post: psp-device-unlock
|
|
272
319
|
dump:
|
|
273
320
|
reply: *stats-all
|
|
321
|
+
-
|
|
322
|
+
name: dev-assoc
|
|
323
|
+
doc: Associate a network device with a PSP device.
|
|
324
|
+
attribute-set: dev
|
|
325
|
+
flags: [admin-perm]
|
|
326
|
+
do:
|
|
327
|
+
request:
|
|
328
|
+
attributes:
|
|
329
|
+
- id
|
|
330
|
+
- ifindex
|
|
331
|
+
- nsid
|
|
332
|
+
reply:
|
|
333
|
+
attributes: []
|
|
334
|
+
pre: psp-device-get-locked-dev-assoc
|
|
335
|
+
post: psp-device-unlock
|
|
336
|
+
-
|
|
337
|
+
name: dev-disassoc
|
|
338
|
+
doc: Disassociate a network device from a PSP device.
|
|
339
|
+
attribute-set: dev
|
|
340
|
+
flags: [admin-perm]
|
|
341
|
+
do:
|
|
342
|
+
request:
|
|
343
|
+
attributes:
|
|
344
|
+
- id
|
|
345
|
+
- ifindex
|
|
346
|
+
- nsid
|
|
347
|
+
reply:
|
|
348
|
+
attributes: []
|
|
349
|
+
pre: psp-device-get-locked
|
|
350
|
+
post: psp-device-unlock
|
|
274
351
|
|
|
275
352
|
mcast-groups:
|
|
276
353
|
list:
|
data/linux/rt-link.yaml
CHANGED
|
@@ -825,6 +825,13 @@ definitions:
|
|
|
825
825
|
entries:
|
|
826
826
|
- name: none
|
|
827
827
|
- name: default
|
|
828
|
+
-
|
|
829
|
+
name: netkit-pairing
|
|
830
|
+
type: enum
|
|
831
|
+
enum-name: netkit-pairing
|
|
832
|
+
entries:
|
|
833
|
+
- name: pair
|
|
834
|
+
- name: single
|
|
828
835
|
-
|
|
829
836
|
name: ovpn-mode
|
|
830
837
|
enum-name: ovpn-mode
|
|
@@ -833,6 +840,14 @@ definitions:
|
|
|
833
840
|
entries:
|
|
834
841
|
- p2p
|
|
835
842
|
- mp
|
|
843
|
+
-
|
|
844
|
+
name: br-stp-mode
|
|
845
|
+
type: enum
|
|
846
|
+
enum-name: br-stp-mode
|
|
847
|
+
entries:
|
|
848
|
+
- auto
|
|
849
|
+
- user
|
|
850
|
+
- kernel
|
|
836
851
|
|
|
837
852
|
attribute-sets:
|
|
838
853
|
-
|
|
@@ -865,19 +880,21 @@ attribute-sets:
|
|
|
865
880
|
struct: rtnl-link-stats
|
|
866
881
|
-
|
|
867
882
|
name: cost
|
|
868
|
-
type:
|
|
883
|
+
type: unused
|
|
869
884
|
-
|
|
870
885
|
name: priority
|
|
871
|
-
type:
|
|
886
|
+
type: unused
|
|
872
887
|
-
|
|
873
888
|
name: master
|
|
874
889
|
type: u32
|
|
875
890
|
-
|
|
876
891
|
name: wireless
|
|
877
|
-
type:
|
|
892
|
+
type: binary
|
|
893
|
+
doc: struct iw_event
|
|
878
894
|
-
|
|
879
895
|
name: protinfo
|
|
880
|
-
type:
|
|
896
|
+
type: binary
|
|
897
|
+
doc: A nest of ifla6-attrs or linkinfo-brport-attrs
|
|
881
898
|
-
|
|
882
899
|
name: txqlen
|
|
883
900
|
type: u32
|
|
@@ -1336,6 +1353,12 @@ attribute-sets:
|
|
|
1336
1353
|
-
|
|
1337
1354
|
name: coupled-control
|
|
1338
1355
|
type: u8
|
|
1356
|
+
-
|
|
1357
|
+
name: broadcast-neigh
|
|
1358
|
+
type: u8
|
|
1359
|
+
-
|
|
1360
|
+
name: lacp-strict
|
|
1361
|
+
type: u8
|
|
1339
1362
|
-
|
|
1340
1363
|
name: bond-ad-info-attrs
|
|
1341
1364
|
name-prefix: ifla-bond-ad-info-
|
|
@@ -1543,6 +1566,10 @@ attribute-sets:
|
|
|
1543
1566
|
-
|
|
1544
1567
|
name: fdb-max-learned
|
|
1545
1568
|
type: u32
|
|
1569
|
+
-
|
|
1570
|
+
name: stp-mode
|
|
1571
|
+
type: u32
|
|
1572
|
+
enum: br-stp-mode
|
|
1546
1573
|
-
|
|
1547
1574
|
name: linkinfo-brport-attrs
|
|
1548
1575
|
name-prefix: ifla-brport-
|
|
@@ -1558,31 +1585,31 @@ attribute-sets:
|
|
|
1558
1585
|
type: u32
|
|
1559
1586
|
-
|
|
1560
1587
|
name: mode
|
|
1561
|
-
type:
|
|
1588
|
+
type: u8
|
|
1562
1589
|
-
|
|
1563
1590
|
name: guard
|
|
1564
|
-
type:
|
|
1591
|
+
type: u8
|
|
1565
1592
|
-
|
|
1566
1593
|
name: protect
|
|
1567
|
-
type:
|
|
1594
|
+
type: u8
|
|
1568
1595
|
-
|
|
1569
1596
|
name: fast-leave
|
|
1570
|
-
type:
|
|
1597
|
+
type: u8
|
|
1571
1598
|
-
|
|
1572
1599
|
name: learning
|
|
1573
|
-
type:
|
|
1600
|
+
type: u8
|
|
1574
1601
|
-
|
|
1575
1602
|
name: unicast-flood
|
|
1576
|
-
type:
|
|
1603
|
+
type: u8
|
|
1577
1604
|
-
|
|
1578
1605
|
name: proxyarp
|
|
1579
|
-
type:
|
|
1606
|
+
type: u8
|
|
1580
1607
|
-
|
|
1581
1608
|
name: learning-sync
|
|
1582
|
-
type:
|
|
1609
|
+
type: u8
|
|
1583
1610
|
-
|
|
1584
1611
|
name: proxyarp-wifi
|
|
1585
|
-
type:
|
|
1612
|
+
type: u8
|
|
1586
1613
|
-
|
|
1587
1614
|
name: root-id
|
|
1588
1615
|
type: binary
|
|
@@ -1629,34 +1656,34 @@ attribute-sets:
|
|
|
1629
1656
|
type: pad
|
|
1630
1657
|
-
|
|
1631
1658
|
name: mcast-flood
|
|
1632
|
-
type:
|
|
1659
|
+
type: u8
|
|
1633
1660
|
-
|
|
1634
1661
|
name: mcast-to-ucast
|
|
1635
|
-
type:
|
|
1662
|
+
type: u8
|
|
1636
1663
|
-
|
|
1637
1664
|
name: vlan-tunnel
|
|
1638
|
-
type:
|
|
1665
|
+
type: u8
|
|
1639
1666
|
-
|
|
1640
1667
|
name: bcast-flood
|
|
1641
|
-
type:
|
|
1668
|
+
type: u8
|
|
1642
1669
|
-
|
|
1643
1670
|
name: group-fwd-mask
|
|
1644
1671
|
type: u16
|
|
1645
1672
|
-
|
|
1646
1673
|
name: neigh-suppress
|
|
1647
|
-
type:
|
|
1674
|
+
type: u8
|
|
1648
1675
|
-
|
|
1649
1676
|
name: isolated
|
|
1650
|
-
type:
|
|
1677
|
+
type: u8
|
|
1651
1678
|
-
|
|
1652
1679
|
name: backup-port
|
|
1653
1680
|
type: u32
|
|
1654
1681
|
-
|
|
1655
1682
|
name: mrp-ring-open
|
|
1656
|
-
type:
|
|
1683
|
+
type: u8
|
|
1657
1684
|
-
|
|
1658
1685
|
name: mrp-in-open
|
|
1659
|
-
type:
|
|
1686
|
+
type: u8
|
|
1660
1687
|
-
|
|
1661
1688
|
name: mcast-eht-hosts-limit
|
|
1662
1689
|
type: u32
|
|
@@ -1665,10 +1692,10 @@ attribute-sets:
|
|
|
1665
1692
|
type: u32
|
|
1666
1693
|
-
|
|
1667
1694
|
name: locked
|
|
1668
|
-
type:
|
|
1695
|
+
type: u8
|
|
1669
1696
|
-
|
|
1670
1697
|
name: mab
|
|
1671
|
-
type:
|
|
1698
|
+
type: u8
|
|
1672
1699
|
-
|
|
1673
1700
|
name: mcast-n-groups
|
|
1674
1701
|
type: u32
|
|
@@ -1677,10 +1704,13 @@ attribute-sets:
|
|
|
1677
1704
|
type: u32
|
|
1678
1705
|
-
|
|
1679
1706
|
name: neigh-vlan-suppress
|
|
1680
|
-
type:
|
|
1707
|
+
type: u8
|
|
1681
1708
|
-
|
|
1682
1709
|
name: backup-nhid
|
|
1683
1710
|
type: u32
|
|
1711
|
+
-
|
|
1712
|
+
name: neigh-forward-grat
|
|
1713
|
+
type: u8
|
|
1684
1714
|
-
|
|
1685
1715
|
name: linkinfo-gre-attrs
|
|
1686
1716
|
name-prefix: ifla-gre-
|
|
@@ -1914,6 +1944,18 @@ attribute-sets:
|
|
|
1914
1944
|
name: port-range
|
|
1915
1945
|
type: binary
|
|
1916
1946
|
struct: ifla-geneve-port-range
|
|
1947
|
+
-
|
|
1948
|
+
name: gro-hint
|
|
1949
|
+
type: flag
|
|
1950
|
+
-
|
|
1951
|
+
name: local
|
|
1952
|
+
type: u32
|
|
1953
|
+
byte-order: big-endian
|
|
1954
|
+
display-hint: ipv4
|
|
1955
|
+
-
|
|
1956
|
+
name: local6
|
|
1957
|
+
type: binary
|
|
1958
|
+
display-hint: ipv6
|
|
1917
1959
|
-
|
|
1918
1960
|
name: linkinfo-hsr-attrs
|
|
1919
1961
|
name-prefix: ifla-hsr-
|
|
@@ -2296,6 +2338,10 @@ attribute-sets:
|
|
|
2296
2338
|
-
|
|
2297
2339
|
name: tailroom
|
|
2298
2340
|
type: u16
|
|
2341
|
+
-
|
|
2342
|
+
name: pairing
|
|
2343
|
+
type: u32
|
|
2344
|
+
enum: netkit-pairing
|
|
2299
2345
|
-
|
|
2300
2346
|
name: linkinfo-ovpn-attrs
|
|
2301
2347
|
name-prefix: ifla-ovpn-
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
|
|
2
|
+
---
|
|
3
|
+
name: sunrpc
|
|
4
|
+
protocol: genetlink
|
|
5
|
+
uapi-header: linux/sunrpc_netlink.h
|
|
6
|
+
|
|
7
|
+
doc: SUNRPC cache upcall support over generic netlink.
|
|
8
|
+
|
|
9
|
+
definitions:
|
|
10
|
+
-
|
|
11
|
+
type: flags
|
|
12
|
+
name: cache-type
|
|
13
|
+
entries: [ip_map, unix_gid]
|
|
14
|
+
|
|
15
|
+
attribute-sets:
|
|
16
|
+
-
|
|
17
|
+
name: cache-notify
|
|
18
|
+
attributes:
|
|
19
|
+
-
|
|
20
|
+
name: cache-type
|
|
21
|
+
type: u32
|
|
22
|
+
enum: cache-type
|
|
23
|
+
-
|
|
24
|
+
name: ip-map
|
|
25
|
+
attributes:
|
|
26
|
+
-
|
|
27
|
+
name: seqno
|
|
28
|
+
type: u64
|
|
29
|
+
-
|
|
30
|
+
name: class
|
|
31
|
+
type: string
|
|
32
|
+
-
|
|
33
|
+
name: addr
|
|
34
|
+
type: string
|
|
35
|
+
-
|
|
36
|
+
name: domain
|
|
37
|
+
type: string
|
|
38
|
+
-
|
|
39
|
+
name: negative
|
|
40
|
+
type: flag
|
|
41
|
+
-
|
|
42
|
+
name: expiry
|
|
43
|
+
type: u64
|
|
44
|
+
-
|
|
45
|
+
name: ip-map-reqs
|
|
46
|
+
attributes:
|
|
47
|
+
-
|
|
48
|
+
name: requests
|
|
49
|
+
type: nest
|
|
50
|
+
nested-attributes: ip-map
|
|
51
|
+
multi-attr: true
|
|
52
|
+
-
|
|
53
|
+
name: unix-gid
|
|
54
|
+
attributes:
|
|
55
|
+
-
|
|
56
|
+
name: seqno
|
|
57
|
+
type: u64
|
|
58
|
+
-
|
|
59
|
+
name: uid
|
|
60
|
+
type: u32
|
|
61
|
+
-
|
|
62
|
+
name: gids
|
|
63
|
+
type: u32
|
|
64
|
+
multi-attr: true
|
|
65
|
+
-
|
|
66
|
+
name: negative
|
|
67
|
+
type: flag
|
|
68
|
+
-
|
|
69
|
+
name: expiry
|
|
70
|
+
type: u64
|
|
71
|
+
-
|
|
72
|
+
name: unix-gid-reqs
|
|
73
|
+
attributes:
|
|
74
|
+
-
|
|
75
|
+
name: requests
|
|
76
|
+
type: nest
|
|
77
|
+
nested-attributes: unix-gid
|
|
78
|
+
multi-attr: true
|
|
79
|
+
-
|
|
80
|
+
name: cache-flush
|
|
81
|
+
attributes:
|
|
82
|
+
-
|
|
83
|
+
name: mask
|
|
84
|
+
type: u32
|
|
85
|
+
enum: cache-type
|
|
86
|
+
enum-as-flags: true
|
|
87
|
+
|
|
88
|
+
operations:
|
|
89
|
+
list:
|
|
90
|
+
-
|
|
91
|
+
name: cache-notify
|
|
92
|
+
doc: Notification that there are cache requests that need servicing
|
|
93
|
+
attribute-set: cache-notify
|
|
94
|
+
mcgrp: exportd
|
|
95
|
+
event:
|
|
96
|
+
attributes:
|
|
97
|
+
- cache-type
|
|
98
|
+
-
|
|
99
|
+
name: ip-map-get-reqs
|
|
100
|
+
doc: Dump all pending ip_map requests
|
|
101
|
+
attribute-set: ip-map-reqs
|
|
102
|
+
flags: [admin-perm]
|
|
103
|
+
dump:
|
|
104
|
+
reply:
|
|
105
|
+
attributes:
|
|
106
|
+
- requests
|
|
107
|
+
-
|
|
108
|
+
name: ip-map-set-reqs
|
|
109
|
+
doc: Respond to one or more ip_map requests
|
|
110
|
+
attribute-set: ip-map-reqs
|
|
111
|
+
flags: [admin-perm]
|
|
112
|
+
do:
|
|
113
|
+
request:
|
|
114
|
+
attributes:
|
|
115
|
+
- requests
|
|
116
|
+
-
|
|
117
|
+
name: unix-gid-get-reqs
|
|
118
|
+
doc: Dump all pending unix_gid requests
|
|
119
|
+
attribute-set: unix-gid-reqs
|
|
120
|
+
flags: [admin-perm]
|
|
121
|
+
dump:
|
|
122
|
+
reply:
|
|
123
|
+
attributes:
|
|
124
|
+
- requests
|
|
125
|
+
-
|
|
126
|
+
name: unix-gid-set-reqs
|
|
127
|
+
doc: Respond to one or more unix_gid requests
|
|
128
|
+
attribute-set: unix-gid-reqs
|
|
129
|
+
flags: [admin-perm]
|
|
130
|
+
do:
|
|
131
|
+
request:
|
|
132
|
+
attributes:
|
|
133
|
+
- requests
|
|
134
|
+
-
|
|
135
|
+
name: cache-flush
|
|
136
|
+
doc: Flush sunrpc caches (ip_map and/or unix_gid)
|
|
137
|
+
attribute-set: cache-flush
|
|
138
|
+
flags: [admin-perm]
|
|
139
|
+
do:
|
|
140
|
+
request:
|
|
141
|
+
attributes:
|
|
142
|
+
- mask
|
|
143
|
+
|
|
144
|
+
mcast-groups:
|
|
145
|
+
list:
|
|
146
|
+
-
|
|
147
|
+
name: none
|
|
148
|
+
-
|
|
149
|
+
name: exportd
|