5 LOGANDPRINT="tee -a result | cut -c 2-"
20 cegw vcan0 127.0.0.1:10501 127.0.0.1:10502 &
24 echo "#kernel udp->can" | tee -a result | cut -c 2-
25 cegwbench -s udp@127.0.0.1:10501 -d can@vcan0 -n $N -m $MODE -t 1 >> $RESULTFILE
28 echo "#kernel can->udp" | tee -a result | cut -c 2-
29 cegwbench -s can@vcan0 -d udp@127.0.0.1:10502 -n $N -m $MODE -t 1 >> $RESULTFILE
38 canethgw -s can@vcan0 -d udp@127.0.0.1:10502 -l udp@127.0.0.1:10501 &
42 echo "#user udp->can" | tee -a result | cut -c 2-
43 cegwbench -s udp@127.0.0.1:10501 -d can@vcan0 -n $N -m $MODE -t 1 >> $RESULTFILE
46 echo "#user can->udp" | tee -a result | cut -c 2-
47 cegwbench -s can@vcan0 -d udp@127.0.0.1:10502 -n $N -m $MODE -t 1 >> $RESULTFILE
52 if test $SENDRES -eq 1; then
53 cat $RESULTFILE | nc `cat /etc/retip` 10600