5 numjobs=" 1 `seq 2 2 10`"
11 for j in `seq $((i-1))`; do
12 sshgw "if ! ip l show dev vcan$j >/dev/null 2>&1; then ip link add dev vcan$j type vcan && ip link set vcan$j up; fi"
13 sshgw cangw -A -s $lastif -d vcan$j -e -f $(printf %x:C00007FF $((j-1))) -m SET:I:$(printf %x $j).0.0000000000000000
16 sshgw cangw -A -s $lastif -d can1 -f $(printf %x:C00007FF $((i-1)))
18 latester -d can0 -d can1 -d can2 -c $COUNT -i 0 $(traffic_and_length 2) -h hist-$i.dat -f time-$i.dat
24 set title "Chained GW jobs on multiple VCAN interfaces"
27 set xlabel "Time [{/Symbol m}s]"
28 set ylabel "Latency profile [messages]"
29 plot [0:1000] [1:$COUNT] \\
33 echo_plot "\"hist-$i.dat\" with lp lt $lt title \"$i GW jobs, $((i-1)) vcans\""