Lines Matching refs:rt_flags
254 #define RT_HOST(r) (RT(r)->rt_flags & RTF_HOST)
264 return (INET_DEFAULT(dst) && !(rt->rt_flags & RTF_IFSCOPE));
358 if (!(rt->rt_flags & RTF_IFSCOPE) || rt_key(rt)->sa_family != AF_INET)
442 if (rt->rt_ifp != NULL && rt->rt_flags & RTF_UP)
499 nflags = rt->rt_flags & ~ignflags;
524 if ((rt = newrt) && (rt->rt_flags & RTF_XRESOLVE)) {
614 if (!(rt->rt_flags & RTF_UP)) {
872 if (rt->rt_flags & RTF_GATEWAY) {
873 if (((rt->rt_flags & RTF_HOST) == 0) && (flags & RTF_HOST)) {
890 rt->rt_flags |= RTF_MODIFIED;
1200 rt->rt_flags &= ~RTF_UP;
1206 if ((rt->rt_flags & (RTF_CLONING | RTF_PRCLONING)) &&
1266 flags = rt->rt_flags &
1318 rt->rt_flags = RTF_UP | flags;
1374 rt_mask(rt2), rt2->rt_flags, 0);
1409 if ((*ret_nrt)->rt_flags & (RTF_CLONING | RTF_PRCLONING)) {
1429 if (!(rt->rt_flags & RTF_HOST) && rt_mask(rt) != 0) {
1492 !(rt->rt_flags & (RTF_PINNED | RTF_CLONING | RTF_PRCLONING))) {
1495 rt->rt_flags, (struct rtentry **)0);
1526 (rt->rt_flags & (RTF_PINNED | RTF_CLONING | RTF_PRCLONING)))
1564 rt_mask(rt), rt->rt_flags, NULL));
1580 if (((rt->rt_flags & (RTF_HOST|RTF_GATEWAY|RTF_LLINFO)) ==
1589 rt->rt_gateway, rt_mask(rt), rt->rt_flags, NULL);
1597 if (rt->rt_flags & RTF_GATEWAY) {
1626 if (ifscope != IFSCOPE_NONE && (rt->rt_flags & RTF_IFSCOPE) &&
1630 return ((rt->rt_flags & RTF_HOST) ?
1700 if ((rt->rt_flags & RTF_GATEWAY) && rt->rt_gwroute != NULL &&
1701 (rt->rt_gwroute->rt_flags & RTF_IFSCOPE) &&
1713 if (!(rt->rt_flags & RTF_HOST) && rt_mask(rt) != 0) {
1882 } else if (!(rt->rt_flags & RTF_IFSCOPE)) {