]> git.puffer.fish Git - mirror/frr.git/commit
lib: add utility to get the next index in a vrf
authorPat Ruddy <pat@voltanet.io>
Thu, 1 Oct 2020 11:06:50 +0000 (12:06 +0100)
committerPat Ruddy <pat@voltanet.io>
Tue, 2 Feb 2021 09:37:08 +0000 (09:37 +0000)
commit0760a74d2fc29a89d1d0d252af98d674323b210a
tree6e38d606148eca387f22b5209fa53560d6cd0bfa
parent0d020cd6d98f454f22723f404da99fa48b7b2751
lib: add utility to get the next index in a vrf

Add if_vrf_lookup_by_index_next to get the next ifindex in a vrf
given the previous ifindex or 0 for the first.

Signed-off-by: Pat Ruddy <pat@voltanet.io>
lib/if.c
lib/if.h