![]() |
FD.io VPP
v19.01.3-6-g70449b9b9
Vector Packet Processing
|
Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header) More...
Data Fields | |
| u32 | client_index |
| u32 | context |
| u8 | is_add |
| u32 | nsp_nsi |
| u32 | mapped_nsp_nsi |
| u32 | nsh_action |
| u32 | sw_if_index |
| u32 | rx_sw_if_index |
| u32 | next_node |
Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header)
| client_index | - opaque cookie to identify the sender |
| context | - sender context, to match reply w/ request |
| is_add | - add address if non-zero, else delete |
| nsh_nsi | - Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI |
| 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:
|
| sw_if_index | - index number of outer encap for NSH egress |
| next_node | - explicitly which node to send to Note the above parameters are instantiated by "encap-gre-intf <x>" means sw_if_index x, next_node gre-input |