Searched refs:weightened_nhop (Results 1 - 14 of 14) sorted by relevance
/freebsd-current/sys/net/route/ |
H A D | nhgrp_ctl.c | 78 static void sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops); 81 struct weightened_nhop *wn, int num_nhops, uint32_t uidx, int *perror); 89 const struct weightened_nhop *w_a = a; 90 const struct weightened_nhop *w_b = b; 107 sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops) 110 qsort(wn, num_nhops, sizeof(struct weightened_nhop), wn_cmp_idx); 116 * field in the `struct weightened_nhop`. 121 sort_weightened_nhops_weights(struct weightened_nhop *wn, int num_items) 147 calc_min_mpath_slots_fast(struct weightened_nhop *wn, size_t num_items, 188 calc_min_mpath_slots(struct weightened_nhop *w [all...] |
H A D | nhgrp_var.h | 58 struct weightened_nhop nhg_nh_weights[0];
|
H A D | route_ctl.h | 174 struct weightened_nhop; 176 const struct weightened_nhop *nhgrp_get_nhops(const struct nhgrp_object *nhg, 179 int nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops,
|
H A D | nhop.h | 164 struct weightened_nhop { struct 226 struct weightened_nhop *wn, int num_nhops, int *perror);
|
H A D | nhgrp.c | 118 sizeof(struct weightened_nhop) * a->nhg_nh_count); 131 return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count));
|
H A D | route_helpers.c | 262 notify_add(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src, 278 notify_del(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src, 298 const struct weightened_nhop *wn_old, *wn_new; 299 struct weightened_nhop tmp = { NULL, 0 }; 384 const struct weightened_nhop *wn;
|
H A D | route_rtentry.c | 117 const struct weightened_nhop *wn;
|
H A D | route_ctl.c | 1138 const struct weightened_nhop *wn = NULL; 1139 struct weightened_nhop *wn_new; 1158 wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop), 1165 memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop)); 1512 const struct weightened_nhop *wn;
|
H A D | route_var.h | 291 struct weightened_nhop;
|
/freebsd-current/sys/netlink/route/ |
H A D | nexthop.c | 85 struct weightened_nhop *un_nhgrp_src; /* nexthops for nhg */ 272 const struct weightened_nhop *wn; 273 struct weightened_nhop *wn_new, wn_base[MAX_STACK_NHOPS]; 306 wn_new = malloc(num_nhops * sizeof(struct weightened_nhop), M_TEMP, M_NOWAIT); 409 struct weightened_nhop *wn = unhop->un_nhgrp_src; 756 struct weightened_nhop *wn;
|
H A D | rt.c | 183 const struct weightened_nhop *wn = nhgrp_get_nhops(nhg, &num_nhops); 846 struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops);
|
/freebsd-current/sys/netinet/ |
H A D | in_fib.c | 198 const struct weightened_nhop *wn;
|
/freebsd-current/sys/netinet6/ |
H A D | in6_fib.c | 207 const struct weightened_nhop *wn;
|
/freebsd-current/sys/net/ |
H A D | rtsock.c | 721 const struct weightened_nhop *wn; 2223 const struct weightened_nhop *wn;
|
Completed in 257 milliseconds