Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/net/
Dip6_route.h100 static inline void ip6_rt_put_flags(struct rt6_info *rt, int flags) in ip6_rt_put_flags()
109 struct rt6_info *ip6_pol_route(struct net *net, struct fib6_table *table,
147 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr,
161 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev,
207 void rt6_uncached_list_add(struct rt6_info *rt);
208 void rt6_uncached_list_del(struct rt6_info *rt);
210 static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) in skb_rt6_info()
213 const struct rt6_info *rt6 = NULL; in skb_rt6_info()
216 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info()
230 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst); in ip6_dst_store()
[all …]
Dip6_fib.h39 struct rt6_info;
144 struct rt6_info *rt6i;
160 struct rt6_info * __percpu *rt6i_pcpu;
212 struct rt6_info { struct
232 struct rt6_info *rt6; argument
245 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev()
288 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie()
307 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put()
312 BUILD_BUG_ON(offsetof(struct rt6_info, dst) != 0); in ip6_rt_put()
406 typedef struct rt6_info *(*pol_lookup_t)(struct net *,
[all …]
/Linux-v6.6/net/ipv6/
Droute.c114 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res,
138 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add()
149 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del()
166 struct rt6_info *rt, *safe; in rt6_uncached_list_flush_dev()
229 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup()
238 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh()
294 static const struct rt6_info ip6_null_entry_template = {
308 static const struct rt6_info ip6_prohibit_entry_template = {
320 static const struct rt6_info ip6_blk_hole_entry_template = {
334 static void rt6_info_init(struct rt6_info *rt) in rt6_info_init()
[all …]
Dip6_output.c121 nexthop = rt6_nexthop((struct rt6_info *)dst, daddr); in ip6_finish_output2()
586 struct rt6_info *rt; in ip6_forward()
593 rt = (struct rt6_info *) dst; in ip6_forward()
848 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment()
1046 struct rt6_info *rt; in ip6_sk_dst_check()
1056 rt = (struct rt6_info *)dst; in ip6_sk_dst_check()
1092 struct rt6_info *rt; in ip6_dst_lookup_tail()
1108 struct rt6_info *rt; in ip6_dst_lookup_tail()
1111 rt = (*dst)->error ? NULL : (struct rt6_info *)*dst; in ip6_dst_lookup_tail()
1152 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()
244 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_rt_has_prefsrc()
425 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_dev()
619 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send()
656 struct rt6_info *rt; in ip6_err_gen_icmpv6_unreach()
806 (struct rt6_info *)dst, MSG_DONTWAIT)) { in icmpv6_echo_reply()
Dxfrm6_policy.c73 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
Dfib6_rules.c114 struct rt6_info *rt; in fib6_rule_lookup()
201 struct rt6_info *rt = NULL; in __fib6_rule_action()
275 struct rt6_info *rt = res->rt6; in fib6_rule_suppress()
Dping.c73 struct rt6_info *rt; in ping_v6_sendmsg()
157 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
Draw.c595 struct rt6_info *rt = (struct rt6_info *)*dstp; in rawv6_send_hdrinc()
914 len, 0, &ipc6, &fl6, (struct rt6_info *)dst, in rawv6_sendmsg()
Dudp.c901 const struct rt6_info *rt = (const struct rt6_info *)dst; in udp6_sk_rx_dst_set()
1572 (struct rt6_info *)dst, in udpv6_sendmsg()
1599 &ipc6, fl6, (struct rt6_info *)dst, in udpv6_sendmsg()
/Linux-v6.6/include/net/netns/
Dipv6.h71 struct rt6_info *ip6_null_entry;
88 struct rt6_info *ip6_prohibit_entry;
89 struct rt6_info *ip6_blk_hole_entry;
/Linux-v6.6/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-v6.6/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()
476 struct rt6_info *rt; /* Route to the other host */ in __ip_vs_get_out_rt_v6()
484 rt = (struct rt6_info *) dest_dst->dst_cache; in __ip_vs_get_out_rt_v6()
504 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
520 rt = (struct rt6_info *) dst; in __ip_vs_get_out_rt_v6()
844 struct rt6_info *rt; /* Route to the other host */ in ip_vs_nat_xmit_v6()
865 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_nat_xmit_v6()
1267 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6()
1291 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_tunnel_xmit_v6()
[all …]
/Linux-v6.6/net/mpls/
Dmpls_iptunnel.c46 struct rt6_info *rt6 = NULL; in mpls_xmit()
95 rt6 = (struct rt6_info *)dst; in mpls_xmit()
/Linux-v6.6/net/ipv6/netfilter/
Dnft_fib_ipv6.c65 struct rt6_info *rt; in __nft_fib6_eval_type()
169 struct rt6_info *rt; in nft_fib6_eval()
Dip6t_rpfilter.c35 struct rt6_info *rt; in rpfilter_lookup_reverse6()
/Linux-v6.6/drivers/net/
Dvrf.c114 struct rt6_info __rcu *rt6;
666 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in vrf_finish_output6()
702 struct rt6_info *rt6; in vrf_ip6_out_redirect()
803 struct rt6_info *rt6 = rtnl_dereference(vrf->rt6); in vrf_rt6_release()
827 struct rt6_info *rt6; in vrf_rt6_create()
1339 static struct rt6_info *vrf_ip6_route_lookup(struct net *net, in vrf_ip6_route_lookup()
1364 struct rt6_info *rt6; in vrf_ip6_input_dst()
1508 struct rt6_info *rt; in vrf_link_scope_lookup()
/Linux-v6.6/drivers/s390/net/
Dqeth_core.h957 struct rt6_info *rt; in qeth_dst_check_rcu()
959 rt = (struct rt6_info *) dst; in qeth_dst_check_rcu()
981 struct rt6_info *rt = (struct rt6_info *) dst; in qeth_next_hop_v6_rcu()
/Linux-v6.6/net/core/
Ddst_cache.c115 rt6_get_cookie((struct rt6_info *)dst)); in dst_cache_set_ip6()
/Linux-v6.6/net/sched/
Dsch_frag.c111 struct rt6_info sch_frag_rt; in sch_fragment()
/Linux-v6.6/net/netfilter/
Dnft_rt.c83 memcpy(dest, rt6_nexthop((struct rt6_info *)dst, in nft_rt_get_eval()
Dnf_flow_table_ip.c716 struct rt6_info *rt; in nf_flow_offload_ipv6_hook()
730 rt = (struct rt6_info *)tuplehash->tuple.dst_cache; in nf_flow_offload_ipv6_hook()
742 rt = (struct rt6_info *)tuplehash->tuple.dst_cache; in nf_flow_offload_ipv6_hook()
Dxt_addrtype.c37 struct rt6_info *rt; in match_lookup_rt6()
Dnf_flow_table_core.c80 const struct rt6_info *rt; in flow_offload_dst_cookie()
83 rt = (const struct rt6_info *)flow_tuple->dst_cache; in flow_offload_dst_cookie()
/Linux-v6.6/drivers/infiniband/core/
Daddr.c352 struct rt6_info *rt6; in has_gateway()
359 rt6 = container_of(dst, struct rt6_info, dst); in has_gateway()

123