880: continue;
881: ia = ifatoia(ifa);
882: if (in_hosteq(ip->ip_dst, ia->ia_broadaddr.sin_addr) ||
1667: ipaddr.sin_addr = ip->ip_dst;
1668: ia = ifatoia(ifa_ifwithaddr(sintosa(&ipaddr)));
1669: if (ia == 0) {
1694: if (opt == IPOPT_SSRR)
1695: ia = ifatoia(ifa_ifwithladdr(sintosa(&ipaddr)));
1696: else
1733: */
1734: if ((ia = ifatoia(ifa_ifwithaddr(sintosa(&ipaddr))))
1735: == NULL &&
1778: ipaddr.sin_addr = dst;
1779: ia = ifatoia(ifaof_ifpforaddr(sintosa(&ipaddr),
1780: m->m_pkthdr.rcvif));
1796: sizeof(struct in_addr));
1797: if (ifatoia(ifa_ifwithaddr(sintosa(&ipaddr)))
1798: == NULL)
1849:
1850: return ifatoia(rt->rt_ifa);
1851: }
2039: if (rt->rt_ifa &&
2040: (ip->ip_src.s_addr & ifatoia(rt->rt_ifa)->ia_subnetmask) ==
2041: ifatoia(rt->rt_ifa)->ia_subnet) {
2042: if (rt->rt_flags & RTF_GATEWAY)