From 4c7c82fbd067f4f54a5cf180fdb9db6a42e88741 Mon Sep 17 00:00:00 2001 From: Ilias Apalodimas Date: Fri, 26 Oct 2018 13:34:52 +0300 Subject: add tcpdump recipe for target Signed-off-by: Ilias Apalodimas --- scripts/get-taprio-pcap.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/get-taprio-pcap.sh (limited to 'scripts/get-taprio-pcap.sh') diff --git a/scripts/get-taprio-pcap.sh b/scripts/get-taprio-pcap.sh new file mode 100755 index 0000000..82d007b --- /dev/null +++ b/scripts/get-taprio-pcap.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +. scripts/lava-common.sh + +iface=$(find_vland_iface) +packets='600000' +port='7788' +lava-wait udp-tai-tx +# 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 -- cgit v1.2.3