summaryrefslogtreecommitdiffstats
path: root/t/t3_udp.sh
blob: 43742535b6ee95005a7893c8dec7f7a36f5fa276 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash -e
. $(dirname $0)/base.sh

# usage:
# run_iperf -s server args   -c client args
#
# client args should contain $ip or -V $ip6
# results returned in $results

run_iperf    \
    -s -P 1 -u -i 1 -t 3     \
    -c $ip -P 1 -u -b 10m -i 1 -t 2