Lines Matching defs:rtentry
160 struct pool rtentry_pool; /* pool for rtentry structures */
163 int rt_setgwroute(struct rtentry *, const struct sockaddr *, u_int);
164 void rt_putgwroute(struct rtentry *, struct rtentry *);
165 int rtflushclone1(struct rtentry *, void *, u_int);
166 int rtflushclone(struct rtentry *, unsigned int);
167 int rt_ifa_purge_walker(struct rtentry *, void *, unsigned int);
168 struct rtentry *rt_match(const struct sockaddr *, uint32_t *, int,
170 int rt_clone(struct rtentry **, const struct sockaddr *, unsigned int);
193 pool_init(&rtentry_pool, sizeof(struct rtentry), 0, IPL_MPFLOOR, 0,
194 "rtentry", NULL);
246 struct rtentry *
299 struct rtentry *
318 rtisvalid(struct rtentry *rt)
345 struct rtentry *
349 struct rtentry *rt = NULL;
365 rt_clone(struct rtentry **rtp, const struct sockaddr *dst,
369 struct rtentry *rt = *rtp;
413 rt_hash(struct rtentry *rt, const struct sockaddr *dst, uint32_t *src)
473 struct rtentry *
486 struct rtentry *
497 rt_setgwroute(struct rtentry *rt, const struct sockaddr *gate, u_int rtableid)
499 struct rtentry *prt, *nhrt;
548 * Next hop must be reachable, this also prevents rtentry
588 rt_putgwroute(struct rtentry *rt, struct rtentry *nhrt)
590 struct rtentry *onhrt;
614 rtref(struct rtentry *rt)
620 rtfree(struct rtentry *rt)
670 struct sockaddr *src, struct rtentry **rtp, unsigned int rdomain)
672 struct rtentry *rt;
783 rtdeletemsg(struct rtentry *rt, struct ifnet *ifp, u_int tableid)
815 rtequal(struct rtentry *a, struct rtentry *b)
828 rtflushclone1(struct rtentry *rt, void *arg, u_int id)
830 struct rtentry *cloningrt = arg;
856 rtflushclone(struct rtentry *parent, unsigned int rtableid)
858 struct rtentry *rt = NULL;
891 struct rtentry **ret_nrt, u_int tableid)
893 struct rtentry *rt;
953 struct rtentry **ret_nrt, u_int tableid)
956 struct rtentry *rt, *crt;
1127 rt_setgate(struct rtentry *rt, const struct sockaddr *gate, u_int rtableid)
1162 struct rtentry *
1163 rt_getll(struct rtentry *rt)
1247 struct rtentry *rt;
1299 struct rtentry *rt;
1349 * Add ifa's address as a local rtentry.
1355 struct rtentry *rt;
1396 * Remove local rtentry of ifa's address if it exists.
1402 struct rtentry *rt;
1454 struct rtentry *rt = NULL;
1486 rt_ifa_purge_walker(struct rtentry *rt, void *vifa, unsigned int rtableid)
1509 LIST_ENTRY(rttimer) rtt_link; /* [T] timers per rtentry */
1512 struct rtentry *rtt_rt; /* [T] back pointer to route */
1542 void (*func)(struct rtentry *, u_int))
1610 rt_timer_remove_all(struct rtentry *rt)
1631 rt_timer_get_expire(const struct rtentry *rt)
1647 rt_timer_add(struct rtentry *rt, struct rttimer_queue *queue, u_int rtableid)
1711 rt_mpls_set(struct rtentry *rt, const struct sockaddr *src, uint8_t op)
1738 rt_mpls_clear(struct rtentry *rt)
1878 struct rtentry *rt = NULL;
1913 rt_if_linkstate_change(struct rtentry *rt, void *arg, u_int id)
1999 rt_plen2mask(struct rtentry *rt, struct sockaddr_in6 *sa_mask)
2055 db_show_rtentry(struct rtentry *rt, void *w, unsigned int id)
2057 db_printf("rtentry=%p", rt);