Lines Matching refs:rtentry
62 V_rtzone = uma_zcreate("rtentry", sizeof(struct rtentry), in vnet_rtzone_init()
81 struct rtentry *
85 MPASS(dst->sa_len <= sizeof(((struct rtentry *)NULL)->rt_dstb)); in rt_alloc()
87 struct rtentry *rt = uma_zalloc(V_rtzone, M_NOWAIT | M_ZERO); in rt_alloc()
105 destroy_rtentry(struct rtentry *rt) in destroy_rtentry()
140 struct rtentry *rt; in destroy_rtentry_epoch()
142 rt = __containerof(ctx, struct rtentry, rt_epoch_ctx); in destroy_rtentry_epoch()
151 rt_free(struct rtentry *rt) in rt_free()
160 rt_free_immediate(struct rtentry *rt) in rt_free_immediate()
166 rt_is_host(const struct rtentry *rt) in rt_is_host()
173 rt_get_family(const struct rtentry *rt) in rt_get_family()
187 rt_get_raw_nhop(const struct rtentry *rt) in rt_get_raw_nhop()
194 rt_get_rnd(const struct rtentry *rt, struct route_nhop_data *rnd) in rt_get_rnd()
206 rt_is_exportable(const struct rtentry *rt, struct ucred *cred) in rt_is_exportable()
230 rt_get_inet_prefix_plen(const struct rtentry *rt, struct in_addr *paddr, in rt_get_inet_prefix_plen()
253 rt_get_inet_prefix_pmask(const struct rtentry *rt, struct in_addr *paddr, in rt_get_inet_prefix_pmask()
286 rt_get_inet6_prefix_plen(const struct rtentry *rt, struct in6_addr *paddr, in rt_get_inet6_prefix_plen()
311 rt_get_inet6_prefix_pmask(const struct rtentry *rt, struct in6_addr *paddr, in rt_get_inet6_prefix_pmask()