diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2024-10-04 12:13:33 +0200 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2024-10-07 17:12:37 -0700 |
commit | 7b9b713b8ef3aa4f8fa90419edbbabd29d7398cd (patch) | |
tree | 9d3b865b694a6fb0cc121a353a133e9bc88455fa /tools/include | |
parent | 0ebe224ffce83b3c2b331295d473296220d9fc36 (diff) |
netkit: Add add netkit scrub support to rt_link.yaml
Add netkit scrub attribute support to the rt_link.yaml spec file.
Example:
# ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/rt_link.yaml \
--do getlink --json '{"ifname": "nk0"}' --output-json | jq
[...]
"linkinfo": {
"kind": "netkit",
"data": {
"primary": 0,
"policy": "forward",
"mode": "l3",
"scrub": "default",
"peer-policy": "forward",
"peer-scrub": "default"
}
},
[...]
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Cc: Nikolay Aleksandrov <razor@blackwall.org>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/20241004101335.117711-3-daniel@iogearbox.net
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions