linux/Documentation/netlink
Daniel Borkmann 7b9b713b8e 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>
2024-10-07 17:12:37 -07:00
..
specs netkit: Add add netkit scrub support to rt_link.yaml 2024-10-07 17:12:37 -07:00
genetlink-c.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00
genetlink-legacy.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00
genetlink.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00
netlink-raw.yaml ynl: rename array-nest to indexed-array 2024-04-05 22:32:49 -07:00