Lines Matching +full:single +full:- +full:port
2 # SPDX-License-Identifier: GPL-2.0
5 # * pktgen sending with single thread and single interface
6 # * flow variation via random UDP source port
13 # - go look in parameters.sh to see which setting are avail
14 # - required param is the interface "-i" stored in $DEV
18 if [ -z "$DEST_IP" ]; then
19 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
21 [ -z "$CLONE_SKB" ] && CLONE_SKB="0"
22 # Example enforce param "-m" for dst_mac
23 [ -z "$DST_MAC" ] && usage && err 2 "Must specify -m dst_mac"
24 [ -z "$COUNT" ] && COUNT="100000" # Zero means indefinitely
25 if [ -n "$DEST_IP" ]; then
27 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
29 if [ -n "$DST_PORT" ]; then
30 read -r UDP_DST_MIN UDP_DST_MAX <<< $(parse_ports $DST_PORT)
37 # Flow variation random source port between min and max
54 # - this obviously affects the randomness within the packet
71 if [ -n "$DST_PORT" ]; then
72 # Single destination port or random port range
78 # Setup random UDP port src range