FD.io VPP  v18.07-34-g55fbdb9
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

u32 vl_api_pg_capture_t::client_index

Definition at line 56 of file pg.api.

u32 vl_api_pg_capture_t::context

Definition at line 57 of file pg.api.

u32 vl_api_pg_capture_t::count

Definition at line 60 of file pg.api.

u32 vl_api_pg_capture_t::interface_id

Definition at line 58 of file pg.api.

u8 vl_api_pg_capture_t::is_enabled

Definition at line 59 of file pg.api.

u8 vl_api_pg_capture_t::pcap_file_name[pcap_name_length]

Definition at line 62 of file pg.api.

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: