summaryrefslogtreecommitdiff
path: root/scripts/get-taprio-pcap.sh
blob: 17624fd2951ee59f822e408b5e5e9435c1ade3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

. scripts/lava-common.sh

iface=$(find_vland_iface)
packets='60000'
port='7788'
# TODO make port/packet count configurable
tcpdump -c "$packets" -i "$iface" -w tsn.pcap -j adapter_unsynced -tt \
	--time-stamp-precision=nano port "$port"
echo "talker_strict :: udp port $port" > sched_filter