5 LOGANDPRINT="tee -a result | cut -c 2-"
19 cegw --listen udp@127.0.0.1:10501
20 cegw --add -s can@vcan0 -d udp@127.0.0.1:10502
21 cegw --add -s udp@127.0.0.1:10502 -d can@vcan0
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
37 canethgw -s can@vcan0 -d udp@127.0.0.1:10502 -l udp@127.0.0.1:10501 &
41 echo "#user udp->can: " | tee -a result | cut -c 2-
42 cegwbench -s udp@127.0.0.1:10501 -d can@vcan0 -n $N -m $MODE -t 1 >> $RESULTFILE
45 echo "#user can->udp: " | tee -a result | cut -c 2-
46 cegwbench -s can@vcan0 -d udp@127.0.0.1:10502 -n $N -m $MODE -t 1 >> $RESULTFILE
51 if test $SENDRES -eq 1; then
52 cat $RESULTFILE | nc `cat /etc/retip` 10600