rt6               351 drivers/infiniband/core/addr.c 	struct rt6_info *rt6;
rt6               358 drivers/infiniband/core/addr.c 	rt6 = container_of(dst, struct rt6_info, dst);
rt6               359 drivers/infiniband/core/addr.c 	return rt6->rt6i_flags & RTF_GATEWAY;
rt6               407 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	struct rt6_info *rt6;
rt6               420 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	rt6 = container_of(dst, struct rt6_info, dst);
rt6               424 drivers/net/ethernet/mellanox/mlxsw/spectrum_span.c 	*daddrp = rt6->rt6i_gateway;
rt6                46 drivers/net/vrf.c 	struct rt6_info	__rcu	*rt6;
rt6               411 drivers/net/vrf.c 	struct rt6_info *rt6;
rt6               415 drivers/net/vrf.c 	rt6 = rcu_dereference(vrf->rt6);
rt6               416 drivers/net/vrf.c 	if (likely(rt6)) {
rt6               417 drivers/net/vrf.c 		dst = &rt6->dst;
rt6               487 drivers/net/vrf.c 	struct rt6_info *rt6 = rtnl_dereference(vrf->rt6);
rt6               491 drivers/net/vrf.c 	RCU_INIT_POINTER(vrf->rt6, NULL);
rt6               497 drivers/net/vrf.c 	if (rt6) {
rt6               498 drivers/net/vrf.c 		dst = &rt6->dst;
rt6               511 drivers/net/vrf.c 	struct rt6_info *rt6;
rt6               523 drivers/net/vrf.c 	rt6 = ip6_dst_alloc(net, dev, flags);
rt6               524 drivers/net/vrf.c 	if (!rt6)
rt6               527 drivers/net/vrf.c 	rt6->dst.output	= vrf_output6;
rt6               529 drivers/net/vrf.c 	rcu_assign_pointer(vrf->rt6, rt6);
rt6               976 drivers/net/vrf.c 	struct rt6_info *rt6;
rt6               978 drivers/net/vrf.c 	rt6 = vrf_ip6_route_lookup(net, vrf_dev, &fl6, ifindex, skb,
rt6               980 drivers/net/vrf.c 	if (unlikely(!rt6))
rt6               983 drivers/net/vrf.c 	if (unlikely(&rt6->dst == &net->ipv6.ip6_null_entry->dst))
rt6               986 drivers/net/vrf.c 	skb_dst_set(skb, &rt6->dst);
rt6               200 include/net/ip6_fib.h 	struct rt6_info		*rt6;
rt6               215 include/net/ip6_route.h 	const struct rt6_info *rt6 = NULL;
rt6               218 include/net/ip6_route.h 		rt6 = container_of(dst, struct rt6_info, dst);
rt6               220 include/net/ip6_route.h 	return rt6;
rt6               930 include/net/xfrm.h 		struct rt6_info		rt6;
rt6               517 net/ipv4/ip_tunnel.c 		struct rt6_info *rt6;
rt6               520 net/ipv4/ip_tunnel.c 		rt6 = skb_valid_dst(skb) ? (struct rt6_info *)skb_dst(skb) :
rt6               524 net/ipv4/ip_tunnel.c 		if (rt6 && mtu < dst_mtu(skb_dst(skb)) &&
rt6               527 net/ipv4/ip_tunnel.c 			    rt6->rt6i_dst.plen == 128) {
rt6               528 net/ipv4/ip_tunnel.c 				rt6->rt6i_flags |= RTF_MODIFIED;
rt6               108 net/ipv6/fib6_rules.c 		if (res.rt6)
rt6               109 net/ipv6/fib6_rules.c 			return &res.rt6->dst;
rt6               250 net/ipv6/fib6_rules.c 	res->rt6 = rt;
rt6               266 net/ipv6/fib6_rules.c 	struct rt6_info *rt = res->rt6;
rt6               406 net/ipv6/icmp.c 		const struct rt6_info *rt6 = skb_rt6_info(skb);
rt6               408 net/ipv6/icmp.c 		if (rt6)
rt6               409 net/ipv6/icmp.c 			dev = rt6->rt6i_idev->dev;
rt6              1398 net/ipv6/route.c static bool rt6_is_valid(const struct rt6_info *rt6)
rt6              1400 net/ipv6/route.c 	return rt6->sernum == rt_genid_ipv6(dev_net(rt6->dst.dev));
rt6              1535 net/ipv6/route.c 		struct rt6_info *rt6 = rt6_ex->rt6i;
rt6              1536 net/ipv6/route.c 		bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr);
rt6              1540 net/ipv6/route.c 			matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr);
rt6              1570 net/ipv6/route.c 		struct rt6_info *rt6 = rt6_ex->rt6i;
rt6              1571 net/ipv6/route.c 		bool matched = ipv6_addr_equal(daddr, &rt6->rt6i_dst.addr);
rt6              1575 net/ipv6/route.c 			matched = ipv6_addr_equal(saddr, &rt6->rt6i_src.addr);
rt6              2522 net/ipv6/route.c         struct rt6_info *rt6;
rt6              2526 net/ipv6/route.c         rt6 = (struct rt6_info *)dst;
rt6              2528 net/ipv6/route.c         if (list_empty(&rt6->rt6i_uncached) && !dst_hold_safe(dst)) {
rt6              2729 net/ipv6/route.c 	struct rt6_info *rt6 = (struct rt6_info *)dst;
rt6              2754 net/ipv6/route.c 	if (!rt6_cache_allowed_for_pmtu(rt6)) {
rt6              2755 net/ipv6/route.c 		rt6_do_update_pmtu(rt6, mtu);
rt6              2757 net/ipv6/route.c 		if (rt6->rt6i_flags & RTF_CACHE)
rt6              2758 net/ipv6/route.c 			rt6_update_exception_stamp_rt(rt6);
rt6              2764 net/ipv6/route.c 		res.f6i = rcu_dereference(rt6->from);
rt6              2774 net/ipv6/route.c 				.gw = &rt6->rt6i_gateway,
rt6              5402 net/ipv6/route.c 	struct rt6_info *rt6 = (struct rt6_info *)dst;
rt6              5414 net/ipv6/route.c 	if (rt6) {
rt6              5415 net/ipv6/route.c 		rt6_dst = &rt6->rt6i_dst;
rt6              5416 net/ipv6/route.c 		rt6_src = &rt6->rt6i_src;
rt6              5417 net/ipv6/route.c 		rt6_flags = rt6->rt6i_flags;
rt6              5498 net/ipv6/route.c 	if (rt6) {
rt6              5500 net/ipv6/route.c 		    nla_put_in6_addr(skb, RTA_GATEWAY, &rt6->rt6i_gateway))
rt6                79 net/ipv6/xfrm6_policy.c 	xdst->u.rt6.rt6i_idev = in6_dev_get(dev);
rt6                80 net/ipv6/xfrm6_policy.c 	if (!xdst->u.rt6.rt6i_idev) {
rt6                87 net/ipv6/xfrm6_policy.c 	xdst->u.rt6.rt6i_flags = rt->rt6i_flags & (RTF_ANYCAST |
rt6                90 net/ipv6/xfrm6_policy.c 	xdst->u.rt6.rt6i_gateway = rt->rt6i_gateway;
rt6                91 net/ipv6/xfrm6_policy.c 	xdst->u.rt6.rt6i_dst = rt->rt6i_dst;
rt6                92 net/ipv6/xfrm6_policy.c 	xdst->u.rt6.rt6i_src = rt->rt6i_src;
rt6                93 net/ipv6/xfrm6_policy.c 	INIT_LIST_HEAD(&xdst->u.rt6.rt6i_uncached);
rt6                94 net/ipv6/xfrm6_policy.c 	rt6_uncached_list_add(&xdst->u.rt6);
rt6               123 net/ipv6/xfrm6_policy.c 	if (likely(xdst->u.rt6.rt6i_idev))
rt6               124 net/ipv6/xfrm6_policy.c 		in6_dev_put(xdst->u.rt6.rt6i_idev);
rt6               126 net/ipv6/xfrm6_policy.c 	if (xdst->u.rt6.rt6i_uncached_list)
rt6               127 net/ipv6/xfrm6_policy.c 		rt6_uncached_list_del(&xdst->u.rt6);
rt6               140 net/ipv6/xfrm6_policy.c 	if (xdst->u.rt6.rt6i_idev->dev == dev) {
rt6               145 net/ipv6/xfrm6_policy.c 			in6_dev_put(xdst->u.rt6.rt6i_idev);
rt6               146 net/ipv6/xfrm6_policy.c 			xdst->u.rt6.rt6i_idev = loopback_idev;
rt6                46 net/mpls/mpls_iptunnel.c 	struct rt6_info *rt6 = NULL;
rt6                95 net/mpls/mpls_iptunnel.c 		rt6 = (struct rt6_info *)dst;
rt6               142 net/mpls/mpls_iptunnel.c 	} else if (rt6) {
rt6               143 net/mpls/mpls_iptunnel.c 		if (ipv6_addr_v4mapped(&rt6->rt6i_gateway)) {
rt6               145 net/mpls/mpls_iptunnel.c 			err = neigh_xmit(NEIGH_ARP_TABLE, out_dev, &rt6->rt6i_gateway.s6_addr32[3],
rt6               148 net/mpls/mpls_iptunnel.c 			err = neigh_xmit(NEIGH_ND_TABLE, out_dev, &rt6->rt6i_gateway,
rt6              2503 net/xfrm/xfrm_policy.c 		path->u.rt6.rt6i_nfheader_len = nfheader_len;