Lines Matching refs:rtentry

131 #define RNTORT(p)	((struct rtentry *)(p))
139 struct rtentry **, u_int);
140 static void rt_setmetrics(const struct rt_addrinfo *, struct rtentry *);
141 static int rt_ifdelroute(const struct rtentry *rt, void *arg);
142 static struct rtentry *rt_unlinkrte(struct rib_head *rnh,
144 static void rt_notifydelete(struct rtentry *rt, struct rt_addrinfo *info);
147 struct rt_addrinfo *info, struct rtentry *rto, int *perror);
149 static int rt_exportinfo(struct rtentry *rt, struct rt_addrinfo *info,
233 struct rtentry *rt = mem; in rtentry_zinit()
247 struct rtentry *rt = mem; in rtentry_zfini()
256 struct rtentry *rt = mem; in rtentry_ctor()
258 bzero(rt, offsetof(struct rtentry, rt_endzero)); in rtentry_ctor()
268 struct rtentry *rt = mem; in rtentry_dtor()
284 V_rtzone = uma_zcreate("rtentry", sizeof(struct rtentry), in vnet_route_init()
410 struct rtentry *rt; in rtalloc_ign_fib()
429 struct rtentry *
436 struct rtentry *
443 struct rtentry *newrt; in rtalloc1_fib()
498 rtfree(struct rtentry *rt) in rtfree()
587 struct rtentry *rt; in rtredirect_fib()
756 struct rtentry *rt; in ifa_ifwithroute()
805 struct rtentry **ret_nrt, in rtrequest_fib()
836 rt_exportinfo(struct rtentry *rt, struct rt_addrinfo *info, int flags) in rt_exportinfo()
926 struct rtentry *rt; in rib_lookup_info()
1012 struct rtentry *head;
1024 struct rtentry *rt; in rt_checkdelroute()
1028 rt = (struct rtentry *)rn; in rt_checkdelroute()
1061 struct rtentry *rt; in rt_foreach_fib_walk_del()
1125 rt_ifdelroute(const struct rtentry *rt, void *arg) in rt_ifdelroute()
1172 static struct rtentry *
1176 struct rtentry *rt; in rt_unlinkrte()
1182 rt = (struct rtentry *)rnh->rnh_lookup(dst, netmask, &rnh->head); in rt_unlinkrte()
1239 rt_notifydelete(struct rtentry *rt, struct rt_addrinfo *info) in rt_notifydelete()
1321 struct rtentry *rt; in if_updatemtu_cb()
1324 rt = (struct rtentry *)rn; in if_updatemtu_cb()
1384 int rt_print(char *buf, int buflen, struct rtentry *rt);
1410 rt_print(char *buf, int buflen, struct rtentry *rt)
1443 struct rtentry *rto, int *perror) in rt_mpath_unlink()
1449 struct rtentry *rt; // *rto = NULL; in rt_mpath_unlink()
1511 rtrequest1_fib(int req, struct rt_addrinfo *info, struct rtentry **ret_nrt, in rtrequest1_fib()
1515 struct rtentry *rt, *rt_old; in rtrequest1_fib()
1733 struct rtentry **ret_nrt, u_int fibnum) in rtrequest1_fib_change()
1735 struct rtentry *rt = NULL; in rtrequest1_fib_change()
1743 rt = (struct rtentry *)rnh->rnh_lookup(info->rti_info[RTAX_DST], in rtrequest1_fib_change()
1855 rt_setmetrics(const struct rt_addrinfo *info, struct rtentry *rt) in rt_setmetrics()
1885 rt_setgate(struct rtentry *rt, struct sockaddr *dst, struct sockaddr *gate) in rt_setgate()
1954 struct rtentry *rt = NULL; in rtinit1()
2208 rt_routemsg(int cmd, struct ifnet *ifp, int error, struct rtentry *rt, in rt_routemsg()
2224 rt_newaddrmsg(int cmd, struct ifaddr *ifa, int error, struct rtentry *rt) in rt_newaddrmsg()
2235 rt_newaddrmsg_fib(int cmd, struct ifaddr *ifa, int error, struct rtentry *rt, in rt_newaddrmsg_fib()