diff options
author | 2017-03-21 01:01:51 -0700 | |
---|---|---|
committer | 2017-04-03 05:15:39 +0000 | |
commit | c323cabf23d64b9c55d688bf968194b816e19d67 (patch) | |
tree | d22fae660d5d6f964f713cf792142527ce88f8ab /nsh-plugin/nsh/nsh.h | |
parent | 01f765f7025d6e0d3fc04cd82d4a1d84ece86d8a (diff) |
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 <venggovi@cisco.com>
Diffstat (limited to 'nsh-plugin/nsh/nsh.h')
-rw-r--r-- | nsh-plugin/nsh/nsh.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |