5c3aab4212
"classify filter trace ... " and "classify filter pcap ..." are mutually exclusive. vnet_pcap_dispatch_trace_configure needs to check for set->table_indices == NULL. Type: fix Ticket: VPP-1827 Signed-off-by: Dave Barach <dave@barachs.net> Change-Id: I43733364087ffb0a43de92e450955033431d559d (cherry picked from commit 196fce2b62c0d215722dd233aa8bf70a43aa0a66)
23 lines
600 B
Plaintext
23 lines
600 B
Plaintext
set term pag off
|
|
loop create
|
|
|
|
set int ip address loop0 192.168.1.1/24
|
|
set int state loop0 up
|
|
|
|
packet-generator new {
|
|
name pg0
|
|
limit 100
|
|
size 300-300
|
|
interface loop0
|
|
node ethernet-input
|
|
data { IP4: 1.2.3 -> 4.5.6
|
|
UDP: 192.168.1.10 - 192.168.1.20 -> 192.168.2.10
|
|
UDP: 1234 -> 2345
|
|
incrementing 286
|
|
}
|
|
}
|
|
|
|
comment { Pick one, uncomment, and "pcap rx ..." or "trace add pg-input ..." }
|
|
comment { classify filter trace mask l3 ip4 src match l3 ip4 src 192.168.1.15 }
|
|
comment { classify filter pcap mask l3 ip4 src match l3 ip4 src 192.168.1.15 }
|