summaryrefslogtreecommitdiff
path: root/Documentation/netlink
diff options
context:
space:
mode:
authorDonald Hunter <donald.hunter@gmail.com>2023-05-23 10:37:48 +0100
committerDavid S. Miller <davem@davemloft.net>2023-05-24 08:46:54 +0100
commitbddd2e561b0ad5ca42e16fb26a20fc806d521912 (patch)
tree3e5fcb43806dad24d3dc483053ca170f6c6d1f07 /Documentation/netlink
parent7c2435ef76e5f2d9fac44b241e4a54113f6eafbf (diff)
downloadlwn-bddd2e561b0ad5ca42e16fb26a20fc806d521912.tar.gz
lwn-bddd2e561b0ad5ca42e16fb26a20fc806d521912.zip
tools: ynl: Handle byte-order in struct members
Add support for byte-order in struct members in the genetlink-legacy spec. Signed-off-by: Donald Hunter <donald.hunter@gmail.com> Acked-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/netlink')
-rw-r--r--Documentation/netlink/genetlink-legacy.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/netlink/genetlink-legacy.yaml b/Documentation/netlink/genetlink-legacy.yaml
index b33541a51d6b..b5319cde9e17 100644
--- a/Documentation/netlink/genetlink-legacy.yaml
+++ b/Documentation/netlink/genetlink-legacy.yaml
@@ -122,6 +122,8 @@ properties:
enum: [ u8, u16, u32, u64, s8, s16, s32, s64, string ]
len:
$ref: '#/$defs/len-or-define'
+ byte-order:
+ enum: [ little-endian, big-endian ]
# End genetlink-legacy
attribute-sets: