FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
vl_api_nsh_add_del_entry_t Struct Reference

/** More...

Data Fields

u32 client_index
 
u32 context
 
bool is_add
 
u32 nsp_nsi
 
u8 md_type
 
u8 ver_o_c
 
u8 ttl
 
u8 length
 
u8 next_protocol
 
u32 c1
 
u32 c2
 
u32 c3
 
u32 c4
 
u8 tlv_length
 
u8 tlv [248]
 

Detailed Description

/**

Set or delete an NSH header entry keyed by NSP/NSI

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
nsp_nsi- Key for nsh_header_t entry to map to. : 24bit NSP 8bit NSI
md_type- metadata type [1|2] - only MDType1 supported today
ver_o_c- version, O-bit and C-bit (see nsh_packet.h)
ttl- indicates the maximum SFF hops for an SFP
length- header length in n x 32bits, should be 6 for MDtype1
next_protocol- next protocol encapsulated behind NSH header: 1=Ethernet, 2=IP4, 3=IP6
c1- 32bit Metadata type1 field (context1)
c2- 32bit Metadata type1 field (context2)
c3- 32bit Metadata type1 field (context3)
c4- 32bit Metadata type1 field (context4)
tlvs- Metadata Type 2 only, Type Length Value metadata.

Definition at line 21 of file nsh.api.

Field Documentation

◆ c1

u32 vl_api_nsh_add_del_entry_t::c1

Definition at line 31 of file nsh.api.

◆ c2

u32 vl_api_nsh_add_del_entry_t::c2

Definition at line 32 of file nsh.api.

◆ c3

u32 vl_api_nsh_add_del_entry_t::c3

Definition at line 33 of file nsh.api.

◆ c4

u32 vl_api_nsh_add_del_entry_t::c4

Definition at line 34 of file nsh.api.

◆ client_index

u32 vl_api_nsh_add_del_entry_t::client_index

Definition at line 22 of file nsh.api.

◆ context

u32 vl_api_nsh_add_del_entry_t::context

Definition at line 23 of file nsh.api.

◆ is_add

bool vl_api_nsh_add_del_entry_t::is_add

Definition at line 24 of file nsh.api.

◆ length

u8 vl_api_nsh_add_del_entry_t::length

Definition at line 29 of file nsh.api.

◆ md_type

u8 vl_api_nsh_add_del_entry_t::md_type

Definition at line 26 of file nsh.api.

◆ next_protocol

u8 vl_api_nsh_add_del_entry_t::next_protocol

Definition at line 30 of file nsh.api.

◆ nsp_nsi

u32 vl_api_nsh_add_del_entry_t::nsp_nsi

Definition at line 25 of file nsh.api.

◆ tlv

u8 vl_api_nsh_add_del_entry_t::tlv[248]

Definition at line 36 of file nsh.api.

◆ tlv_length

u8 vl_api_nsh_add_del_entry_t::tlv_length

Definition at line 35 of file nsh.api.

◆ ttl

u8 vl_api_nsh_add_del_entry_t::ttl

Definition at line 28 of file nsh.api.

◆ ver_o_c

u8 vl_api_nsh_add_del_entry_t::ver_o_c

Definition at line 27 of file nsh.api.


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