Searched refs:nhgrp_object (Results 1 – 16 of 16) sorted by relevance
| /freebsd-13-stable/sys/net/route/ |
| HD | 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);
|
| HD | nhgrp_ctl.c | 73 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 …]
|
| HD | 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);
|
| HD | route_ctl.h | 48 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);
|
| HD | route_debug.h | 157 struct nhgrp_object; 166 char *nhgrp_print_buf(const struct nhgrp_object *nhg, char *buf, size_t bufsize);
|
| HD | 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()
|
| HD | nhgrp_var.h | 56 struct nhgrp_object *nhg;
|
| HD | route_ctl.c | 999 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()
|
| HD | route_rtentry.c | 120 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in destroy_rtentry()
|
| HD | nhop_ctl.c | 650 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()
|
| HD | fib_algo.c | 1768 return (nhgrp_get_idx((struct nhgrp_object *)nh)); in get_nhop_idx()
|
| /freebsd-13-stable/sys/netlink/route/ |
| HD | 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() 794 struct nhgrp_object *nhg; in create_nexthop_from_attrs()
|
| HD | nexthop.c | 323 struct nhgrp_object *nhg; in clone_unhop()
|
| /freebsd-13-stable/sys/netinet/ |
| HD | in_fib.c | 199 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
| /freebsd-13-stable/sys/netinet6/ |
| HD | in6_fib.c | 208 wn = nhgrp_get_nhops((struct nhgrp_object *)nh, &num_nhops); in check_urpf()
|
| /freebsd-13-stable/sys/net/ |
| HD | rtsock.c | 782 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()
|