8 sshgw 'ip link add dev vcan0 type vcan && ip link set vcan0 up'
11 sshgw cangw -A -s can0 -d vcan0 -e -f 0:C00007FF
13 sshgw cangw -A -s vcan0 -d vcan0 -e -f $(printf %x:C00007FF $((j-1))) -m SET:I:$(printf %x $j).0.0000000000000000
15 sshgw cangw -A -s vcan0 -d can1 -f $(printf %x:C00007FF $i)
17 latester -d can0 -d can1 -d can2 -c $COUNT -i 0 $(traffic_and_length 2) -n hops$i
19 sshgw ip link del dev vcan0
22 ADDITIONAL_PLOTS=detail
25 if [[ "$1" = detail ]]; then
31 echo "set logscale xy"
34 set title "Chained GWs on a single VCAN interface"
35 set grid xtics mxtics ytics mytics lw 1, lw 0.5
36 set xlabel "Time [ms]"
37 set ylabel "Latency profile [messages]"
38 plot [$range] [1:$COUNT] \\
42 echo_plot "\"hops$i-hist.txt\" with lp lt $lt pt $lt title \"$((i+2)) GW jobs, 1 vcan\""