diff options
author | Neale Ranns <nranns@cisco.com> | 2019-12-04 06:11:00 +0000 |
---|---|---|
committer | Neale Ranns <neale@graphiant.com> | 2021-03-16 12:12:23 +0000 |
commit | 976b259be2ce9725f1d6756c14ff81069634a396 (patch) | |
tree | f4117b32e9230e5c313474a158dbfa847943b99d /src/vnet/fib/fib_api.h | |
parent | 400ce717ac043ceec404103dbaa87dd17d92feb7 (diff) |
fib: Allow the creation of new source on the API
Type: feature
an client can dump the existing sources, examine their
priorities, then define thier own source.
Usefull if a client wants to distingusih between say, static,
ospf, bgp, etc routes it has added over the API.
Signed-off-by: Neale Ranns <nranns@cisco.com>
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: I5158b4fa1ebe87381ff8707bb173217f56ea274a
Diffstat (limited to 'src/vnet/fib/fib_api.h')
-rw-r--r-- | src/vnet/fib/fib_api.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_api.h b/src/vnet/fib/fib_api.h index caa993b78d0..7fd7d16cb33 100644 --- a/src/vnet/fib/fib_api.h +++ b/src/vnet/fib/fib_api.h @@ -45,6 +45,7 @@ extern int fib_api_route_add_del (u8 is_add, u8 is_multipath, u32 fib_index, const fib_prefix_t * prefix, + fib_source_t src, fib_entry_flag_t entry_flags, fib_route_path_t *rpaths); |