/kernel/linux/linux-5.10/include/net/ |
H A D | ip6_fib.h | 38 struct rt6_info; 143 struct rt6_info *rt6i; 159 struct rt6_info * __percpu *rt6i_pcpu; 205 struct rt6_info { struct 228 struct rt6_info *rt6; 241 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev() 292 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie() 311 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put() 314 * We rely on dst being first structure in struct rt6_info in ip6_rt_put() 316 BUILD_BUG_ON(offsetof(struct rt6_info, ds in ip6_rt_put() [all...] |
H A D | ip6_route.h | 104 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, 151 struct rt6_info *rt6_lookup(struct net *net, const struct in6_addr *daddr, 165 struct rt6_info *ip6_dst_alloc(struct net *net, struct net_device *dev, 210 void rt6_uncached_list_add(struct rt6_info *rt); 211 void rt6_uncached_list_del(struct rt6_info *rt); 213 static inline const struct rt6_info *skb_rt6_info(const struct sk_buff *skb) in skb_rt6_info() 216 const struct rt6_info *rt6 = NULL; in skb_rt6_info() 219 rt6 = container_of(dst, struct rt6_info, dst); in skb_rt6_info() 233 np->dst_cookie = rt6_get_cookie((struct rt6_info *)ds in ip6_dst_store() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | ip6_fib.h | 39 struct rt6_info; 144 struct rt6_info *rt6i; 160 struct rt6_info * __percpu *rt6i_pcpu; 209 struct rt6_info { struct 229 struct rt6_info *rt6; 242 return ((struct rt6_info *)dst)->rt6i_idev; in ip6_dst_idev() 293 static inline u32 rt6_get_cookie(const struct rt6_info *rt) in rt6_get_cookie() 312 static inline void ip6_rt_put(struct rt6_info *rt) in ip6_rt_put() 315 * We rely on dst being first structure in struct rt6_info in ip6_rt_put() 317 BUILD_BUG_ON(offsetof(struct rt6_info, ds in ip6_rt_put() [all...] |
H A D | ip6_route.h | 100 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 *)ds in ip6_dst_store() [all...] |
/kernel/linux/linux-5.10/include/net/netns/ |
H A D | ipv6.h | 72 struct rt6_info *ip6_null_entry; 90 struct rt6_info *ip6_prohibit_entry; 91 struct rt6_info *ip6_blk_hole_entry;
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | route.c | 113 static struct rt6_info *rt6_find_cached_rt(const struct fib6_result *res, 136 void rt6_uncached_list_add(struct rt6_info *rt) in rt6_uncached_list_add() 147 void rt6_uncached_list_del(struct rt6_info *rt) in rt6_uncached_list_del() 170 struct rt6_info *rt; in rt6_uncached_list_flush_dev() 223 const struct rt6_info *rt = container_of(dst, struct rt6_info, dst); in ip6_dst_neigh_lookup() 232 struct rt6_info *rt = (struct rt6_info *)dst; in ip6_confirm_neigh() 288 static const struct rt6_info ip6_null_entry_template = { 302 static const struct rt6_info ip6_prohibit_entry_templat [all...] |
H A D | ip6_output.c | 139 nexthop = rt6_nexthop((struct rt6_info *)dst, &ipv6_hdr(skb)->daddr); in ip6_finish_output2() 580 struct rt6_info *rt; in ip6_forward() 587 rt = (struct rt6_info *) dst; in ip6_forward() 841 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment() 1038 struct rt6_info *rt; in ip6_sk_dst_check() 1048 rt = (struct rt6_info *)dst; in ip6_sk_dst_check() 1085 struct rt6_info *rt; in ip6_dst_lookup_tail() 1101 struct rt6_info *rt; in ip6_dst_lookup_tail() 1106 rt = (*dst)->error ? NULL : (struct rt6_info *)*ds in ip6_dst_lookup_tail() [all...] |
H A D | icmp.c | 221 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_xrlim_allow() 247 struct rt6_info *rt = (struct rt6_info *)dst; in icmpv6_rt_has_prefsrc() 430 const struct rt6_info *rt6 = skb_rt6_info(skb); in icmp6_dev() 624 &ipc6, &fl6, (struct rt6_info *)dst, in icmp6_send() 660 struct rt6_info *rt; in ip6_err_gen_icmpv6_unreach() 799 (struct rt6_info *)dst, MSG_DONTWAIT)) { in icmpv6_echo_reply()
|
H A D | fib6_rules.c | 113 struct rt6_info *rt; in fib6_rule_lookup() 200 struct rt6_info *rt = NULL; in __fib6_rule_action() 278 struct rt6_info *rt = res->rt6; in fib6_rule_suppress()
|
H A D | xfrm6_policy.c | 80 struct rt6_info *rt = (struct rt6_info *)xdst->route; in xfrm6_fill_dst()
|
H A D | ping.c | 58 struct rt6_info *rt; in ping_v6_sendmsg() 124 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
|
/kernel/linux/linux-6.6/include/net/netns/ |
H A D | ipv6.h | 71 struct rt6_info *ip6_null_entry; 88 struct rt6_info *ip6_prohibit_entry; 89 struct rt6_info *ip6_blk_hole_entry;
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | route.c | 114 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_templat [all...] |
H A D | ip6_output.c | 121 nexthop = rt6_nexthop((struct rt6_info *)dst, daddr); in ip6_finish_output2() 592 struct rt6_info *rt; in ip6_forward() 599 rt = (struct rt6_info *) dst; in ip6_forward() 854 struct rt6_info *rt = (struct rt6_info *)skb_dst(skb); in ip6_fragment() 1052 struct rt6_info *rt; in ip6_sk_dst_check() 1062 rt = (struct rt6_info *)dst; in ip6_sk_dst_check() 1098 struct rt6_info *rt; in ip6_dst_lookup_tail() 1114 struct rt6_info *rt; in ip6_dst_lookup_tail() 1117 rt = (*dst)->error ? NULL : (struct rt6_info *)*ds in ip6_dst_lookup_tail() [all...] |
H A D | icmp.c | 215 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()
|
H A D | fib6_rules.c | 114 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()
|
H A D | ping.c | 73 struct rt6_info *rt; in ping_v6_sendmsg() 157 rt = (struct rt6_info *) dst; in ping_v6_sendmsg()
|
/kernel/linux/linux-5.10/net/ipv6/ila/ |
H A D | ila_lwt.c | 41 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()
|
/kernel/linux/linux-6.6/net/ipv6/ila/ |
H A D | ila_lwt.c | 41 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()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 159 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() 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() 1289 struct rt6_info *rt; /* Route to the other host */ in ip_vs_tunnel_xmit_v6() 1315 rt = (struct rt6_info *) skb_ds in ip_vs_tunnel_xmit_v6() [all...] |
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 159 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_ds in ip_vs_tunnel_xmit_v6() [all...] |
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 62 struct rt6_info *rt; in __nft_fib6_eval_type() 164 struct rt6_info *rt; in nft_fib6_eval()
|
/kernel/linux/linux-5.10/net/mpls/ |
H A D | mpls_iptunnel.c | 46 struct rt6_info *rt6 = NULL; in mpls_xmit() 95 rt6 = (struct rt6_info *)dst; in mpls_xmit()
|
/kernel/linux/linux-6.6/net/mpls/ |
H A D | mpls_iptunnel.c | 46 struct rt6_info *rt6 = NULL; in mpls_xmit() 95 rt6 = (struct rt6_info *)dst; in mpls_xmit()
|
/kernel/linux/linux-6.6/net/ipv6/netfilter/ |
H A D | nft_fib_ipv6.c | 65 struct rt6_info *rt; in __nft_fib6_eval_type() 169 struct rt6_info *rt; in nft_fib6_eval()
|