FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
vl_api_ip_table_allocate_t Struct Reference

Allocate an unused table A table can be added multiple times. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_ip_table_t table
 

Detailed Description

Allocate an unused table A table can be added multiple times.

If a large number of tables are in use (millions), this API might fail to find a free ID with very low probability, and will return EAGAIN. A subsequent attempt may be successful.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
table- if table.table_id == ~0, vpp allocates an unused table_id and proceeds as in ip_table_add_del with is_add = true if table.table_id != ~0, vpp uses the table.table_id and proceeds as in ip_table_add_del with is_add = true table.table_id should never be 0

Definition at line 73 of file ip.api.

Field Documentation

◆ client_index

u32 vl_api_ip_table_allocate_t::client_index

Definition at line 75 of file ip.api.

◆ context

u32 vl_api_ip_table_allocate_t::context

Definition at line 76 of file ip.api.

◆ table

vl_api_ip_table_t vl_api_ip_table_allocate_t::table

Definition at line 78 of file ip.api.


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