Searched refs:nhgrp_object (Results 1 – 16 of 16) sorted by relevance
/freebsd/sys/net/route/ |
H A D | nhop.h | 224 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 D | nhgrp_ctl.c | 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() 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 D | route_var.h | 270 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 D | route_ctl.h | 50 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 D | route_debug.h | 158 struct nhgrp_object; 167 char *nhgrp_print_buf(const struct nhgrp_object *nhg, char *buf, size_t bufsize);
|
H A D | route_helpers.c | 306 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 D | nhgrp_var.h | 56 struct nhgrp_object *nhg;
|
H A D | route_ctl.c | 1010 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 D | route_rtentry.c | 119 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
|
H A D | nhop_ctl.c | 651 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 D | fib_algo.c | 1768 return (nhgrp_get_idx((struct nhgrp_object *)nh)); in get_nhop_idx()
|
/freebsd/sys/netlink/route/ |
H A D | rt.c | 72 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 D | nexthop.c | 323 struct nhgrp_object *nhg; in clone_unhop()
|
/freebsd/sys/netinet/ |
H A D | in_fib.c | 200 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
/freebsd/sys/netinet6/ |
H A D | in6_fib.c | 209 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
/freebsd/sys/net/ |
H A D | rtsock.c | 723 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()
|