Lines Matching +full:flow +full:- +full:controlled
2 # SPDX-License-Identifier: GPL-2.0
7 # and number of packets per flow controlled by variable $FLOWLEN
20 if [ -z "$DEST_IP" ]; then
21 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
23 [ -z "$DST_MAC" ] && DST_MAC="90:e2:ba:ff:ff:ff"
24 [ -z "$CLONE_SKB" ] && CLONE_SKB="0"
25 [ -z "$COUNT" ] && COUNT="0" # Zero means indefinitely
26 if [ -n "$DEST_IP" ]; then
28 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
30 if [ -n "$DST_PORT" ]; then
31 read -r UDP_DST_MIN UDP_DST_MAX <<< $(parse_ports $DST_PORT)
38 # and also set how many packets each flow contains ($FLOWLEN)
40 [ -z "$FLOWS" ] && FLOWS="8000"
41 [ -z "$FLOWLEN" ] && FLOWLEN="10"
43 if [[ -n "$BURST" ]]; then
48 read -r SRC_MIN SRC_MAX <<< $(parse_addr 198.18.0.0/15)
51 [ -z "$APPEND" ] && pg_ctrl "reset"
53 # Threads are specified with parameter -t value in $THREADS
58 [ -z "$APPEND" ] && pg_thread $thread "rem_device_all"
74 if [ -n "$DST_PORT" ]; then
81 [ ! -z "$UDP_CSUM" ] && pg_set $dev "flag UDPCSUM"
83 # Randomize source IP-addresses
91 # How many packets a flow will send, before flow "entry" is
92 # re-generated/setup.
95 # Flag FLOW_SEQ will cause $FLOWLEN packets from the same flow
96 # being send back-to-back, before next flow is selected
103 # Run if user hits control-c
109 cat /proc/net/pktgen/$dev | grep -A2 "Result:"
112 # trap keyboard interrupt (Ctrl-C)
115 if [ -z "$APPEND" ]; then