Home
last modified time | relevance | path

Searched refs:weight_rp12 (Results 1 – 4 of 4) sorted by relevance

/linux/tools/testing/selftests/net/forwarding/
H A Drouter_multipath.sh165 local weight_rp12=$2
175 nexthop via 169.254.2.22 dev $rp12 weight $weight_rp12 \
190 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
202 local weight_rp12=$2
213 nexthop via fe80:2::22 dev $rp12 weight $weight_rp12 \
228 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
H A Drouter_mpath_nh.sh231 local weight_rp12=$1; shift
242 ip nexthop replace id 103 group 101,$weight_rp12/102,$weight_rp13
256 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
266 local weight_rp12=$1; shift
278 ip nexthop replace id 106 group 104,$weight_rp12/105,$weight_rp13
292 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
H A Drouter_mpath_nh_res.sh233 local weight_rp12=$1; shift
257 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
266 local weight_rp12=$1; shift
290 multipath_eval "$desc" $weight_rp12 $weight_rp13 $packets_rp12 $packets_rp13
H A Dlib.sh1232 if [[ "$weight_rp12" -gt "$weight_rp13" ]]; then
1233 weights_ratio=$(echo "scale=2; $weight_rp12 / $weight_rp13" \
1236 weights_ratio=$(echo "scale=2; $weight_rp13 / $weight_rp12" \
1247 if [[ "$weight_rp12" -gt "$weight_rp13" ]]; then