Searched refs:weightened_nhop (Results 1 - 11 of 11) sorted by relevance

/freebsd-13-stable/sys/net/route/
H A Dnhgrp_ctl.c75 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 Dnhgrp_var.h58 struct weightened_nhop nhg_nh_weights[0];
H A Droute_ctl.h133 struct weightened_nhop;
135 struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg,
H A Droute_helpers.c262 struct weightened_nhop *wn_old, *wn_new;
263 struct weightened_nhop tmp = { NULL, 0 };
382 struct weightened_nhop *wn;
H A Dnhop.h166 struct weightened_nhop { struct
H A Dnhgrp.c116 sizeof(struct weightened_nhop) * a->nhg_nh_count);
129 return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count));
H A Droute_var.h290 struct weightened_nhop;
308 int nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn,
H A Droute_ctl.c143 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 Din_fib.c199 struct weightened_nhop *wn;
/freebsd-13-stable/sys/netinet6/
H A Din6_fib.c208 struct weightened_nhop *wn;
/freebsd-13-stable/sys/net/
H A Drtsock.c716 struct weightened_nhop *wn;
2218 struct weightened_nhop *wn;

Completed in 123 milliseconds