diff options
author | 2024-11-07 20:34:59 -0800 | |
---|---|---|
committer | 2024-11-07 20:34:59 -0800 | |
commit | 4592de83a4aa5562d9e8c4626a23587598a5ec96 (patch) | |
tree | cd517ffaf4d66cd34a589b87ee38c29ef4b8a9df /tools/perf/scripts/python/export-to-sqlite.py | |
parent | phonet: do not call synchronize_rcu() from phonet_route_del() (diff) | |
parent | netlink: specs: Add a spec for FIB rule management (diff) | |
download | wireguard-linux-4592de83a4aa5562d9e8c4626a23587598a5ec96.tar.xz wireguard-linux-4592de83a4aa5562d9e8c4626a23587598a5ec96.zip |
Merge branch 'netlink-specs-add-neigh-and-rule-ynl-specs'
Donald Hunter says:
====================
netlink: specs: Add neigh and rule YNL specs
Add YNL specs for the FDB neighbour tables and FIB rules from the
rtnelink families.
Example usage:
./tools/net/ynl/cli.py \
--spec Documentation/netlink/specs/rt_neigh.yaml \
--dump getneigh
[{'cacheinfo': {'confirmed': 122664055,
'refcnt': 0,
'updated': 122658055,
'used': 122658055},
'dst': '0.0.0.0',
'family': 2,
'flags': set(),
'ifindex': 5,
'lladr': '',
'probes': 0,
'state': {'noarp'},
'type': 'broadcast'},
...]
./tools/net/ynl/cli.py \
--spec Documentation/netlink/specs/rt_rule.yaml \
--dump getrule --json '{"family": 2}'
[{'action': 'to-tbl',
'dst-len': 0,
'family': 2,
'flags': 0,
'protocol': 2,
'src-len': 0,
'suppress-prefixlen': '0xffffffff',
'table': 255,
'tos': 0},
... ]
====================
Link: https://patch.msgid.link/20241106090718.64713-1-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions