Home
last modified time | relevance | path

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

/freebsd/sys/net/route/
H A Dnhop.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);
H A Dnhgrp_ctl.c218 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()
460 struct nhgrp_object *
517 struct nhgrp_object *
568 struct nhgrp_object *nhg; in get_nhgrp()
646 uint32_t uidx, struct nhgrp_object **pnhg) in nhgrp_get_group()
840 const struct nhgrp_object *nhg; in dump_nhgrp_entry()
[all …]
H A Droute_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);
H A Droute_ctl.h50 struct nhgrp_object *rnd_nhgrp;
123 struct nhgrp_object;
176 const struct weightened_nhop *nhgrp_get_nhops(const struct nhgrp_object *nhg,
180 uint32_t uidx, struct nhgrp_object **pnhg);
H A Droute_debug.h158 struct nhgrp_object;
167 char *nhgrp_print_buf(const struct nhgrp_object *nhg, char *buf, size_t bufsize);
H A Droute_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()
H A Dnhgrp_var.h56 struct nhgrp_object *nhg;
H A Droute_ctl.c1010 struct nhgrp_object *nhg = (struct nhgrp_object *)nh; in rt_delete_conditional()
1511 struct nhgrp_object *nhg; in rib_walk_del()
1515 nhg = (struct nhgrp_object *)nh; in rib_walk_del()
H A Droute_rtentry.c119 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
H A Dnhop_ctl.c651 nhgrp_ref_object((struct nhgrp_object *)nh); in nhop_ref_any()
665 nhgrp_free((struct nhgrp_object *)nh); in nhop_free_any()
1174 return (nhgrp_print_buf((const struct nhgrp_object *)nh, buf, bufsize)); in nhop_print_buf_any()
H A Dfib_algo.c1768 return (nhgrp_get_idx((struct nhgrp_object *)nh)); in get_nhop_idx()
/freebsd/sys/netlink/route/
H A Drt.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()
859 struct nhgrp_object *nhg; in create_nexthop_from_attrs()
H A Dnexthop.c323 struct nhgrp_object *nhg; in clone_unhop()
/freebsd/sys/netinet/
H A Din_fib.c200 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/freebsd/sys/netinet6/
H A Din6_fib.c209 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
/freebsd/sys/net/
H A Drtsock.c723 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in select_nhop()
2226 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in sysctl_dumpentry()