Lines Matching refs:ip6forward_rt
90 ip6_forward(struct mbuf *m, struct route_in6 *ip6forward_rt,
305 dst = (struct sockaddr_in6 *)&ip6forward_rt->ro_dst;
308 * ip6forward_rt->ro_dst.sin6_addr is equal to ip6->ip6_dst
310 if (ip6forward_rt->ro_rt == 0 ||
311 (ip6forward_rt->ro_rt->rt_flags & RTF_UP) == 0) {
312 if (ip6forward_rt->ro_rt) {
313 rtfree(ip6forward_rt->ro_rt);
314 ip6forward_rt->ro_rt = 0;
317 rtalloc_ign((struct route *)ip6forward_rt,
321 if (ip6forward_rt->ro_rt == 0) {
335 } else if ((rt = ip6forward_rt->ro_rt) == 0 ||
337 if (ip6forward_rt->ro_rt) {
338 rtfree(ip6forward_rt->ro_rt);
339 ip6forward_rt->ro_rt = 0;
346 rtalloc_ign((struct route *)ip6forward_rt, RTF_PRCLONING);
347 if (ip6forward_rt->ro_rt == 0) {
362 rt = ip6forward_rt->ro_rt;