5 UDP_SRC=127.0.0.1:10501
6 UDP_DST=127.0.0.1:10502
10 if test $1 -eq 0; then
13 echo -e "\033[31mFAIL"
18 if test $# -eq 1; then
22 if test $# -eq 4; then
29 echo -n "Testing eth->can: "
30 cegwbench -s udp@$UDP_SRC -d can@$CAN -n $N -m $MODE -t 1 &> /dev/zero
33 echo -n "Testing can->eth: "
34 cegwbench -s can@vcan0 -d udp@$UDP_DST -n $N -m $MODE -t 1 &> /dev/zero