From c323cabf23d64b9c55d688bf968194b816e19d67 Mon Sep 17 00:00:00 2001 From: Vengada Date: Tue, 21 Mar 2017 01:01:51 -0700 Subject: Changes for supoprting iOAM/ NSH export. Add a separate node for POP only handling to support iOAM export dynamic node. Change-Id: I411ee93ea3ec34ed24c18c1ba4b5dc1c9533e483 Signed-off-by: Vengada --- nsh-plugin/nsh/nsh.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nsh-plugin/nsh/nsh.h') diff --git a/nsh-plugin/nsh/nsh.h b/nsh-plugin/nsh/nsh.h index 501f756..b03c8e7 100644 --- a/nsh-plugin/nsh/nsh.h +++ b/nsh-plugin/nsh/nsh.h @@ -74,6 +74,7 @@ typedef struct { /* encap if index */ u32 sw_if_index; + u32 rx_sw_if_index; u32 next_node; } nsh_map_t; @@ -145,6 +146,7 @@ typedef struct { int (*pop_options[MAX_MD2_OPTIONS]) (vlib_buffer_t * b, nsh_tlv_header_t * opt); u8 *(*trace[MAX_MD2_OPTIONS]) (u8 * s, nsh_tlv_header_t * opt); + uword decap_v4_next_override; /* convenience */ vlib_main_t * vlib_main; @@ -154,6 +156,9 @@ typedef struct { nsh_main_t nsh_main; extern vlib_node_registration_t nsh_aware_vnf_proxy_node; +typedef struct { + u8 trace_data[256]; +} nsh_input_trace_t; u8 * format_nsh_input_map_trace (u8 * s, va_list * args); u8 * format_nsh_header_with_length (u8 * s, va_list * args); -- cgit