FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
nsh_map_t Struct Reference

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

u32 nsp_nsi
 Key for nsh_header_t entry: 24bit NSP 8bit NSI. More...
 
u32 mapped_nsp_nsi
 Key for nsh_header_t entry to map to. More...
 
u32 nsh_action
 
u32 nsh_hw_if
 vnet intfc hw_if_index More...
 
u32 nsh_sw_if
 
u32 sw_if_index
 
u32 rx_sw_if_index
 
u32 next_node
 
u32 adj_index
 

Detailed Description

Definition at line 59 of file nsh.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

nsh_map_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ adj_index

u32 nsh_map_t::adj_index

Definition at line 85 of file nsh.h.

◆ mapped_nsp_nsi

u32 nsh_map_t::mapped_nsp_nsi

Key for nsh_header_t entry to map to.

: 24bit NSP 8bit NSI This may be ~0 if next action is to decap to NSH next protocol Note the following heuristic: if nsp_nsi == mapped_nsp_nsi then use-case is like SFC SFF if nsp_nsi != mapped_nsp_nsi then use-case is like SFC SF Note: these are heuristics. Rules about NSI decrement are out of scope

Definition at line 72 of file nsh.h.

◆ next_node

u32 nsh_map_t::next_node

Definition at line 84 of file nsh.h.

◆ nsh_action

u32 nsh_map_t::nsh_action

Definition at line 74 of file nsh.h.

◆ nsh_hw_if

u32 nsh_map_t::nsh_hw_if

vnet intfc hw_if_index

Definition at line 77 of file nsh.h.

◆ nsh_sw_if

u32 nsh_map_t::nsh_sw_if

Definition at line 79 of file nsh.h.

◆ nsp_nsi

u32 nsh_map_t::nsp_nsi

Key for nsh_header_t entry: 24bit NSP 8bit NSI.

Definition at line 64 of file nsh.h.

◆ rx_sw_if_index

u32 nsh_map_t::rx_sw_if_index

Definition at line 83 of file nsh.h.

◆ sw_if_index

u32 nsh_map_t::sw_if_index

Definition at line 82 of file nsh.h.


The documentation for this struct was generated from the following file: