Lines Matching defs:rt
211 struct rtentry *rt;
219 rt = rtalloc1((struct sockaddr *)&tsin6, 0, 0UL);
220 if (rt && (rt->rt_flags & RTF_ANNOUNCE) != 0 &&
221 rt->rt_gateway->sa_family == AF_LINK) {
229 proxydl = SDL(rt->rt_gateway);
232 if (rt)
233 rtfree(rt);
560 struct rtentry *rt;
655 rt = nd6_lookup(&taddr6, 0, ifp, 0);
656 if ((rt == NULL) ||
657 ((ln = (struct llinfo_nd6 *)rt->rt_llinfo) == NULL) ||
658 ((sdl = SDL(rt->rt_gateway)) == NULL))
680 nd_ifinfo[rt->rt_ifp->if_index].reachable;
780 in6 = &((struct sockaddr_in6 *)rt_key(rt))->sin6_addr;
789 dr = defrouter_lookup(in6, rt->rt_ifp);
796 if (!ip6_forwarding && (ip6_accept_rtadv || (rt->rt_ifp->if_eflags & IFEF_ACCEPT_RTADVD))) {
804 rt6_flush(&ip6->ip6_src, rt->rt_ifp);
810 rt->rt_flags &= ~RTF_REJECT;
818 (struct sockaddr_in6 *)rt_key(rt), rt, 0);