Symbol: weightened_nhop
sys/net/route/nhgrp.c
117
sizeof(struct weightened_nhop) * a->nhg_nh_count);
sys/net/route/nhgrp.c
130
return (djb_hash(key, sizeof(struct weightened_nhop) * obj->nhg_nh_count));
sys/net/route/nhgrp_ctl.c
106
sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops)
sys/net/route/nhgrp_ctl.c
109
qsort(wn, num_nhops, sizeof(struct weightened_nhop), wn_cmp_idx);
sys/net/route/nhgrp_ctl.c
1097
const struct weightened_nhop *wn;
sys/net/route/nhgrp_ctl.c
120
sort_weightened_nhops_weights(struct weightened_nhop *wn, int num_items)
sys/net/route/nhgrp_ctl.c
147
calc_min_mpath_slots_fast(struct weightened_nhop *wn, size_t num_items,
sys/net/route/nhgrp_ctl.c
198
calc_min_mpath_slots(struct weightened_nhop *wn, size_t num_items,
sys/net/route/nhgrp_ctl.c
232
sz += num_nhops * sizeof(struct weightened_nhop);
sys/net/route/nhgrp_ctl.c
248
compile_nhgrp(struct nhgrp_priv *dst_priv, const struct weightened_nhop *x,
sys/net/route/nhgrp_ctl.c
318
alloc_nhgrp(struct weightened_nhop *wn, int num_nhops, uint32_t min_metric)
sys/net/route/nhgrp_ctl.c
352
num_nhops * sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
500
nhgrp_alloc(uint32_t fibnum, int family, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
616
get_nhgrp(struct nh_control *ctl, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
644
struct weightened_nhop *wn, int num_nhops, int *perror)
sys/net/route/nhgrp_ctl.c
647
struct weightened_nhop *pnhops;
sys/net/route/nhgrp_ctl.c
658
sz = (src_priv->nhg_nh_count + num_nhops) * (sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
661
pnhops = (struct weightened_nhop *)&storage[0];
sys/net/route/nhgrp_ctl.c
672
curr_nhops * sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
673
memcpy(&pnhops[curr_nhops], wn, num_nhops * sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
678
if (pnhops != (struct weightened_nhop *)&storage[0])
sys/net/route/nhgrp_ctl.c
701
struct weightened_nhop *pnhops;
sys/net/route/nhgrp_ctl.c
714
sizeof(struct weightened_nhop);
sys/net/route/nhgrp_ctl.c
717
pnhops = (struct weightened_nhop *)&storage[0];
sys/net/route/nhgrp_ctl.c
728
orig_priv->nhg_nh_count * sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
730
add_priv->nhg_nh_count * sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
735
if (pnhops != (struct weightened_nhop *)&storage[0])
sys/net/route/nhgrp_ctl.c
753
nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops,
sys/net/route/nhgrp_ctl.c
77
static void sort_weightened_nhops(struct weightened_nhop *wn, int num_nhops);
sys/net/route/nhgrp_ctl.c
779
struct weightened_nhop *pnhops;
sys/net/route/nhgrp_ctl.c
786
sz = src_priv->nhg_nh_count * (sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
789
pnhops = (struct weightened_nhop *)&storage[0];
sys/net/route/nhgrp_ctl.c
80
struct weightened_nhop *wn, int num_nhops, uint32_t uidx, int *perror);
sys/net/route/nhgrp_ctl.c
802
sizeof(struct weightened_nhop));
sys/net/route/nhgrp_ctl.c
820
if (pnhops != (struct weightened_nhop *)&storage[0])
sys/net/route/nhgrp_ctl.c
837
struct weightened_nhop wn[2] = {};
sys/net/route/nhgrp_ctl.c
88
const struct weightened_nhop *w_a = a;
sys/net/route/nhgrp_ctl.c
883
struct weightened_nhop wn = {};
sys/net/route/nhgrp_ctl.c
89
const struct weightened_nhop *w_b = b;
sys/net/route/nhgrp_ctl.c
916
const struct weightened_nhop *
sys/net/route/nhgrp_ctl.c
966
const struct weightened_nhop *wn = &nhg_priv->nhg_nh_weights[i];
sys/net/route/nhgrp_var.h
58
struct weightened_nhop nhg_nh_weights[0];
sys/net/route/nhop.h
222
struct weightened_nhop *wn, int num_nhops, int *perror);
sys/net/route/route_ctl.c
1102
const struct weightened_nhop *wn = NULL;
sys/net/route/route_ctl.c
1103
struct weightened_nhop *wn_new;
sys/net/route/route_ctl.c
1122
wn_new = mallocarray(num_nhops, sizeof(struct weightened_nhop),
sys/net/route/route_ctl.c
1129
memcpy(wn_new, wn, num_nhops * sizeof(struct weightened_nhop));
sys/net/route/route_ctl.c
1174
const struct weightened_nhop *wn;
sys/net/route/route_ctl.c
1487
const struct weightened_nhop *wn;
sys/net/route/route_ctl.h
175
struct weightened_nhop;
sys/net/route/route_ctl.h
177
const struct weightened_nhop *nhgrp_get_nhops(const struct nhgrp_object *nhg,
sys/net/route/route_ctl.h
180
int nhgrp_get_group(struct rib_head *rh, struct weightened_nhop *wn, int num_nhops,
sys/net/route/route_helpers.c
260
notify_add(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src,
sys/net/route/route_helpers.c
276
notify_del(struct rib_cmd_info *rc, const struct weightened_nhop *wn_src,
sys/net/route/route_helpers.c
296
const struct weightened_nhop *wn_old, *wn_new;
sys/net/route/route_helpers.c
297
struct weightened_nhop tmp = { NULL, 0 };
sys/net/route/route_helpers.c
382
const struct weightened_nhop *wn;
sys/net/route/route_rtentry.c
107
const struct weightened_nhop *wn;
sys/net/route/route_var.h
288
struct weightened_nhop;
sys/net/rtsock.c
2247
const struct weightened_nhop *wn;
sys/net/rtsock.c
751
const struct weightened_nhop *wn;
sys/netinet/in_fib.c
193
const struct weightened_nhop *wn;
sys/netinet6/in6_fib.c
202
const struct weightened_nhop *wn;
sys/netlink/route/nexthop.c
270
const struct weightened_nhop *wn;
sys/netlink/route/nexthop.c
271
struct weightened_nhop *wn_new, wn_base[MAX_STACK_NHOPS];
sys/netlink/route/nexthop.c
302
wn_new = malloc(num_nhops * sizeof(struct weightened_nhop), M_TEMP, M_NOWAIT);
sys/netlink/route/nexthop.c
405
struct weightened_nhop *wn = unhop->un_nhgrp_src;
sys/netlink/route/nexthop.c
752
struct weightened_nhop *wn;
sys/netlink/route/nexthop.c
84
struct weightened_nhop *un_nhgrp_src; /* nexthops for nhg */
sys/netlink/route/rt.c
209
const struct weightened_nhop *wn;
sys/netlink/route/rt.c
938
struct weightened_nhop *wn = npt_alloc(npt, sizeof(*wn) * num_nhops);