X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_entry.h;h=cd2a685b765efca68ec64a476e9212111010d962;hb=d792d9c01e60656cbfe1b0f1fd6a9b125f5dab0c;hp=93b8016d44f2df30ca73e3b3c20845e0ceb5f87a;hpb=808c5b21c2759564689933d004223052b7895a42;p=vpp.git diff --git a/src/vnet/fib/fib_entry.h b/src/vnet/fib/fib_entry.h index 93b8016d44f..cd2a685b765 100644 --- a/src/vnet/fib/fib_entry.h +++ b/src/vnet/fib/fib_entry.h @@ -42,6 +42,10 @@ typedef enum fib_source_t_ { * Classify. A route that links directly to a classify adj */ FIB_SOURCE_CLASSIFY, + /** + * A route the is being 'proxied' on behalf of another device + */ + FIB_SOURCE_PROXY, /** * Route added as a result of interface configuration. * this will also come from the API/CLI, but the distinction is @@ -56,6 +60,10 @@ typedef enum fib_source_t_ { * A high priority source a plugin can use */ FIB_SOURCE_PLUGIN_HI, + /** + * From the BIER subsystem + */ + FIB_SOURCE_BIER, /** * From the control plane API */ @@ -136,6 +144,8 @@ STATIC_ASSERT (sizeof(fib_source_t) == 1, #define FIB_SOURCES { \ [FIB_SOURCE_SPECIAL] = "special", \ [FIB_SOURCE_INTERFACE] = "interface", \ + [FIB_SOURCE_PROXY] = "proxy", \ + [FIB_SOURCE_BIER] = "BIER", \ [FIB_SOURCE_API] = "API", \ [FIB_SOURCE_CLI] = "CLI", \ [FIB_SOURCE_ADJ] = "adjacency", \ @@ -431,6 +441,7 @@ typedef struct fib_entry_t_ { #define FIB_ENTRY_FORMAT_DETAIL2 (0x2) extern u8 *format_fib_entry (u8 * s, va_list * args); +extern u8 *format_fib_source (u8 * s, va_list * args); extern fib_node_index_t fib_entry_create_special(u32 fib_index, const fib_prefix_t *prefix,