linux-next/Documentation/netlink
Donald Hunter a852e3c356 netlink: specs: Add a spec for FIB rule management
Add a YNL spec for FIB rules:

./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},
  ... ]

Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20241106090718.64713-3-donald.hunter@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-11-07 20:34:55 -08:00
..
specs netlink: specs: Add a spec for FIB rule management 2024-11-07 20:34:55 -08: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