summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2024-11-07 20:34:59 -0800
committerJakub Kicinski <kuba@kernel.org>2024-11-07 20:34:59 -0800
commit4592de83a4aa5562d9e8c4626a23587598a5ec96 (patch)
treecd517ffaf4d66cd34a589b87ee38c29ef4b8a9df /scripts/lib
parent38a1f50a5efb5a941f3491d4d2353d12a87d04a0 (diff)
parenta852e3c356415f61d9329cb3a1a4c90c74570522 (diff)
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 'scripts/lib')
0 files changed, 0 insertions, 0 deletions