X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Ffib%2Ffib_node.h;h=1179dfc0a502bfce438e85c29ed53c960662ed10;hb=7c03ed4;hp=ec3b542b0196388e0196d2ef0d0e563fa78b03a4;hpb=d79a43c7f43e8b99d6eb019d69a3083c545007f1;p=vpp.git diff --git a/src/vnet/fib/fib_node.h b/src/vnet/fib/fib_node.h index ec3b542b019..1179dfc0a50 100644 --- a/src/vnet/fib/fib_node.h +++ b/src/vnet/fib/fib_node.h @@ -47,6 +47,7 @@ typedef enum fib_node_type_t_ { FIB_NODE_TYPE_UDP_ENCAP, FIB_NODE_TYPE_BIER_FMASK, FIB_NODE_TYPE_BIER_ENTRY, + FIB_NODE_TYPE_VXLAN_GBP_TUNNEL, /** * Marker. New types before this one. leave the test last. */ @@ -74,6 +75,7 @@ typedef enum fib_node_type_t_ { [FIB_NODE_TYPE_UDP_ENCAP] = "udp-encap", \ [FIB_NODE_TYPE_BIER_FMASK] = "bier-fmask", \ [FIB_NODE_TYPE_BIER_ENTRY] = "bier-entry", \ + [FIB_NODE_TYPE_VXLAN_GBP_TUNNEL] = "vxlan-gbp-tunnel" \ } /** @@ -154,11 +156,14 @@ typedef enum fib_node_bw_reason_flag_t_ { STATIC_ASSERT(sizeof(fib_node_bw_reason_flag_t) < 2, "BW Reason enum < 2 byte. Consequences for cover_upd_res_t"); +extern u8 *format_fib_node_bw_reason(u8 *s, va_list *args); + /** * Flags on the walk */ typedef enum fib_node_bw_flags_t_ { + FIB_NODE_BW_FLAG_NONE = 0, /** * Force the walk to be synchronous */