Home
last modified time | relevance | path

Searched refs:IP6 (Results 1 – 10 of 10) sorted by relevance

/samples/pktgen/
Dfunctions.sh206 [[ ${FUNCNAME[1]: -1} == 6 ]] && local IP6=6
207 local bitlen=$[ IP6 ? 128 : 32 ]
208 local len=$[ IP6 ? 8 : 4 ]
214 [[ $IP6 ]] && net=$(extend_addr6 $net)
224 [[ $IP6 ]] && sep=: || sep=.
229 err 5 "Invalid IP$IP6 address: $1"
234 [[ $IP6 ]] && digit=$[ 16#$digit ]
236 err 5 "Invalid IP$IP6 address: $1"
249 [[ ${FUNCNAME[1]: -1} == 6 ]] && local IP6=6
254 [[ $IP6 ]] && net=$(extend_addr6 $net)
[all …]
Dpktgen_sample01_simple.sh19 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
26 validate_addr${IP6} $DEST_IP
27 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
68 pg_set $DEV "dst${IP6}_min $DST_MIN"
69 pg_set $DEV "dst${IP6}_max $DST_MAX"
Dpktgen_bench_xmit_mode_queue_xmit.sh18 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
28 validate_addr${IP6} $DEST_IP
29 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
61 pg_set $dev "dst${IP6}_min $DST_MIN"
62 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_bench_xmit_mode_netif_receive.sh39 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
45 validate_addr${IP6} $DEST_IP
46 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
78 pg_set $dev "dst${IP6}_min $DST_MIN"
79 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_sample05_flow_per_thread.sh21 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
28 validate_addr${IP6} $DEST_IP
29 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
60 pg_set $dev "dst${IP6}_min $DST_MIN"
61 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_sample03_burst_single_flow.sh30 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
37 validate_addr${IP6} $DEST_IP
38 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
69 pg_set $dev "dst${IP6}_min $DST_MIN"
70 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_sample02_multiqueue.sh29 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
33 validate_addr${IP6} $DEST_IP
34 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
69 pg_set $dev "dst${IP6}_min $DST_MIN"
70 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_sample04_many_flows.sh17 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
23 validate_addr${IP6} $DEST_IP
24 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
70 pg_set $dev "dst${IP6}_min $DST_MIN"
71 pg_set $dev "dst${IP6}_max $DST_MAX"
Dpktgen_sample06_numa_awared_queue_irq_affinity.sh35 [ -z "$IP6" ] && DEST_IP="198.18.0.42" || DEST_IP="FD00::1"
39 validate_addr${IP6} $DEST_IP
40 read -r DST_MIN DST_MAX <<< $(parse_addr${IP6} $DEST_IP)
86 pg_set $dev "dst${IP6}_min $DST_MIN"
87 pg_set $dev "dst${IP6}_max $DST_MAX"
Dparameters.sh78 export IP6=6
79 info "IP6: IP6=$IP6"