nexthop: Add netlink handlers for bucket get
authorPetr Machata <petrm@nvidia.com>
Thu, 11 Mar 2021 18:03:23 +0000 (19:03 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Mar 2021 00:13:00 +0000 (16:13 -0800)
commit187d4c6b97967b8d023ccb981742f8605a1b1cb7
tree66f9cb44ae7d53384e323325dae38cb0a7db35ae
parent8a1bbabb034d5cf6a4788acb4fc6ce0a1dfd6177
nexthop: Add netlink handlers for bucket get

Allow getting (but not setting) individual buckets to inspect the next hop
mapped therein, idle time, and flags.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/nexthop.c