Searched refs:num_nhops (Results 1 – 10 of 10) sorted by relevance
| /f-stack/freebsd/net/route/ |
| H A D | nhgrp_ctl.c | 198 sz += num_nhops * sizeof(struct weightened_nhop); in get_nhgrp_alloc_size() 280 nhg_priv->nhg_nh_count = num_nhops; in alloc_nhgrp() 288 num_nhops * sizeof(struct weightened_nhop)); in alloc_nhgrp() 437 if (num_nhops > RIB_MAX_MPATH_WIDTH) { in get_nhgrp() 451 sort_weightened_nhops(wn, num_nhops); in get_nhgrp() 453 for (int i = 0; i < num_nhops; i++) { in get_nhgrp() 543 curr_nhops += num_nhops; in append_nhops() 594 int error, i, num_nhops; in nhgrp_get_filtered_group() local 609 num_nhops = 0; in nhgrp_get_filtered_group() 617 if (num_nhops == 0) { in nhgrp_get_filtered_group() [all …]
|
| H A D | route_helpers.c | 351 uint32_t num_nhops; in rib_decompose_notification() local 361 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification() 362 for (uint32_t i = 0; i < num_nhops; i++) { in rib_decompose_notification() 371 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_nhops); in rib_decompose_notification() 372 for (uint32_t i = 0; i < num_nhops; i++) { in rib_decompose_notification()
|
| H A D | route_ctl.c | 144 uint32_t num_nhops; in destroy_rtentry() local 145 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry() 975 uint32_t num_nhops; in change_mpath_route() local 979 for (int i = 0; i < num_nhops; i++) { in change_mpath_route() 993 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop), in change_mpath_route() 1000 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); in change_mpath_route() 1001 for (int i = 0; i < num_nhops; i++) { in change_mpath_route() 1009 error = nhgrp_get_group(rnh, wn_new, num_nhops, &rnd_new); in change_mpath_route() 1347 uint32_t num_nhops; in rib_walk_del() local 1350 wn = nhgrp_get_nhops(nhg, &num_nhops); in rib_walk_del() [all …]
|
| H A D | fib_algo.h | 43 uint32_t num_nhops; member
|
| H A D | route_var.h | 297 int num_nhops, struct route_nhop_data *rnd);
|
| H A D | fib_algo.c | 1372 rinfo->num_nhops = nhops_get_count(rh); in fib_get_rtable_info()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_fib.c | 200 uint32_t num_nhops; in check_urpf() local 201 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf() 202 for (int i = 0; i < num_nhops; i++) { in check_urpf()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib.c | 209 uint32_t num_nhops; in check_urpf() local 210 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf() 211 for (int i = 0; i < num_nhops; i++) { in check_urpf()
|
| /f-stack/freebsd/net/ |
| H A D | rtsock.c | 708 uint32_t num_nhops; in select_nhop() local 709 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop() 712 for (int i = 0; i < num_nhops; i++) { in select_nhop() 2131 uint32_t num_nhops; in sysctl_dumpentry() local 2132 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in sysctl_dumpentry() 2133 for (int i = 0; i < num_nhops; i++) { in sysctl_dumpentry()
|
| /f-stack/lib/ |
| H A D | ff_route.c | 610 uint32_t num_nhops; in select_nhop() local 611 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop() 614 for (int i = 0; i < num_nhops; i++) { in select_nhop()
|