Home
last modified time | relevance | path

Searched refs:rt6_info (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v4.19/include/net/
Dip6_route.h93 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
130 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
144 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev,
189 void rt6_uncached_list_add(struct rt6_info *rt);
190 void rt6_uncached_list_del(struct rt6_info *rt);
192 static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) in skb_rt6_info()
195 const struct rt6_info *rt6 = NULL; in skb_rt6_info()
198 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info()
212 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst); in ip6_dst_store()
225 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); in ipv6_unicast_destination()
[all …]
Dip6_fib.h40 struct rt6_info;
117 struct rt6_info *rt6i;
159 struct rt6_info * __percpu *rt6i_pcpu;
180 struct rt6_info { struct
208 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev() argument
254 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie()
271 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put()
276 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
369 typedef struct rt6_info *(*pol_lookup_t)(struct net *,
/Linux-v4.19/net/ipv6/
Droute.c112 static struct rt6_info *rt6_find_cached_rt(struct fib6_info *rt,
135 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
146 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
169 struct rt6_info *rt; in rt6_uncached_list_flush_dev()
220 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
228 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
301 static const struct rt6_info ip6_null_entry_template = {
315 static const struct rt6_info ip6_prohibit_entry_template = {
327 static const struct rt6_info ip6_blk_hole_entry_template = {
341 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
[all …]
Dip6_output.c114 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2()
487 struct rt6_info *rt; in ip6_forward()
494 rt = (struct rt6_info *) dst; in ip6_forward()
584 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment()
882 struct rt6_info *rt; in ip6_sk_dst_check()
892 rt = (struct rt6_info *)dst; in ip6_sk_dst_check()
929 struct rt6_info *rt; in ip6_dst_lookup_tail()
945 struct rt6_info *rt; in ip6_dst_lookup_tail()
950 rt = (*dst)->error ? NULL : (struct rt6_info *)*dst; in ip6_dst_lookup_tail()
991 rt = (struct rt6_info *) *dst; in ip6_dst_lookup_tail()
[all …]
Dxfrm6_policy.c83 struct rt6_info *rt = (struct rt6_info *)dst; in xfrm6_init_path()
95 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
Dfib6_rules.c116 struct rt6_info *rt; in fib6_rule_lookup()
201 struct rt6_info *rt = NULL; in __fib6_rule_action()
269 struct rt6_info *rt = (struct rt6_info *) arg->result; in fib6_rule_suppress()
Dicmp.c218 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow()
409 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_iif()
575 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send()
610 struct rt6_info *rt; in ip6_err_gen_icmpv6_unreach()
733 (struct rt6_info *)dst, MSG_DONTWAIT)) { in icmpv6_echo_reply()
Dping.c63 struct rt6_info *rt; in ping_v6_sendmsg()
127 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
Dip6_fib.c156 f6i->rt6i_pcpu = alloc_percpu_gfp(struct rt6_info *, gfp_flags); in fib6_info_alloc()
188 struct rt6_info **ppcpu_rt; in fib6_info_destroy_rcu()
189 struct rt6_info *pcpu_rt; in fib6_info_destroy_rcu()
350 struct rt6_info *rt; in fib6_rule_lookup()
884 struct rt6_info **ppcpu_rt; in fib6_drop_pcpu_from()
885 struct rt6_info *pcpu_rt; in fib6_drop_pcpu_from()
Draw.c630 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc()
938 len, 0, &ipc6, &fl6, (struct rt6_info *)dst, in rawv6_sendmsg()
Dudp.c749 const struct rt6_info *rt = (const struct rt6_info *)dst; in udp6_sk_rx_dst_set()
1386 &fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
1412 &ipc6, &fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
/Linux-v4.19/include/net/netns/
Dipv6.h66 struct rt6_info *ip6_null_entry;
80 struct rt6_info *ip6_prohibit_entry;
81 struct rt6_info *ip6_blk_hole_entry;
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_xmit.c160 static inline int __ip_vs_is_local_route6(struct rt6_info *rt) in __ip_vs_is_local_route6()
184 (struct rt6_info *)skb_dst(skb)); in crosses_local_route_boundary()
465 struct rt6_info *rt; /* Route to the other host */ in __ip_vs_get_out_rt_v6()
473 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
493 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
509 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
827 struct rt6_info *rt; /* Route to the other host */ in ip_vs_nat_xmit_v6()
850 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_nat_xmit_v6()
1105 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6()
1129 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_tunnel_xmit_v6()
[all …]
/Linux-v4.19/net/ipv6/ila/
Dila_lwt.c41 struct rt6_info *rt = (struct rt6_info *)orig_dst; in ila_output()
73 fl6.daddr = *rt6_nexthop((struct rt6_info *)orig_dst, in ila_output()
/Linux-v4.19/drivers/net/
Dvrf.c50 struct rt6_info __rcu *rt6;
367 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in vrf_finish_output6()
403 struct rt6_info *rt6; in vrf_ip6_out_redirect()
478 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release()
502 struct rt6_info *rt6; in vrf_rt6_create()
942 static struct rt6_info *vrf_ip6_route_lookup(struct net *net, in vrf_ip6_route_lookup()
967 struct rt6_info *rt6; in vrf_ip6_input_dst()
1087 struct rt6_info *rt; in vrf_link_scope_lookup()
/Linux-v4.19/net/mpls/
Dmpls_iptunnel.c51 struct rt6_info *rt6 = NULL; in mpls_xmit()
100 rt6 = (struct rt6_info *)dst; in mpls_xmit()
/Linux-v4.19/net/ipv6/netfilter/
Dnft_fib_ipv6.c64 struct rt6_info *rt; in __nft_fib6_eval_type()
159 struct rt6_info *rt; in nft_fib6_eval()
Dip6t_rpfilter.c38 struct rt6_info *rt; in rpfilter_lookup_reverse6()
/Linux-v4.19/drivers/infiniband/core/
Daddr.c336 struct rt6_info *rt6; in has_gateway()
343 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway()
410 struct rt6_info *rt; in addr6_resolve()
422 rt = (struct rt6_info *)dst; in addr6_resolve()
/Linux-v4.19/net/core/
Ddst_cache.c119 rt6_get_cookie((struct rt6_info *)dst)); in dst_cache_set_ip6()
/Linux-v4.19/net/netfilter/
Dnft_rt.c86 memcpy(dest, rt6_nexthop((struct rt6_info *)dst, in nft_rt_get_eval()
Dnf_flow_table_ip.c444 struct rt6_info *rt; in nf_flow_offload_ipv6_hook()
462 rt = (struct rt6_info *)flow->tuplehash[dir].tuple.dst_cache; in nf_flow_offload_ipv6_hook()
Dxt_addrtype.c41 struct rt6_info *rt; in match_lookup_rt6()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c403 struct rt6_info *rt6; in mlxsw_sp_span_gretap6_route()
416 rt6 = container_of(dst, struct rt6_info, dst); in mlxsw_sp_span_gretap6_route()
/Linux-v4.19/net/bluetooth/
D6lowpan.c172 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in peer_lookup_dst()

12