/freebsd/sys/net/route/ |
H A D | route_subscription.c | 48 struct rib_head *rnh; member 56 rib_notify(struct rib_head *rnh, enum rib_subscription_type type, in rib_notify() 95 struct rib_head *rnh; in rib_subscribe() local 107 rib_subscribe_internal(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg, in rib_subscribe_internal() 127 rib_subscribe_locked(struct rib_head *rnh, rib_subscription_cb_t *f, void *arg, in rib_subscribe_locked() 151 struct rib_head *rnh = rs->rnh; in rib_unsubscribe() local 165 struct rib_head *rnh = rs->rnh; in rib_unsubscribe_locked() local 189 rib_init_subscriptions(struct rib_head *rnh) in rib_init_subscriptions() 196 rib_destroy_subscriptions(struct rib_head *rnh) in rib_destroy_subscriptions()
|
H A D | route_ctl.c | 150 struct rib_head *rnh; in get_rnh() local 351 lookup_prefix_bysa(struct rib_head *rnh, const struct sockaddr *dst, in lookup_prefix_bysa() 371 lookup_prefix_rt(struct rib_head *rnh, const struct rtentry *rt, in lookup_prefix_rt() 384 lookup_prefix(struct rib_head *rnh, const struct rt_addrinfo *info, in lookup_prefix() 396 rib_lookup_prefix_plen(struct rib_head *rnh, struct sockaddr *dst, int plen, in rib_lookup_prefix_plen() 492 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_add_route_px() local 571 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); in rib_del_route_px() local 695 struct rib_head *rnh; in rib_add_route() local 726 add_route_byinfo(struct rib_head *rnh, struct rt_addrinfo *info, in add_route_byinfo() 787 add_route_flags(struct rib_head *rnh, struct rtentry *rt, struct route_nhop_data *rnd_add, in add_route_flags() [all …]
|
H A D | route_temporal.c | 84 struct rib_head *rnh; in expire_callout() local 124 tmproutes_update(struct rib_head *rnh, struct rtentry *rt, struct nhop_object *nh) in tmproutes_update()
|
H A D | route_helpers.c | 76 rib_walk_ext_locked(struct rib_head *rnh, rib_walktree_f_t *wa_f, in rib_walk_ext_locked() 96 rib_walk_ext_internal(struct rib_head *rnh, bool wlock, rib_walktree_f_t *wa_f, in rib_walk_ext_internal() 116 struct rib_head *rnh; in rib_walk_ext() local 150 struct rib_head *rnh = rt_tables_get_rnh(fibnum, family); in rib_walk_from() local
|
H A D | route_tables.c | 323 struct rib_head *rnh; in rtables_destroy() local 398 struct rib_head *rnh; in rt_tables_get_gen() local
|
H A D | nhop_ctl.c | 256 nhop_create_from_info(struct rib_head *rnh, struct rt_addrinfo *info, in nhop_create_from_info() 315 struct rib_head *rnh = nhop_get_rh(nh); in nhop_get_nhop() local 327 nhop_get_nhop_internal(struct rib_head *rnh, struct nhop_object *nh, int *perror) in nhop_get_nhop_internal() 371 struct rib_head *rnh = nhop_get_rh(nh); in nhop_get_unlinked() local 436 nhop_create_from_nhop(struct rib_head *rnh, const struct nhop_object *nh_orig, in nhop_create_from_nhop()
|
H A D | route_ddb.c | 170 struct rib_head *rnh; in DB_SHOW_COMMAND() local
|
H A D | route_rtentry.c | 82 rt_alloc(struct rib_head *rnh, const struct sockaddr *dst, in rt_alloc()
|
H A D | route_var.h | 118 rib_bump_gen(struct rib_head *rnh) in rib_bump_gen()
|
H A D | fib_algo.c | 772 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb() 916 sync_algo_end_cb(struct rib_head *rnh, enum rib_walk_hook stage, void *_data) in sync_algo_end_cb()
|
/freebsd/sys/net/ |
H A D | radix.h | 161 #define RADIX_NODE_HEAD_LOCK_INIT(rnh) \ argument 163 #define RADIX_NODE_HEAD_LOCK(rnh) rm_wlock(&(rnh)->rnh_lock) argument 164 #define RADIX_NODE_HEAD_UNLOCK(rnh) rm_wunlock(&(rnh)->rnh_lock) argument 165 #define RADIX_NODE_HEAD_RLOCK(rnh) rm_rlock(&(rnh)->rnh_lock,\ argument 167 #define RADIX_NODE_HEAD_RUNLOCK(rnh) rm_runlock(&(rnh)->rnh_lock,\ argument 169 #define RADIX_NODE_HEAD_DESTROY(rnh) rm_destroy(&(rnh)->rnh_lock) argument 170 #define RADIX_NODE_HEAD_LOCK_ASSERT(rnh) rm_assert(&(rnh)->rnh_lock, RA_LOCKED) argument 171 #define RADIX_NODE_HEAD_WLOCK_ASSERT(rnh) rm_assert(&(rnh)->rnh_lock, RA_WLOCKED) argument
|
H A D | route.c | 143 struct radix_head * const rnh = arg; in rt_freeentry() local 514 struct rib_head *rnh; in rt_updatemtu() local
|
H A D | radix.c | 1137 struct radix_node_head *rnh; in rn_inithead() local 1176 struct radix_head * const rnh = arg; in rn_freeentry() local 1188 struct radix_node_head *rnh; in rn_detachhead() local
|
H A D | rtsock.c | 748 struct rib_head *rnh; in handle_rtm_get() local 2573 struct rib_head *rnh = NULL; /* silence compiler. */ sysctl_rtsock() local [all...] |
/freebsd/sys/kern/ |
H A D | vfs_export.c | 106 struct radix_node_head *rnh; in vfs_hang_addrlist() local 234 struct radix_node_head *rnh = (struct radix_node_head *) w; in vfs_free_netcred() local 260 struct radix_node_head *rnh; in vfs_free_addrlist_af() local 619 struct radix_node_head *rnh; in vfs_export_lookup() local
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | radix_ipf.c | 1174 printroots(ipf_rdx_head_t *rnh) in printroots() 1195 ipf_rdx_head_t *rnh; in main() local 1271 dumptree(ipf_rdx_head_t *rnh) in dumptree() 1284 test_addr(ipf_rdx_head_t *rnh, int pref, addrfamily_t *addr, int limit) in test_addr() 1322 delete_addr(ipf_rdx_head_t *rnh, int item) in delete_addr() 1364 add_addr(ipf_rdx_head_t *rnh, int n, int item) in add_addr() 1452 random_add(ipf_rdx_head_t *rnh) in random_add() 1470 random_delete(ipf_rdx_head_t *rnh) in random_delete()
|
/freebsd/sys/netinet6/ |
H A D | in6_fib_algo.c | 89 struct radix_node_head *rnh; member 100 struct radix_node_head *rnh = (struct radix_node_head *)algo_data; in lradix6_lookup() local 219 lradix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in lradix6_change_cb() 335 radix6_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in radix6_change_cb()
|
H A D | nd6.c | 1628 nd6_subscription_cb(struct rib_head * rnh,struct rib_cmd_info * rc,void * arg) nd6_subscription_cb() argument
|
/freebsd/sys/netinet/ |
H A D | in_fib_algo.c | 479 bsearch4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in bsearch4_change_cb() 518 struct radix_node_head *rnh; member 529 struct radix_node_head *rnh = (struct radix_node_head *)algo_data; in lradix4_lookup() local 649 lradix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in lradix4_change_cb() 751 radix4_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in radix4_change_cb()
|
H A D | in_fib_dxr.c | 1241 dxr_change_rib_item(struct rib_head * rnh,struct rib_cmd_info * rc,void * data) dxr_change_rib_item() argument 1249 dxr_change_rib_batch(struct rib_head * rnh,struct fib_change_queue * q,void * data) dxr_change_rib_batch() argument
|
/freebsd/sys/netpfil/ipfw/ |
H A D | ip_fw_table_algo.c | 414 struct radix_node_head *rnh; in ta_lookup_addr_radix() local 470 struct radix_node_head * const rnh = arg; in flush_radix_entry() local 484 struct radix_node_head *rnh; in ta_destroy_addr_radix() local 553 struct radix_node_head *rnh; in ta_find_addr_radix_tentry() local 583 struct radix_node_head *rnh; in ta_foreach_addr_radix() local 718 struct radix_node_head *rnh; in ta_add_addr_radix() local 819 struct radix_node_head *rnh; in ta_del_addr_radix() local 4035 struct radix_node_head *rnh; in ta_lookup_mac_radix() local 4073 struct radix_node_head *rnh; in ta_destroy_mac_radix() local 4156 struct radix_node_head *rnh; in ta_add_mac_radix() local [all …]
|
/freebsd/sys/contrib/dpdk_rte_lpm/ |
H A D | dpdk_lpm.c | 214 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb()
|
H A D | dpdk_lpm6.c | 270 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb()
|
/freebsd/sbin/routed/ |
H A D | radix.c | 844 struct radix_node_head *rnh; in rn_inithead() local
|
/freebsd/sys/netlink/route/ |
H A D | rt.c | 613 struct rib_head *rnh; in handle_rtm_getroute() local
|