Lines Matching defs:rtentry
66 struct rtentry *_ro_rt;
109 struct rtentry {
121 struct rtentry *rt_gwroute; /* implied entry for gatewayed routes */
123 struct rtentry *rt_parent; /* parent of cloned route */
129 SLIST_ENTRY(rtentry) rt_free; /* queue of deferred frees */
134 rt_getkey(const struct rtentry *rt)
230 int rtm_use; /* from rtentry */
357 LIST_ENTRY(rttimer) rtt_link; /* multiple timers per rtentry */
359 struct rtentry *rtt_rt; /* Back pointer to the route */
360 void (*rtt_func)(struct rtentry *, struct rttimer *);
399 int (*rw_f)(struct rtentry *, void *);
422 int rt_timer_add(struct rtentry *,
423 void(*)(struct rtentry *, struct rttimer *),
432 void rt_free(struct rtentry *);
433 void rt_unref(struct rtentry *);
435 int rt_update(struct rtentry *, struct rt_addrinfo *, void *);
436 int rt_update_prepare(struct rtentry *);
437 void rt_update_finish(struct rtentry *);
439 void rt_newmsg(const int, const struct rtentry *);
440 void rt_newmsg_dynamic(const int, const struct rtentry *);
441 struct rtentry *
446 struct rtentry **);
449 struct rtentry **);
450 int rtrequest1(int, struct rt_addrinfo *, struct rtentry **);
455 rt_get_ifa(struct rtentry *);
456 void rt_replace_ifa(struct rtentry *, struct ifaddr *);
457 int rt_setgate(struct rtentry *, const struct sockaddr *);
460 rt_settag(struct rtentry *, const struct sockaddr *);
462 rt_gettag(const struct rtentry *);
464 int rt_check_reject_route(const struct rtentry *, const struct ifnet *);
466 int (*)(struct rtentry *, void *), void *, bool);
468 int (*)(struct rtentry *, void *), void *, struct ifaddr *);
469 int rt_walktree(sa_family_t, int (*)(struct rtentry *, void *), void *);
472 rt_assert_referenced(const struct rtentry *rt)
480 struct rtentry *
482 struct rtentry *
484 struct rtentry *
488 struct rtentry *
498 static __inline struct rtentry *
506 static __inline struct rtentry *
520 struct rtentry *
523 void rtcache_unref(struct rtentry *, struct route *);
553 void rt_addrmsg_rt(int, struct ifaddr *, int, struct rtentry *);
560 void rt_setmetrics(void *, struct rtentry *);
563 int rt_addaddr(rtbl_t *, struct rtentry *, const struct sockaddr *);
564 void rt_assert_inactive(const struct rtentry *);
565 struct rtentry *
570 struct rtentry *
573 struct rtentry *
576 int rtbl_walktree(sa_family_t, int (*)(struct rtentry *, void *), void *);
577 struct rtentry *
579 int (*)(struct rtentry *, void *), void *);