Searched refs:NH_IS_VALID (Results 1 – 5 of 5) sorted by relevance
155 #define NH_IS_VALID(_nh) RT_LINK_IS_UP((_nh)->nh_ifp) macro
407 ((!NH_IS_VALID(ro->ro_nh)) || dst->sin_family != AF_INET || in ip_output() 475 if (ro->ro_nh == NULL || (!NH_IS_VALID(ro->ro_nh))) { in ip_output()
623 !NH_IS_VALID(ro->ro_nh) || ro->ro_dst.sin6_family != AF_INET6 || in cache_route()
2397 if (!m0 || !nh || !(NH_IS_VALID(nh)) || !(ifp = nh->nh_ifp)) in icmp6_redirect_output()
669 (!NH_IS_VALID(ro->ro_nh) || in ip6_output()