Home
last modified time | relevance | path

Searched refs:rt6i_flags (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/net/ipv6/
Droute.c186 .rt6i_flags = (RTF_REJECT | RTF_NONEXTHOP),
206 .rt6i_flags = (RTF_REJECT | RTF_NONEXTHOP),
221 .rt6i_flags = (RTF_REJECT | RTF_NONEXTHOP),
289 return (rt->rt6i_flags & RTF_EXPIRES) && in rt6_check_expired()
403 if (rt->rt6i_flags & RTF_NONEXTHOP || in rt6_check_neigh()
404 !(rt->rt6i_flags & RTF_GATEWAY)) in rt6_check_neigh()
431 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(rt->rt6i_flags)) << 2; in rt6_score_route()
573 rt->rt6i_flags = RTF_ROUTEINFO | in rt6_route_rcv()
574 (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in rt6_route_rcv()
578 rt->rt6i_flags &= ~RTF_EXPIRES; in rt6_route_rcv()
[all …]
Dip6_fib.c636 if (!(iter->rt6i_flags&RTF_EXPIRES)) in fib6_add_rt2node()
639 if (!(rt->rt6i_flags&RTF_EXPIRES)) { in fib6_add_rt2node()
640 iter->rt6i_flags &= ~RTF_EXPIRES; in fib6_add_rt2node()
679 (rt->rt6i_flags & (RTF_EXPIRES|RTF_CACHE))) in fib6_start_gc()
776 if (!(rt->rt6i_flags&RTF_CACHE)) in fib6_add()
1181 if (!(rt->rt6i_flags&RTF_CACHE)) { in fib6_del()
1408 if (rt->rt6i_flags & RTF_CACHE) { in fib6_prune_clone()
1444 if (rt->rt6i_flags&RTF_EXPIRES && rt->rt6i_expires) { in fib6_age()
1450 } else if (rt->rt6i_flags & RTF_CACHE) { in fib6_age()
1455 } else if ((rt->rt6i_flags & RTF_GATEWAY) && in fib6_age()
Dxfrm6_policy.c108 xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST | in xfrm6_fill_dst()
Dndisc.c1255 rt->rt6i_flags = (rt->rt6i_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
1553 if (rt->rt6i_flags & RTF_GATEWAY) { in ndisc_send_redirect()
Daddrconf.c250 return (rt->rt6i_flags & (RTF_GATEWAY | RTF_DEFAULT)) == 0; in addrconf_is_prefix_route()
820 } else if (!(rt->rt6i_flags & RTF_EXPIRES)) { in ipv6_del_addr()
822 rt->rt6i_flags |= RTF_EXPIRES; in ipv6_del_addr()
1855 rt->rt6i_flags |= RTF_EXPIRES; in addrconf_prefix_rcv()
1857 rt->rt6i_flags &= ~RTF_EXPIRES; in addrconf_prefix_rcv()
Dicmp.c318 if (((struct rt6_info *)dst)->rt6i_flags & RTF_ANYCAST) { in icmpv6_route_lookup()
Dip6_output.c474 if ((rt->rt6i_flags & RTF_GATEWAY)) in ip6_forward()
/linux-2.6.39/net/netfilter/
Dxt_addrtype.c63 if (rt->rt6i_flags & RTF_REJECT) in match_lookup_rt6()
68 if (rt->rt6i_flags & RTF_LOCAL) in match_lookup_rt6()
70 if (rt->rt6i_flags & RTF_ANYCAST) in match_lookup_rt6()
/linux-2.6.39/include/net/
Dip6_fib.h108 u32 rt6i_flags; member
Dip6_route.h175 return rt->rt6i_flags & RTF_LOCAL; in ipv6_unicast_destination()
/linux-2.6.39/net/ipv4/
Dip_gre.c814 rt6->rt6i_flags |= RTF_MODIFIED; in ipgre_tunnel_xmit()