FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_pg_capture_t Struct Reference

PacketGenerator capture packets on given interface request. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_interface_index_t interface_id
 
bool is_enabled [default=true]
 
u32 count
 
string pcap_file_name []
 

Detailed Description

PacketGenerator capture packets on given interface request.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
interface_id- pg interface index
is_enabled- 1 if enabling streams, 0 if disabling
count- number of packets to be captured
pcap_file_name- pacp file name to store captured packets

Definition at line 75 of file pg.api.

Field Documentation

◆ client_index

u32 vl_api_pg_capture_t::client_index

Definition at line 77 of file pg.api.

◆ context

u32 vl_api_pg_capture_t::context

Definition at line 78 of file pg.api.

◆ count

u32 vl_api_pg_capture_t::count

Definition at line 81 of file pg.api.

◆ interface_id

vl_api_interface_index_t vl_api_pg_capture_t::interface_id

Definition at line 79 of file pg.api.

◆ is_enabled

bool vl_api_pg_capture_t::is_enabled[default=true]

Definition at line 80 of file pg.api.

◆ pcap_file_name

string vl_api_pg_capture_t::pcap_file_name[]

Definition at line 82 of file pg.api.


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