Lines Matching refs:rtentry
168 static void rt_timer_remove_all(struct rtentry *);
263 SLIST_HEAD(, rtentry) queue;
276 static int rtdeletemsg(struct rtentry *);
283 static void rt_ref(struct rtentry *);
285 static struct rtentry *
293 static void rtcache_ref(struct rtentry *, struct route *);
300 static void rt_wait_refcnt(const char *, struct rtentry *, int);
301 static void rt_wait_psref(struct rtentry *);
306 static int db_show_rtentry(struct rtentry *, void *);
330 rt_destroy(struct rtentry *rt) in rt_destroy()
342 rt_setkey(struct rtentry *rt, const struct sockaddr *key, int flags) in rt_setkey()
356 rt_get_ifa(struct rtentry *rt) in rt_get_ifa()
377 rt_set_ifa1(struct rtentry *rt, struct ifaddr *ifa) in rt_set_ifa1()
388 rt_ifa_connected(const struct rtentry *rt, const struct ifaddr *ifa) in rt_ifa_connected()
409 rt_replace_ifa(struct rtentry *rt, struct ifaddr *ifa) in rt_replace_ifa()
439 rt_set_ifa(struct rtentry *rt, struct ifaddr *ifa) in rt_set_ifa()
489 pool_init(&rtentry_pool, sizeof(struct rtentry), 0, 0, 0, "rtentpl", in rt_init()
515 dump_rt(const struct rtentry *rt) in dump_rt()
547 struct rtentry *
552 struct rtentry *rt; in rtalloc1_locked()
608 struct rtentry *
611 struct rtentry *rt; in rtalloc1()
621 rt_ref(struct rtentry *rt) in rt_ref()
629 rt_unref(struct rtentry *rt) in rt_unref()
661 rt_wait_refcnt(const char *title, struct rtentry *rt, int cnt) in rt_wait_refcnt()
675 rt_wait_psref(struct rtentry *rt) in rt_wait_psref()
683 _rt_free(struct rtentry *rt) in _rt_free()
718 struct rtentry *rt; in rt_free_work()
734 rt_free(struct rtentry *rt) in rt_free()
770 rt_update_prepare(struct rtentry *rt) in rt_update_prepare()
804 rt_update_finish(struct rtentry *rt) in rt_update_finish()
831 struct rtentry **rtp) in rtredirect()
833 struct rtentry *rt; in rtredirect()
959 rtdeletemsg(struct rtentry *rt) in rtdeletemsg()
963 struct rtentry *retrt; in rtdeletemsg()
1012 struct rtentry *rt; in ifa_ifwithroute_psref()
1059 const struct sockaddr *netmask, int flags, struct rtentry **ret_nrt) in rtrequest()
1141 rtrequest1(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt) in rtrequest1()
1145 struct rtentry *rt; in rtrequest1()
1323 rt_setgate(struct rtentry *rt, const struct sockaddr *gate) in rt_setgate()
1344 struct rtentry *gwrt; in rt_setgate()
1371 rt_update_get_ifa(const struct rt_addrinfo *info, const struct rtentry *rt, in rt_update_get_ifa()
1432 rt_update(struct rtentry *rt, struct rt_addrinfo *info, void *rtm) in rt_update()
1550 rt_newmsg(const int cmd, const struct rtentry *rt) in rt_newmsg()
1570 rt_newmsg_dynamic(const int cmd, const struct rtentry *rt) in rt_newmsg_dynamic()
1618 struct rtentry *rt; in rtinit()
1621 struct rtentry *nrt = NULL; in rtinit()
1691 struct rtentry *rt; in rt_ifa_addlocal()
1704 struct rtentry *nrt; in rt_ifa_addlocal()
1739 struct rtentry *rt; in rt_ifa_remlocal()
1908 rt_timer_remove_all(struct rtentry *rt) in rt_timer_remove_all()
1926 rt_timer_add(struct rtentry *rt, in rt_timer_add()
1927 void (*func)(struct rtentry *, struct rttimer *), in rt_timer_add() argument
2013 static struct rtentry *
2016 struct rtentry *rt; in _rtcache_init()
2039 struct rtentry *
2046 struct rtentry *
2053 struct rtentry *
2064 struct rtentry *rt; in rtcache_copy()
2091 rtcache_trace(const char *func, struct rtentry *rt, struct route *ro) in rtcache_trace()
2105 rtcache_ref(struct rtentry *rt, struct route *ro) in rtcache_ref()
2120 rtcache_unref(struct rtentry *rt, struct route *ro) in rtcache_unref()
2133 struct rtentry *
2136 struct rtentry *rt = NULL; in rtcache_validate()
2176 struct rtentry *
2181 struct rtentry *rt = NULL; in rtcache_lookup2()
2274 rt_settag(struct rtentry *rt, const struct sockaddr *tag) in rt_settag()
2285 rt_gettag(const struct rtentry *rt) in rt_gettag()
2291 rt_check_reject_route(const struct rtentry *rt, const struct ifnet *ifp) in rt_check_reject_route()
2309 rt_delete_matched_entries(sa_family_t family, int (*f)(struct rtentry *, void *), in rt_delete_matched_entries() argument
2316 struct rtentry *rt, *retrt = NULL; in rt_delete_matched_entries()
2355 rt_walktree_locked(sa_family_t family, int (*f)(struct rtentry *, void *), in rt_walktree_locked() argument
2364 int (*f)(struct rtentry *, void *), void *v, struct ifaddr *ifa) in rt_replace_ifa_matched_entries() argument
2372 struct rtentry *rt; in rt_replace_ifa_matched_entries()
2410 rt_walktree(sa_family_t family, int (*f)(struct rtentry *, void *), void *v) in rt_walktree() argument
2473 db_show_rtentry(struct rtentry *rt, void *w) in db_show_rtentry()