Home
last modified time | relevance | path

Searched defs:rnh (Results 1 – 25 of 25) sorted by relevance

/freebsd-src/sys/net/route/
H A Droute_subscription.c48 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 Droute_ctl.c150 struct rib_head *rnh; in get_rnh() local
351 lookup_prefix_bysa(struct rib_head * rnh,const struct sockaddr * dst,const struct sockaddr * netmask,struct route_nhop_data * rnd) lookup_prefix_bysa() argument
371 lookup_prefix_rt(struct rib_head * rnh,const struct rtentry * rt,struct route_nhop_data * rnd) lookup_prefix_rt() argument
384 lookup_prefix(struct rib_head * rnh,const struct rt_addrinfo * info,struct route_nhop_data * rnd) lookup_prefix() argument
396 rib_lookup_prefix_plen(struct rib_head * rnh,struct sockaddr * dst,int plen,struct route_nhop_data * rnd) rib_lookup_prefix_plen() argument
492 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); rib_add_route_px() local
571 struct rib_head *rnh = rt_tables_get_rnh(fibnum, dst->sa_family); rib_del_route_px() local
695 struct rib_head *rnh; rib_add_route() local
726 add_route_byinfo(struct rib_head * rnh,struct rt_addrinfo * info,struct rib_cmd_info * rc) add_route_byinfo() argument
784 add_route_flags(struct rib_head * rnh,struct rtentry * rt,struct route_nhop_data * rnd_add,int op_flags,struct rib_cmd_info * rc) add_route_flags() argument
870 add_route_flags_mpath(struct rib_head * rnh,struct rtentry * rt,struct route_nhop_data * rnd_add,struct route_nhop_data * rnd_orig,int op_flags,struct rib_cmd_info * rc) add_route_flags_mpath() argument
923 struct rib_head *rnh; rib_del_route() local
1003 rt_delete_conditional(struct rib_head * rnh,struct rtentry * rt,int prio,rib_filter_f_t * cb,void * cbdata,struct rib_cmd_info * rc) rt_delete_conditional() argument
1043 struct rib_head *rnh; rib_change_route() local
1100 change_nhop(struct rib_head * rnh,struct rt_addrinfo * info,struct nhop_object * nh_orig,struct nhop_object ** nh_new) change_nhop() argument
1131 change_mpath_route(struct rib_head * rnh,struct rtentry * rt,struct rt_addrinfo * info,struct route_nhop_data * rnd_orig,struct rib_cmd_info * rc) change_mpath_route() argument
1183 change_route_byinfo(struct rib_head * rnh,struct rtentry * rt,struct rt_addrinfo * info,struct route_nhop_data * rnd_orig,struct rib_cmd_info * rc) change_route_byinfo() argument
1214 add_route(struct rib_head * rnh,struct rtentry * rt,struct route_nhop_data * rnd,struct rib_cmd_info * rc) add_route() argument
1251 delete_route(struct rib_head * rnh,struct rtentry * rt,struct rib_cmd_info * rc) delete_route() argument
1283 change_route(struct rib_head * rnh,struct rtentry * rt,struct route_nhop_data * rnd,struct rib_cmd_info * rc) change_route() argument
1320 change_route_conditional(struct rib_head * rnh,struct rtentry * rt,struct route_nhop_data * rnd_orig,struct route_nhop_data * rnd_new,struct rib_cmd_info * rc) change_route_conditional() argument
1415 struct rib_head *rnh; global() member
1474 struct rib_head *rnh; rib_walk_del() local
1533 struct rib_head *rnh = (struct rib_head *)arg; rt_delete_unconditional() local
1547 rib_flush_routes(struct rib_head * rnh) rib_flush_routes() argument
1557 struct rib_head *rnh; rib_flush_routes_family() local
[all...]
H A Droute_temporal.c84 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 Droute_helpers.c76 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 Droute_tables.c403 return (rnh->rnh_gen); in rt_tables_get_gen() local
328 struct rib_head *rnh; rtables_destroy() local
H A Dnhop_ctl.c256 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 Droute_ddb.c170 struct rib_head *rnh; in DB_SHOW_COMMAND() local
H A Droute_rtentry.c82 rt_alloc(struct rib_head *rnh, const struct sockaddr *dst, in rt_alloc()
H A Droute_var.h118 rib_bump_gen(struct rib_head *rnh) in rib_bump_gen()
H A Dfib_algo.c772 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-src/sys/net/
H A Dradix.h161 #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 Droute.c139 struct radix_head * const rnh = arg; rt_freeentry() local
510 struct rib_head *rnh; rt_updatemtu() local
H A Dradix.c1137 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 Drtsock.c746 struct rib_head *rnh; handle_rtm_get() local
2566 struct rib_head *rnh = NULL; /* silence compiler. */ sysctl_rtsock() local
[all...]
/freebsd-src/sys/kern/
H A Dvfs_export.c105 struct radix_node_head *rnh; vfs_hang_addrlist() local
233 struct radix_node_head *rnh = (struct radix_node_head *) w; vfs_free_netcred() local
259 struct radix_node_head *rnh; vfs_free_addrlist_af() local
618 struct radix_node_head *rnh; vfs_export_lookup() local
[all...]
/freebsd-src/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.c1174 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-src/sys/netinet6/
H A Din6_fib_algo.c89 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 Dnd6.c1628 nd6_subscription_cb(struct rib_head * rnh,struct rib_cmd_info * rc,void * arg) nd6_subscription_cb() argument
/freebsd-src/sys/netinet/
H A Din_fib_algo.c479 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 Din_fib_dxr.c1210 dxr_change_rib_item(struct rib_head *rnh, struct rib_cmd_info *rc, in dxr_change_rib_item()
1218 dxr_change_rib_batch(struct rib_head *rnh, struct fib_change_queue *q, in dxr_change_rib_batch()
/freebsd-src/sys/netpfil/ipfw/
H A Dip_fw_table_algo.c414 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; ta_destroy_addr_radix() local
553 struct radix_node_head *rnh; ta_find_addr_radix_tentry() local
583 struct radix_node_head *rnh; ta_foreach_addr_radix() local
718 struct radix_node_head *rnh; ta_add_addr_radix() local
819 struct radix_node_head *rnh; ta_del_addr_radix() local
4035 struct radix_node_head *rnh; ta_lookup_mac_radix() local
4073 struct radix_node_head *rnh; ta_destroy_mac_radix() local
4156 struct radix_node_head *rnh; ta_add_mac_radix() local
4238 struct radix_node_head *rnh; ta_del_mac_radix() local
4265 struct radix_node_head *rnh; ta_foreach_mac_radix() local
4302 struct radix_node_head *rnh; ta_find_mac_radix_tentry() local
[all...]
/freebsd-src/sys/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm.c214 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb()
H A Ddpdk_lpm6.c270 handle_rtable_change_cb(struct rib_head *rnh, struct rib_cmd_info *rc, in handle_rtable_change_cb()
/freebsd-src/sbin/routed/
H A Dradix.c844 struct radix_node_head *rnh; in rn_inithead() local
/freebsd-src/sys/netlink/route/
H A Drt.c613 struct rib_head *rnh; handle_rtm_getroute() local