Home
last modified time | relevance | path

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

123

/Linux-v5.4/include/net/
Dip6_route.h104 static inline void ip6_rt_put_flags(struct rt6_info *rt, int flags) in ip6_rt_put_flags()
113 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
150 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
164 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev,
209 void rt6_uncached_list_add(struct rt6_info *rt);
210 void rt6_uncached_list_del(struct rt6_info *rt);
212 static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) in skb_rt6_info()
215 const struct rt6_info *rt6 = NULL; in skb_rt6_info()
218 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info()
232 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst); in ip6_dst_store()
[all …]
Dip6_fib.h37 struct rt6_info;
116 struct rt6_info *rt6i;
132 struct rt6_info * __percpu *rt6i_pcpu;
177 struct rt6_info { struct
199 struct rt6_info *rt6; argument
212 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev()
258 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie()
274 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put()
279 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
373 typedef struct rt6_info *(*pol_lookup_t)(struct net *,
[all …]
Dipv6.h993 struct rt6_info *rt, unsigned int flags);
1009 struct rt6_info *rt, unsigned int flags,
/Linux-v5.4/net/ipv6/
Droute.c109 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
132 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
143 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
166 struct rt6_info *rt; in rt6_uncached_list_flush_dev()
219 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.c110 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2()
505 struct rt6_info *rt; in ip6_forward()
512 rt = (struct rt6_info *) dst; in ip6_forward()
766 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment()
958 struct rt6_info *rt; in ip6_sk_dst_check()
968 rt = (struct rt6_info *)dst; in ip6_sk_dst_check()
1005 struct rt6_info *rt; in ip6_dst_lookup_tail()
1021 struct rt6_info *rt; in ip6_dst_lookup_tail()
1026 rt = (*dst)->error ? NULL : (struct rt6_info *)*dst; in ip6_dst_lookup_tail()
1067 rt = (struct rt6_info *) *dst; in ip6_dst_lookup_tail()
[all …]
Dicmp.c215 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow()
406 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_dev()
581 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send()
616 struct rt6_info *rt; in ip6_err_gen_icmpv6_unreach()
755 (struct rt6_info *)dst, MSG_DONTWAIT)) { in icmpv6_echo_reply()
Dping.c58 struct rt6_info *rt; in ping_v6_sendmsg()
122 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
Dxfrm6_policy.c74 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
Dfib6_rules.c111 struct rt6_info *rt; in fib6_rule_lookup()
196 struct rt6_info *rt = NULL; in __fib6_rule_action()
266 struct rt6_info *rt = res->rt6; in fib6_rule_suppress()
Draw.c627 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc()
950 len, 0, &ipc6, &fl6, (struct rt6_info *)dst, in rawv6_sendmsg()
Dudp.c815 const struct rt6_info *rt = (const struct rt6_info *)dst; in udp6_sk_rx_dst_set()
1467 &fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
1493 &ipc6, &fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
/Linux-v5.4/include/net/netns/
Dipv6.h72 struct rt6_info *ip6_null_entry;
86 struct rt6_info *ip6_prohibit_entry;
87 struct rt6_info *ip6_blk_hole_entry;
/Linux-v5.4/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-v5.4/net/netfilter/ipvs/
Dip_vs_xmit.c159 static inline int __ip_vs_is_local_route6(struct rt6_info *rt) in __ip_vs_is_local_route6()
183 (struct rt6_info *)skb_dst(skb)); in crosses_local_route_boundary()
479 struct rt6_info *rt; /* Route to the other host */ in __ip_vs_get_out_rt_v6()
487 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
507 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
523 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
856 struct rt6_info *rt; /* Route to the other host */ in ip_vs_nat_xmit_v6()
879 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_nat_xmit_v6()
1288 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6()
1314 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_tunnel_xmit_v6()
[all …]
/Linux-v5.4/drivers/net/
Dvrf.c46 struct rt6_info __rcu *rt6;
375 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in vrf_finish_output6()
411 struct rt6_info *rt6; in vrf_ip6_out_redirect()
486 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release()
510 struct rt6_info *rt6; in vrf_rt6_create()
949 static struct rt6_info *vrf_ip6_route_lookup(struct net *net, in vrf_ip6_route_lookup()
974 struct rt6_info *rt6; in vrf_ip6_input_dst()
1095 struct rt6_info *rt; in vrf_link_scope_lookup()
/Linux-v5.4/net/ipv6/netfilter/
Dnft_fib_ipv6.c59 struct rt6_info *rt; in __nft_fib6_eval_type()
150 struct rt6_info *rt; in nft_fib6_eval()
Dip6t_rpfilter.c35 struct rt6_info *rt; in rpfilter_lookup_reverse6()
/Linux-v5.4/net/mpls/
Dmpls_iptunnel.c46 struct rt6_info *rt6 = NULL; in mpls_xmit()
95 rt6 = (struct rt6_info *)dst; in mpls_xmit()
/Linux-v5.4/net/core/
Ddst_cache.c115 rt6_get_cookie((struct rt6_info *)dst)); in dst_cache_set_ip6()
/Linux-v5.4/net/netfilter/
Dnft_rt.c83 memcpy(dest, rt6_nexthop((struct rt6_info *)dst, in nft_rt_get_eval()
Dxt_addrtype.c37 struct rt6_info *rt; in match_lookup_rt6()
Dnf_flow_table_ip.c477 struct rt6_info *rt; in nf_flow_offload_ipv6_hook()
491 rt = (struct rt6_info *)flow->tuplehash[dir].tuple.dst_cache; in nf_flow_offload_ipv6_hook()
/Linux-v5.4/drivers/infiniband/core/
Daddr.c351 struct rt6_info *rt6; in has_gateway()
358 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway()
/Linux-v5.4/drivers/s390/net/
Dqeth_core.h937 struct rt6_info *rt; in qeth_dst_check_rcu()
939 rt = (struct rt6_info *) dst; in qeth_dst_check_rcu()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_span.c407 struct rt6_info *rt6; in mlxsw_sp_span_gretap6_route()
420 rt6 = container_of(dst, struct rt6_info, dst); in mlxsw_sp_span_gretap6_route()

123