diff options
Diffstat (limited to 'src/vnet/geneve/geneve.c')
-rw-r--r-- | src/vnet/geneve/geneve.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/geneve/geneve.c b/src/vnet/geneve/geneve.c index c53a67a1abd..fe35c6c2429 100644 --- a/src/vnet/geneve/geneve.c +++ b/src/vnet/geneve/geneve.c @@ -37,6 +37,18 @@ geneve_main_t geneve_main; +u8 * +format_geneve_encap_trace (u8 * s, va_list * args) +{ + CLIB_UNUSED (vlib_main_t * vm) = va_arg (*args, vlib_main_t *); + CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *); + geneve_encap_trace_t *t = va_arg (*args, geneve_encap_trace_t *); + + s = format (s, "GENEVE encap to geneve_tunnel%d vni %d", + t->tunnel_index, t->vni); + return s; +} + static u8 * format_decap_next (u8 * s, va_list * args) { |