Commit 6b4b0754 authored by Donald Hunter's avatar Donald Hunter Committed by Jakub Kicinski

doc/netlink/specs: use pad in structs in rt_link

The rt_link spec was using pad1, pad2 attributes in structs which
appears in the ynl output. Replace this with the 'pad' type which
doesn't pollute the output.
Signed-off-by: default avatarDonald Hunter <donald.hunter@gmail.com>
Link: https://lore.kernel.org/r/20231215093720.18774-8-donald.hunter@gmail.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 077b6022
...@@ -66,8 +66,9 @@ definitions: ...@@ -66,8 +66,9 @@ definitions:
name: ifi-family name: ifi-family
type: u8 type: u8
- -
name: padding name: pad
type: u8 type: pad
len: 1
- -
name: ifi-type name: ifi-type
type: u16 type: u16
...@@ -719,11 +720,9 @@ definitions: ...@@ -719,11 +720,9 @@ definitions:
name: family name: family
type: u8 type: u8
- -
name: pad1 name: pad
type: u8 type: pad
- len: 3
name: pad2
type: u16
- -
name: ifindex name: ifindex
type: u32 type: u32
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment