Lines Matching refs:rt6i_flags

285 			if ((sprt->rt6i_flags & RTF_DEFAULT) &&  in rt6_best_dflt()
358 if (!(rt->rt6i_flags&RTF_GATEWAY)) in rt6_cow()
362 rt->rt6i_flags |= RTF_CACHE; in rt6_cow()
451 if ((rt->rt6i_flags & RTF_CACHE)) { in ip6_route_input()
460 if ((rt->rt6i_flags & RTF_FLOW)) { in ip6_route_input()
478 if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP)) { in ip6_route_input()
527 if ((rt->rt6i_flags & RTF_CACHE)) { in ip6_route_output()
536 if ((rt->rt6i_flags & RTF_FLOW)) { in ip6_route_output()
549 if (rt->rt6i_flags & RTF_DEFAULT) { in ip6_route_output()
558 if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP)) { in ip6_route_output()
622 if (rt->rt6i_flags & RTF_CACHE) in ip6_negative_advice()
638 if (rt->rt6i_flags&RTF_CACHE) { in ip6_link_failure()
640 rt->rt6i_flags |= RTF_EXPIRES; in ip6_link_failure()
641 } else if (rt->rt6i_node && (rt->rt6i_flags & RTF_DEFAULT)) in ip6_link_failure()
788 rt->rt6i_flags = RTF_REJECT|RTF_NONEXTHOP; in ip6_route_add()
828 if (!(grt->rt6i_flags&RTF_GATEWAY)) in ip6_route_add()
857 rt->rt6i_flags = rtmsg->rtmsg_flags; in ip6_route_add()
965 if (!(rt->rt6i_flags&RTF_GATEWAY)) in rt6_redirect()
977 if (rt->rt6i_flags & RTF_DEFAULT) { in rt6_redirect()
1008 nrt->rt6i_flags = RTF_GATEWAY|RTF_UP|RTF_DYNAMIC|RTF_CACHE; in rt6_redirect()
1010 nrt->rt6i_flags &= ~RTF_GATEWAY; in rt6_redirect()
1028 if (rt->rt6i_flags&RTF_CACHE) { in rt6_redirect()
1078 if (rt->rt6i_flags & RTF_CACHE) { in rt6_pmtu_discovery()
1081 rt->rt6i_flags |= RTF_MODIFIED|RTF_EXPIRES; in rt6_pmtu_discovery()
1090 if (!rt->rt6i_nexthop && !(rt->rt6i_flags & RTF_NONEXTHOP)) { in rt6_pmtu_discovery()
1101 nrt->rt6i_flags |= RTF_DYNAMIC|RTF_EXPIRES; in rt6_pmtu_discovery()
1113 nrt->rt6i_flags |= RTF_DYNAMIC|RTF_CACHE|RTF_EXPIRES; in rt6_pmtu_discovery()
1145 rt->rt6i_flags = ort->rt6i_flags & ~RTF_EXPIRES; in ip6_rt_copy()
1205 if (rt->rt6i_flags & flags) { in rt6_purge_dflt_routers()
1291 rt->rt6i_flags = RTF_UP | RTF_NONEXTHOP; in ip6_rt_addr_add()
1431 nrt->rt6i_flags |= RTF_CACHE; in rt6_flow_lookup()
1589 if (!(rt->rt6i_flags & RTF_PREFIX_RT)) { in rt6_fill_node()
1602 if (rt->rt6i_flags&RTF_REJECT) in rt6_fill_node()
1611 if (rt->rt6i_flags&RTF_DYNAMIC) in rt6_fill_node()
1613 else if (rt->rt6i_flags&(RTF_ADDRCONF|RTF_ALLONLINK)) in rt6_fill_node()
1615 else if (rt->rt6i_flags&RTF_DEFAULT) in rt6_fill_node()
1618 if (rt->rt6i_flags&RTF_CACHE) in rt6_fill_node()
1941 rt->u.dst.__use, rt->rt6i_flags, in rt6_info_route()