Lines Matching +full:speed +full:- +full:bin
1 #!/bin/bash
2 # SPDX-License-Identifier: GPL-2.0
13 # - go look in parameters.sh to see which setting are avail
14 # - required param is the interface "-i" stored in $DEV
22 if [ -z "$DEST_IP" ]; then
23 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
25 [ -z "$CLONE_SKB" ] && CLONE_SKB="0"
26 # Example enforce param "-m" for dst_mac
27 [ -z "$DST_MAC" ] && usage && err 2 "Must specify -m dst_mac"
28 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
29 if [ -n "$DEST_IP" ]; then
31 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
33 if [ -n "$DST_PORT" ]; then
34 read -r UDP_DST_MIN UDP_DST_MAX <<< $(parse_ports $DST_PORT)
44 [ -z "$APPEND" ] && pg_ctrl "reset"
48 [ -z "$APPEND" ] && pg_thread $thread "rem_device_all"
55 # - this obviously affects the randomness within the packet
61 # Delay between packets (zero means max speed)
72 if [ -n "$DST_PORT" ]; then
79 [ ! -z "$UDP_CSUM" ] && pg_set $DEV "flag UDPCSUM"
86 # Run if user hits control-c
92 # trap keyboard interrupt (Ctrl-C)
95 if [ -z "$APPEND" ]; then