Lines Matching defs:rt
207 ether_rtrequest(struct ifnet *ifp, int req, struct rtentry *rt)
209 if (rt == NULL)
212 switch (rt_key(rt)->sa_family) {
214 arp_rtrequest(ifp, req, rt);
218 nd6_rtrequest(ifp, req, rt);
228 struct rtentry *rt, struct ether_header *eh)
237 KASSERT(rt != NULL || ISSET(m->m_flags, M_MCAST|M_BCAST) ||
250 error = arpresolve(ifp, rt, m, dst, eh->ether_dhost);
273 error = nd6_resolve(ifp, rt, m, dst, eh->ether_dhost);
281 if (rt == NULL)
287 dst = ISSET(rt->rt_flags, RTF_GATEWAY) ?
288 rt->rt_gateway : rt_key(rt);
299 error = nd6_resolve(ifp, rt, m, dst, eh->ether_dhost);
305 error = arpresolve(ifp, rt, m, dst, eh->ether_dhost);
345 struct rtentry *rt, int *errorp)
350 error = ether_resolve(ifp, m, dst, rt, &eh);
375 struct rtentry *rt)
379 m = ether_encap(ifp, m, dst, rt, &error);