diff options
author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-10-26 13:34:52 +0300 |
---|---|---|
committer | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2018-10-26 14:53:11 +0300 |
commit | 4c7c82fbd067f4f54a5cf180fdb9db6a42e88741 (patch) | |
tree | 6bb8c231cc91046bb4d08499098f3aa4235aa231 /scripts/get-taprio-pcap.sh | |
parent | 7844d53a202a5e201e4b8ea381eb916c9b0afd9c (diff) |
add tcpdump recipe for target
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'scripts/get-taprio-pcap.sh')
-rwxr-xr-x | scripts/get-taprio-pcap.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 |