Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header)
More...
Set or delete a mapping from one NSH header to another and its egress (decap to inner packet, encap NSH with outer header)
- Template Parameters
-
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:
- 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
|
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 |
Definition at line 88 of file nsh.api.