HomeSort by: relevance | last modified time | path
    Searched refs:rt_ifa (Results 1 - 14 of 14) sorted by relevancy

  /src/sys/net/
route.c 360 ifa = rt->rt_ifa;
379 rt->rt_ifa = ifa;
413 if (rt->rt_ifa == ifa)
416 if (rt->rt_ifa != ifa &&
417 rt->rt_ifa->ifa_flags & IFA_ROUTE &&
418 rt_ifa_connected(rt, rt->rt_ifa))
422 (void *)rt->_rt_key, (void *)rt->rt_ifa);
423 rt->rt_ifa->ifa_flags &= ~IFA_ROUTE;
433 old = rt->rt_ifa;
704 ifa = rt->rt_ifa;
    [all...]
route.h 117 struct ifaddr *rt_ifa; /* the answer: interface to use */ member in struct:rtentry
178 * ifa to rt_ifa (via rti_ifa) and not replace rt_ifa in ifa_rtrequest.
180 #define RTF_DONTCHANGEIFA 0x200000 /* suppress rt_ifa replacement */
if.c 2201 ifp = rt->rt_ifa->ifa_ifp;
2521 * Make sure to set rt->rt_ifa to the interface
2525 if (ifa != rt->rt_ifa)
  /src/sys/netinet6/
in6_src.c 794 if (rt->rt_ifa->ifa_ifp != *retifp &&
795 !if_is_deactivated(rt->rt_ifa->ifa_ifp)) {
797 *retifp = rt->rt_ifa->ifa_ifp;
frag6.c 194 dstifp = ((struct in6_ifaddr *)rt->rt_ifa)->ia_ifp;
ip6_input.c 463 struct in6_ifaddr *ia6 = (struct in6_ifaddr *)rt->rt_ifa;
nd6.c 1018 * Make sure rt_ifa be equal to the ifaddr
1021 * rt_ifa->ia6_flags in ip6_input, we assume
1022 * that the rt_ifa points to the address instead
1026 && ifa != rt->rt_ifa)
ip6_output.c 557 ia = (struct in6_ifaddr *)(rt->rt_ifa);
in6.c 215 * the routing table, rt_ifa, with a different ifaddr than
218 * pointers rt->rt_ifa->ifa_ifp to destroyed interfaces,
282 if (rt->rt_ifa == ifa)
331 * Replace rt_ifa of routes that have the removing address
353 /* Remove routes that have the removing address as rt_ifa. */
  /src/sys/netinet/
ip_input.c 1197 ia = ifatoia(rt->rt_ifa);
1422 if ((ip->ip_src.s_addr & ifatoia(rt->rt_ifa)->ia_subnetmask) ==
1423 ifatoia(rt->rt_ifa)->ia_subnet) {
if_arp.c 489 * make sure to set rt->rt_ifa to the interface
494 if (ifa != rt->rt_ifa)
1375 rt->rt_ifa != NULL &&
1376 rt->rt_ifa->ifa_addr->sa_family == AF_INET)
1377 sip = satosin(rt->rt_ifa->ifa_addr)->sin_addr;
in.c 1377 if (rt->rt_ifa == ifa)
1445 * Replace rt_ifa of routes that have the removing address
1467 /* Remove routes that have the removing address as rt_ifa. */
1878 if (ifa == rt->rt_ifa)
ip_output.c 393 * Taking a psref of ifa via rt_ifa is racy, so use it as is, which
394 * is safe because rt_ifa is not freed during rt is held.
396 ia = ifatoia(rt->rt_ifa);
sctp_output.c 1065 return (((struct sockaddr_in *)(rt->rt_ifa->ifa_addr))->sin_addr);

Completed in 35 milliseconds