FD.io VPP  v19.04.4-rc0-5-ge88582fac
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
 
u32 interface_id
 
u8 is_enabled
 
u32 count
 
u32 pcap_name_length
 
u8 pcap_file_name [pcap_name_length]
 

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- pacp file name to store captured packets

Definition at line 54 of file pg.api.

Field Documentation

◆ client_index

u32 vl_api_pg_capture_t::client_index

Definition at line 56 of file pg.api.

◆ context

u32 vl_api_pg_capture_t::context

Definition at line 57 of file pg.api.

◆ count

u32 vl_api_pg_capture_t::count

Definition at line 60 of file pg.api.

◆ interface_id

u32 vl_api_pg_capture_t::interface_id

Definition at line 58 of file pg.api.

◆ is_enabled

u8 vl_api_pg_capture_t::is_enabled

Definition at line 59 of file pg.api.

◆ pcap_file_name

u8 vl_api_pg_capture_t::pcap_file_name[pcap_name_length]

Definition at line 62 of file pg.api.

◆ pcap_name_length

u32 vl_api_pg_capture_t::pcap_name_length

Definition at line 61 of file pg.api.


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