Lines Matching refs:rt_gwroute
1217 if (rt->rt_gwroute) {
1218 rt = rt->rt_gwroute;
1220 (rt = (struct rtentry *)rn)->rt_gwroute = 0;
1322 * also add the rt_gwroute if possible.
1390 if (rt->rt_gwroute)
1391 rtfree_locked(rt->rt_gwroute);
1595 * to the next-hop gateway and store it in rt_gwroute.
1634 if (rt->rt_gwroute != NULL)
1635 rtfree_locked(rt->rt_gwroute);
1636 rt->rt_gwroute = gwrt;
1675 if (rt->rt_gwroute != NULL)
1676 rtfree_locked(rt->rt_gwroute);
1677 rt->rt_gwroute = NULL;
1700 if ((rt->rt_flags & RTF_GATEWAY) && rt->rt_gwroute != NULL &&
1701 (rt->rt_gwroute->rt_flags & RTF_IFSCOPE) &&
1703 rt_key(rt->rt_gwroute)->sa_family == AF_INET) {
1705 sa_get_ifscope(rt_key(rt->rt_gwroute)));