summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_fib.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2019-06-08 23:53:22 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-10 19:44:56 +0200
commitf88c9aa12fd0cff9cbb74b490350e6f0fac68296 (patch)
treeb532d0092407d1764e4be7e8c58ce6e48946b65d /net/ipv6/ip6_fib.c
parenttcp: Make tcp_fastopen_alloc_ctx static (diff)
downloadlinux-f88c9aa12fd0cff9cbb74b490350e6f0fac68296.tar.xz
linux-f88c9aa12fd0cff9cbb74b490350e6f0fac68296.zip
nexthops: Add ipv6 helper to walk all fib6_nh in a nexthop struct
IPv6 has traditionally had a single fib6_nh per fib6_info. With nexthops we can have multiple fib6_nh associated with a fib6_info. Add a nexthop helper to invoke a callback for each fib6_nh in a 'struct nexthop'. If the callback returns non-0, the loop is stopped and the return value passed to the caller. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_fib.c')
0 files changed, 0 insertions, 0 deletions