diff options
author | 2025-04-29 08:47:04 -0700 | |
---|---|---|
committer | 2025-05-02 12:41:03 +0200 | |
commit | 777c8029b551caafde89e0440c40127b8b5ba70e (patch) | |
tree | 279cda3fac71e8bd8f1e037c9e0591969b81f6b8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tools: ynl-gen: don't init enum checks for classic netlink (diff) | |
download | wireguard-linux-777c8029b551caafde89e0440c40127b8b5ba70e.tar.xz wireguard-linux-777c8029b551caafde89e0440c40127b8b5ba70e.zip |
tools: ynl: allow fixed-header to be specified per op
rtnetlink has variety of ops with different fixed headers.
Detect that op fixed header is not the same as family one,
and use sizeof() directly. For reverse parsing we need to
pass the fixed header len along the policy (in the socket
state).
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250429154704.2613851-13-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions