FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
vnet/vnet/pg

create packet-generator

Summary/usage

create packet-generator interface <interface name>.

Declaration and implementation

Declaration: create_pg_if_cmd (vnet/vnet/pg/cli.c line 614)

Implementation: create_pg_if_cmd_fn.

packet-generator

Summary/usage

Packet generator commands.

Declaration and implementation

Declaration: vlib_cli_pg_command (vnet/vnet/pg/cli.c line 51)

packet-generator capture

Summary/usage

packet-generator capture <interface name> pcap <filename> [count <n>].

Declaration and implementation

Declaration: pg_capture_cmd (vnet/vnet/pg/cli.c line 579)

Implementation: pg_capture_cmd_fn.

packet-generator configure

Summary/usage

Change packet generator stream parameters.

Declaration and implementation

Declaration: change_stream_parameters_cli (vnet/vnet/pg/cli.c line 509)

Implementation: change_stream_parameters.

packet-generator delete

Summary/usage

Delete stream with given name.

Declaration and implementation

Declaration: del_stream_cli (vnet/vnet/pg/cli.c line 465)

Implementation: del_stream.

packet-generator disable-stream

Summary/usage

Disable packet generator streams.

Declaration and implementation

Declaration: disable_streams_cli (vnet/vnet/pg/cli.c line 140)

Implementation: enable_disable_stream.

packet-generator enable-stream

Summary/usage

Enable packet generator streams.

Declaration and implementation

Declaration: enable_streams_cli (vnet/vnet/pg/cli.c line 131)

Implementation: enable_disable_stream.

packet-generator new

Summary/usage

Create packet generator stream.

Long help

Create packet generator streamnnArguments:nnname STRING sets stream nameninterface STRING interface for stream output nnode NODE-NAME node for stream outputndata STRING specifies packet datanpcap FILENAME read packet data from pcap filen

Declaration and implementation

Declaration: new_stream_cli (vnet/vnet/pg/cli.c line 431)

Implementation: new_stream.

show packet-generator

Summary/usage

Show packet generator streams.

Declaration and implementation

Declaration: show_streams_cli (vnet/vnet/pg/cli.c line 212)

Implementation: show_streams.