summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_types.h
diff options
context:
space:
mode:
authorNeale Ranns <neale@graphiant.com>2021-07-09 13:03:52 +0000
committerDamjan Marion <dmarion@me.com>2021-07-13 19:26:07 +0000
commit66edaf209fcfa618f42c0e6d21873a31de86b412 (patch)
treee7faf670a70fe98ce284e3bfe79afdb77f8c46fd /src/vnet/fib/fib_types.h
parent48057bd23433a352338358ca1f6cdc6cebd84f08 (diff)
fib: Set the GLEAN flag on attached export routes so that the SAS works
correctly. Type: fix Signed-off-by: Neale Ranns <neale@graphiant.com> Change-Id: I4bc2eb394a8f9d01c5a12de2ce963c22209d5439
Diffstat (limited to 'src/vnet/fib/fib_types.h')
-rw-r--r--src/vnet/fib/fib_types.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vnet/fib/fib_types.h b/src/vnet/fib/fib_types.h
index 18362e0965d..55b404b044e 100644
--- a/src/vnet/fib/fib_types.h
+++ b/src/vnet/fib/fib_types.h
@@ -619,6 +619,11 @@ extern uword unformat_fib_route_path(unformat_input_t * input, va_list * args);
*/
extern u8 * format_fib_route_path(u8 *s, va_list *ap);
+/*
+ * Return true if the path is attached
+ */
+extern int fib_route_path_is_attached (const fib_route_path_t *rpath);
+
/**
* A help string to list the FIB path options
*/