Searched refs:nhgrp_object (Results 1 – 13 of 13) sorted by relevance
| /f-stack/freebsd/net/route/ |
| H A D | route_var.h | 257 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 D | nhgrp_ctl.c | 70 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 D | route_ctl.h | 89 struct nhgrp_object; 93 struct nhgrp_object *rnd_nhgrp; 129 struct weightened_nhop *nhgrp_get_nhops(struct nhgrp_object *nhg,
|
| H A D | route_helpers.c | 238 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 D | nhgrp_var.h | 56 struct nhgrp_object *nhg;
|
| H A D | mpath_ctl.c | 165 struct rtentry *rt, struct nhgrp_object *nhg, in del_route_mpath()
|
| H A D | route_ctl.c | 145 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 D | nhop_ctl.c | 700 nhgrp_ref_object((struct nhgrp_object *)nh); in nhop_ref_any() 714 nhgrp_free((struct nhgrp_object *)nh); in nhop_free_any()
|
| H A D | fib_algo.c | 1403 return (nhgrp_get_idx((struct nhgrp_object *)nh) * 2 - 1); in get_nhop_idx()
|
| /f-stack/freebsd/netinet/ |
| H A D | in_fib.c | 201 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
| /f-stack/freebsd/netinet6/ |
| H A D | in6_fib.c | 210 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
| /f-stack/lib/ |
| H A D | ff_route.c | 591 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 D | rtsock.c | 709 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()
|