Searched refs:weightened_nhop (Results 1 - 11 of 11) 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); 86 const struct weightened_nhop *wa = a; 87 const struct weightened_nhop *wb = b; 114 sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops) 117 qsort(wn, num_nhops, sizeof(struct weightened_nhop), wn_cmp); 134 calc_min_mpath_slots_fast(const struct weightened_nhop *wn, size_t num_items) 168 calc_min_mpath_slots(const struct weightened_nhop *wn, size_t num_items) 184 * an arbirtrary number of 'struct weightened_nhop' object. 198 sz += num_nhops * sizeof(struct weightened_nhop); [all...] |
H A D | nhgrp_var.h | 58 struct weightened_nhop nhg_nh_weights[0];
|
H A D | route_ctl.h | 133 struct weightened_nhop; 135 struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg,
|
H A D | route_helpers.c | 262 struct weightened_nhop *wn_old, *wn_new; 263 struct weightened_nhop tmp = { NULL, 0 }; 382 struct weightened_nhop *wn;
|
H A D | nhop.h | 166 struct weightened_nhop { struct
|
H A D | nhgrp.c | 116 sizeof(struct weightened_nhop) * a->nhg_nh_count); 129 return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count));
|
H A D | route_var.h | 290 struct weightened_nhop; 308 int nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn,
|
H A D | route_ctl.c | 143 struct weightened_nhop *wn; 974 struct weightened_nhop *wn = NULL, *wn_new; 993 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop), 1000 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); 1346 struct weightened_nhop *wn;
|
/freebsd-13-stable/sys/netinet/ |
H A D | in_fib.c | 199 struct weightened_nhop *wn;
|
/freebsd-13-stable/sys/netinet6/ |
H A D | in6_fib.c | 208 struct weightened_nhop *wn;
|
/freebsd-13-stable/sys/net/ |
H A D | rtsock.c | 716 struct weightened_nhop *wn; 2218 struct weightened_nhop *wn;
|
Completed in 123 milliseconds