Searched refs:weight1 (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/net/netfilter/ipvs/ |
D | ip_vs_twos.c | 49 int rweight1, rweight2, weight1 = -1, weight2 = -1, overhead1 = 0; in ip_vs_twos_schedule() local 89 if (rweight1 <= 0 && weight1 == -1) { in ip_vs_twos_schedule() 91 weight1 = weight; in ip_vs_twos_schedule() 101 if (weight1 != -1 && weight2 != -1) in ip_vs_twos_schedule() 106 if (choice2 && (weight2 * overhead1) > (weight1 * overhead2)) in ip_vs_twos_schedule()
|
/Linux-v6.1/tools/testing/selftests/net/forwarding/ |
D | gre_multipath_nh.sh | 237 local weight1=$1; shift 241 ip nexthop replace id 103 group 101,$weight1/102,$weight2 255 multipath_eval "$what" $weight1 $weight2 $d111 $d222 264 local weight1=$1; shift 268 ip nexthop replace id 103 group 101,$weight1/102,$weight2 283 multipath_eval "$what" $weight1 $weight2 $d111 $d222 292 local weight1=$1; shift 296 ip nexthop replace id 103 group 101,$weight1/102,$weight2 310 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | gre_multipath_nh_res.sh | 239 local weight1=$1; shift 243 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 258 multipath_eval "$what" $weight1 $weight2 $d111 $d222 267 local weight1=$1; shift 271 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 287 multipath_eval "$what" $weight1 $weight2 $d111 $d222 296 local weight1=$1; shift 300 ip nexthop replace id 103 group 101,$weight1/102,$weight2 \ 315 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | gre_inner_v4_multipath.sh | 257 local weight1=$1; shift 262 nexthop via 192.0.2.146 weight $weight1 \ 278 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | gre_multipath.sh | 210 local weight1=$1; shift 215 nexthop dev g1a weight $weight1 \ 230 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | gre_inner_v6_multipath.sh | 257 local weight1=$1; shift 262 nexthop via 192.0.2.146 weight $weight1 \ 279 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | ip6gre_inner_v4_multipath.sh | 256 local weight1=$1; shift 261 nexthop via 2001:db8:81::2 weight $weight1 \ 277 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|
D | ip6gre_inner_v6_multipath.sh | 256 local weight1=$1; shift 261 nexthop via 2001:db8:81::2 weight $weight1 \ 278 multipath_eval "$what" $weight1 $weight2 $d111 $d222
|