Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/net/route/
HDnhop.h224 struct nhgrp_object;
225 struct nhgrp_object *nhgrp_alloc(uint32_t fibnum, int family,
227 struct nhgrp_object *nhgrp_get_nhgrp(struct nhgrp_object *nhg, int *perror);
228 void nhgrp_set_uidx(struct nhgrp_object *nhg, uint32_t uidx);
229 uint32_t nhgrp_get_uidx(const struct nhgrp_object *nhg);
230 uint8_t nhgrp_get_origin(const struct nhgrp_object *nhg);
231 void nhgrp_set_origin(struct nhgrp_object *nhg, uint8_t origin);
HDnhgrp_ctl.c73 CHK_STRUCT_FIELD_GENERIC(struct nhop_object, nh_flags, struct nhgrp_object, nhg_flags);
218 sz = sizeof(struct nhgrp_object); in get_nhgrp_alloc_size()
237 struct nhgrp_object *dst; in compile_nhgrp()
282 struct nhgrp_object *nhg; in alloc_nhgrp()
324 nhgrp_ref_object(struct nhgrp_object *nhg) in nhgrp_ref_object()
335 nhgrp_free(struct nhgrp_object *nhg) in nhgrp_free()
463 struct nhgrp_object *
520 struct nhgrp_object *
521 nhgrp_get_nhgrp(struct nhgrp_object *nhg, int *perror) in nhgrp_get_nhgrp()
571 struct nhgrp_object *nhg; in get_nhgrp()
[all …]
HDroute_var.h270 struct nhgrp_object { struct
283 struct nhgrp_object *nhg = (struct nhgrp_object *)nh; in nhop_select() argument
308 const struct nhgrp_object *src, rib_filter_f_t flt_func, void *flt_data,
314 void nhgrp_ref_object(struct nhgrp_object *nhg);
315 uint32_t nhgrp_get_idx(const struct nhgrp_object *nhg);
316 void nhgrp_free(struct nhgrp_object *nhg);
HDroute_ctl.h48 struct nhgrp_object *rnd_nhgrp;
121 struct nhgrp_object;
163 const struct weightened_nhop *nhgrp_get_nhops(const struct nhgrp_object *nhg,
167 uint32_t uidx, struct nhgrp_object **pnhg);
HDroute_debug.h157 struct nhgrp_object;
166 char *nhgrp_print_buf(const struct nhgrp_object *nhg, char *buf, size_t bufsize);
HDroute_helpers.c306 wn_old = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_old); in decompose_change_notification()
314 wn_new = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_new); in decompose_change_notification()
393 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_new, &num_nhops); in rib_decompose_notification()
401 wn = nhgrp_get_nhops((struct nhgrp_object *)rc->rc_nh_old, &num_nhops); in rib_decompose_notification()
HDnhgrp_var.h56 struct nhgrp_object *nhg;
HDroute_ctl.c999 struct nhgrp_object *nhg = (struct nhgrp_object *)nh; in rt_delete_conditional()
1500 struct nhgrp_object *nhg; in rib_walk_del()
1504 nhg = (struct nhgrp_object *)nh; in rib_walk_del()
HDroute_rtentry.c120 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
HDnhop_ctl.c650 nhgrp_ref_object((struct nhgrp_object *)nh); in nhop_ref_any()
664 nhgrp_free((struct nhgrp_object *)nh); in nhop_free_any()
1123 return (nhgrp_print_buf((const struct nhgrp_object *)nh, buf, bufsize)); in nhop_print_buf_any()
HDfib_algo.c1768 return (nhgrp_get_idx((struct nhgrp_object *)nh)); in get_nhop_idx()
/freebsd-13-stable/sys/netlink/route/
HDrt.c72 const struct nhgrp_object *nhg = (const struct nhgrp_object *)nh; in nl_get_rtm_protocol()
179 dump_rc_nhg(struct nl_writer *nw, const struct nhgrp_object *nhg, struct rtmsg *rtm) in dump_rc_nhg()
794 struct nhgrp_object *nhg; in create_nexthop_from_attrs()
HDnexthop.c323 struct nhgrp_object *nhg; in clone_unhop()
/freebsd-13-stable/sys/netinet/
HDin_fib.c199 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/freebsd-13-stable/sys/netinet6/
HDin6_fib.c208 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/freebsd-13-stable/sys/net/
HDrtsock.c782 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop()
2291 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in sysctl_dumpentry()