Searched refs:num_nhops (Results 1 - 10 of 10) sorted by relevance
/freebsd-13-stable/sys/net/route/ |
H A D | nhgrp_ctl.c | 75 static void sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops); 78 struct weightened_nhop *wn, int num_nhops, int *perror); 114 sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops) argument 117 qsort(wn, num_nhops, sizeof(struct weightened_nhop), wn_cmp); 191 get_nhgrp_alloc_size(uint32_t nhg_size, uint32_t num_nhops) argument 198 sz += num_nhops * sizeof(struct weightened_nhop); 255 alloc_nhgrp(struct weightened_nhop *wn, int num_nhops) argument 262 nhgrp_size = calc_min_mpath_slots(wn, num_nhops); 268 size_t sz = get_nhgrp_alloc_size(nhgrp_size, num_nhops); 276 DPRINTF("new mpath group: num_nhops 432 get_nhgrp(struct nh_control *ctl, struct weightened_nhop *wn, int num_nhops, int *perror) argument 512 append_nhops(struct nh_control *ctl, const struct nhgrp_object *gr_orig, struct weightened_nhop *wn, int num_nhops, int *perror) argument 565 nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops, struct route_nhop_data *rnd) argument 594 int error, i, num_nhops; local [all...] |
H A D | route_helpers.c | 383 uint32_t num_nhops; local 393 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); 394 for (uint32_t i = 0; i < num_nhops; i++) { 403 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_nhops); 404 for (uint32_t i = 0; i < num_nhops; i++) {
|
H A D | route_ctl.c | 144 uint32_t num_nhops; local 145 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); 975 uint32_t num_nhops; local 977 wn = nhgrp_get_nhops((struct nhgrp_object *)nh_orig, &num_nhops); 979 for (int i = 0; i < num_nhops; i++) { 993 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop), 1000 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); 1001 for (int i = 0; i < num_nhops; i++) { 1009 error = nhgrp_get_group(rnh, wn_new, num_nhops, &rnd_new); 1347 uint32_t num_nhops; local [all...] |
H A D | fib_algo.h | 44 uint32_t num_nhops; member in struct:rib_rtable_info
|
H A D | route_var.h | 309 int num_nhops, struct route_nhop_data *rnd);
|
H A D | fib_algo.c | 1716 rinfo->num_nhops = nhops_get_count(rh);
|
/freebsd-13-stable/sys/netinet/ |
H A D | in_fib.c | 200 uint32_t num_nhops; local 201 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); 202 for (int i = 0; i < num_nhops; i++) {
|
H A D | in_fib_dxr.c | 973 da->d_bits, dxr_x, rinfo.num_prefixes, rinfo.num_nhops); 976 DXR_D, rinfo.num_prefixes, rinfo.num_nhops);
|
/freebsd-13-stable/sys/netinet6/ |
H A D | in6_fib.c | 209 uint32_t num_nhops; local 210 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); 211 for (int i = 0; i < num_nhops; i++) {
|
/freebsd-13-stable/sys/net/ |
H A D | rtsock.c | 717 uint32_t num_nhops; local 718 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); 721 for (int i = 0; i < num_nhops; i++) { 2219 uint32_t num_nhops; local 2220 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); 2221 for (int i = 0; i < num_nhops; i++) {
|
Completed in 104 milliseconds