Searched refs:nhg (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/sys/net/route/ |
H A D | nhgrp_ctl.c | 219 dst = dst_priv->nhg; 242 ("index overflow during nhg compilation")); 259 struct nhgrp_object *nhg; local 269 nhg = malloc(sz, M_NHOP, flags | M_ZERO); 270 if (nhg == NULL) { 275 nhg->nhg_size = nhgrp_size; 277 nhg->nhg_flags = MPF_MULTIPATH; 279 nhg_priv = NHGRP_PRIV(nhg); 286 nhg_priv->nhg = nhg; 296 nhgrp_ref_object(struct nhgrp_object *nhg) argument 307 nhgrp_free(struct nhgrp_object *nhg) argument 687 nhgrp_get_nhops(struct nhgrp_object *nhg, uint32_t *pnum_nhops) argument 706 const struct nhgrp_object *nhg; local 769 nhgrp_get_idx(const struct nhgrp_object *nhg) argument [all...] |
H A D | nhgrp_var.h | 56 struct nhgrp_object *nhg; member in struct:nhgrp_priv
|
H A D | route_var.h | 282 struct nhgrp_object *nhg = (struct nhgrp_object *)nh; local 283 nh = nhg->nhops[flowid % nhg->nhg_size]; 297 struct rtentry *rt, struct nhgrp_object *nhg, struct rib_cmd_info *rc); 317 void nhgrp_ref_object(struct nhgrp_object *nhg); 318 uint32_t nhgrp_get_idx(const struct nhgrp_object *nhg); 319 void nhgrp_free(struct nhgrp_object *nhg);
|
H A D | mpath_ctl.c | 160 * Tries to delete matching paths from @nhg. 165 struct rtentry *rt, struct nhgrp_object *nhg, 184 error = nhgrp_get_filtered_group(rh, nhg, gw_filter_func, (void *)&ri, &rnd); 186 if (rnd.rnd_nhgrp == nhg) { 164 del_route_mpath(struct rib_head *rh, struct rt_addrinfo *info, struct rtentry *rt, struct nhgrp_object *nhg, struct rib_cmd_info *rc) argument
|
H A D | route_ctl.h | 135 struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg,
|
H A D | route_ctl.c | 1345 struct nhgrp_object *nhg; local 1349 nhg = (struct nhgrp_object *)nh; 1350 wn = nhgrp_get_nhops(nhg, &num_nhops);
|
/freebsd-13-stable/usr.bin/netstat/ |
H A D | nhgrp.c | 151 xo_emit("{t:nhg-refcnt/%*lu}", wid_refcnt, nhge->nhg_refcount); 202 struct nhgrp_external *nhg; local 239 nhg = (struct nhgrp_external *)(rtm + 1); 240 nhg_map[nhg_count].idx = nhg->nhg_idx; 256 struct nhgrp_external *nhg; local 273 nhg = (struct nhgrp_external *)(rtm + 1); 274 print_nhgroup_entry_sysctl("nhgrp-entry", rtm, nhg);
|
Completed in 131 milliseconds