Home
last modified time | relevance | path

Searched refs:nhgrp_object (Results 1 – 13 of 13) sorted by relevance

/f-stack/freebsd/net/route/
H A Droute_var.h257 struct nhgrp_object { struct
270 struct nhgrp_object *nhg = (struct nhgrp_object *)nh; in nhop_select() argument
285 struct rtentry *rt, struct nhgrp_object *nhg, struct rib_cmd_info *rc);
299 int nhgrp_get_filtered_group(struct rib_head *rh, const struct nhgrp_object *src,
305 void nhgrp_ref_object(struct nhgrp_object *nhg);
306 uint32_t nhgrp_get_idx(const struct nhgrp_object *nhg);
307 void nhgrp_free(struct nhgrp_object *nhg);
H A Dnhgrp_ctl.c70 CHK_STRUCT_FIELD_GENERIC(struct nhop_object, nh_flags, struct nhgrp_object, nhg_flags);
195 sz = sizeof(struct nhgrp_object); in get_nhgrp_alloc_size()
214 struct nhgrp_object *dst; in compile_nhgrp()
259 struct nhgrp_object *nhg; in alloc_nhgrp()
296 nhgrp_ref_object(struct nhgrp_object *nhg) in nhgrp_ref_object()
307 nhgrp_free(struct nhgrp_object *nhg) in nhgrp_free()
512 append_nhops(struct nh_control *ctl, const struct nhgrp_object *gr_orig, in append_nhops()
586 nhgrp_get_filtered_group(struct rib_head *rh, const struct nhgrp_object *src, in nhgrp_get_filtered_group()
687 nhgrp_get_nhops(struct nhgrp_object *nhg, uint32_t *pnum_nhops) in nhgrp_get_nhops()
706 const struct nhgrp_object *nhg; in dump_nhgrp_entry()
[all …]
H A Droute_ctl.h89 struct nhgrp_object;
93 struct nhgrp_object *rnd_nhgrp;
129 struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg,
H A Droute_helpers.c238 wn_old = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_old); in decompose_change_notification()
246 wn_new = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_new); in decompose_change_notification()
361 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification()
371 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_nhops); in rib_decompose_notification()
H A Dnhgrp_var.h56 struct nhgrp_object *nhg;
H A Dmpath_ctl.c165 struct rtentry *rt, struct nhgrp_object *nhg, in del_route_mpath()
H A Droute_ctl.c145 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
787 (struct nhgrp_object *)nh, rc); in rt_unlinkrte()
977 wn = nhgrp_get_nhops((struct nhgrp_object *)nh_orig, &num_nhops); in change_mpath_route()
1345 struct nhgrp_object *nhg; in rib_walk_del()
1349 nhg = (struct nhgrp_object *)nh; in rib_walk_del()
H A Dnhop_ctl.c700 nhgrp_ref_object((struct nhgrp_object *)nh); in nhop_ref_any()
714 nhgrp_free((struct nhgrp_object *)nh); in nhop_free_any()
H A Dfib_algo.c1403 return (nhgrp_get_idx((struct nhgrp_object *)nh) * 2 - 1); in get_nhop_idx()
/f-stack/freebsd/netinet/
H A Din_fib.c201 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/f-stack/freebsd/netinet6/
H A Din6_fib.c210 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/f-stack/lib/
H A Dff_route.c591 nhgrp_get_nhops(struct nhgrp_object *nhg, uint32_t *pnum_nhops) in nhgrp_get_nhops()
611 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop()
/f-stack/freebsd/net/
H A Drtsock.c709 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop()
2132 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in sysctl_dumpentry()