/kernel/linux/linux-5.10/net/ipv4/ |
D | netfilter.c | 27 struct net_device *dev = skb_dst(skb)->dev; in ip_route_me_harder() 61 if (skb_dst(skb)->error) in ip_route_me_harder() 62 return skb_dst(skb)->error; in ip_route_me_harder() 67 struct dst_entry *dst = skb_dst(skb); in ip_route_me_harder() 77 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder()
|
D | xfrm4_output.c | 20 struct xfrm_state *x = skb_dst(skb)->xfrm; in __xfrm4_output() 34 net, sk, skb, skb->dev, skb_dst(skb)->dev, in xfrm4_output()
|
D | ip_input.c | 308 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint() 331 !skb_dst(skb) && in ip_rcv_finish_core() 360 if (unlikely(skb_dst(skb)->tclassid)) { in ip_rcv_finish_core() 362 u32 idx = skb_dst(skb)->tclassid; in ip_rcv_finish_core() 585 dst = skb_dst(skb); in ip_list_rcv_finish()
|
/kernel/linux/linux-5.10/net/xfrm/ |
D | xfrm_output.c | 32 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space() 53 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop() 199 struct dst_entry *dst = skb_dst(skb); in xfrm4_tunnel_encap_add() 215 top_iph->protocol = xfrm_af2proto(skb_dst(skb)->ops->family); in xfrm4_tunnel_encap_add() 244 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_encap_add() 261 top_iph->nexthdr = xfrm_af2proto(skb_dst(skb)->ops->family); in xfrm6_tunnel_encap_add() 415 struct dst_entry *dst = skb_dst(skb); in xfrm_output_one() 463 if (!skb_dst(skb)) { in xfrm_output_one() 508 struct net *net = xs_net(skb_dst(skb)->xfrm); in xfrm_output_resume() 513 err = skb_dst(skb)->ops->local_out(net, sk, skb); in xfrm_output_resume() [all …]
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | xfrm6_output.c | 57 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output() 75 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output() 89 if (toobig || dst_allfrag(skb_dst(skb))) in __xfrm6_output() 100 net, sk, skb, skb->dev, skb_dst(skb)->dev, in xfrm6_output()
|
D | seg6_iptunnel.c | 127 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh_encap() 160 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap() 235 struct net *net = dev_net(skb_dst(skb)->dev); in seg6_do_srh_inline() 251 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh() 312 struct dst_entry *orig_dst = skb_dst(skb); in seg6_input() 333 dst = skb_dst(skb); in seg6_input() 353 struct dst_entry *orig_dst = skb_dst(skb); in seg6_output()
|
D | exthdrs.c | 284 struct dst_entry *dst = skb_dst(skb); in ipv6_destopt_rcv() 424 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ipv6_srh_rcv() 447 if (skb_dst(skb)->error) { in ipv6_srh_rcv() 452 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 558 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ipv6_rpl_srh_rcv() 636 if (skb_dst(skb)->error) { in ipv6_rpl_srh_rcv() 641 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv() 775 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ipv6_rthdr_rcv() 802 if (!ipv6_chk_home_addr(dev_net(skb_dst(skb)->dev), addr)) { in ipv6_rthdr_rcv() 825 if (skb_dst(skb)->error) { in ipv6_rthdr_rcv() [all …]
|
D | reassembly.c | 110 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() 232 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_frag_queue() 236 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_frag_queue() 326 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() 333 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMREQDS); in ipv6_frag_rcv() 350 ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMOKS); in ipv6_frag_rcv() 396 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMFAILS); in ipv6_frag_rcv()
|
D | ip6_output.c | 61 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2() 96 struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb)); in ip6_finish_output2() 195 if (skb_dst(skb)->xfrm) { in __ip6_finish_output() 206 dst_allfrag(skb_dst(skb)) || in __ip6_finish_output() 231 struct net_device *dev = skb_dst(skb)->dev, *indev = skb->dev; in ip6_output() 232 struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb)); in ip6_output() 269 struct dst_entry *dst = skb_dst(skb); in ip6_xmit() 284 IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_xmit() 334 IP6_UPD_PO_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_xmit() 358 IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_FRAGFAILS); in ip6_xmit() [all …]
|
D | ip6_input.c | 54 if (net->ipv4.sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) { in ip6_rcv_finish_core() 92 return hint && !skb_dst(skb) && in ip6_can_use_hint() 128 dst = skb_dst(skb); in ip6_list_rcv_finish() 182 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core() 364 idev = ip6_dst_idev(skb_dst(skb)); in ip6_protocol_deliver_rcu() 486 __IP6_UPD_PO_STATS(dev_net(skb_dst(skb)->dev), in ip6_mc_input()
|
D | rpl_iptunnel.c | 191 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh() 209 struct dst_entry *orig_dst = skb_dst(skb); in rpl_output() 263 struct dst_entry *orig_dst = skb_dst(skb); in rpl_input() 284 dst = skb_dst(skb); in rpl_input()
|
D | netfilter.c | 34 strict ? skb_dst(skb)->dev->ifindex : 0, in ip6_route_me_harder() 69 hh_len = skb_dst(skb)->dev->hard_header_len; in ip6_route_me_harder()
|
/kernel/linux/linux-5.10/include/net/ |
D | dst.h | 279 dst_clone(skb_dst(nskb)); in __skb_dst_copy() 309 struct dst_entry *dst = skb_dst(skb); in skb_dst_force() 370 dst = skb_dst(skb); in dst_tclassid() 424 struct dst_entry *dst = skb_dst(skb); in dst_link_failure() 443 return skb_dst(skb)->output(net, sk, skb); in dst_output() 449 return skb_dst(skb)->input(skb); in dst_input() 523 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu() 532 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu_no_confirm()
|
D | dst_metadata.h | 30 struct metadata_dst *md_dst = (struct metadata_dst *) skb_dst(skb); in skb_metadata_dst() 47 dst = skb_dst(skb); in skb_tunnel_info() 58 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst() 71 a = (const struct metadata_dst *) skb_dst(skb_a); in skb_metadata_dst_cmp() 72 b = (const struct metadata_dst *) skb_dst(skb_b); in skb_metadata_dst_cmp()
|
D | ip6_route.h | 215 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info() 246 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); in ipv6_unicast_destination() 273 mtu = READ_ONCE(skb_dst(skb)->dev->mtu); in ip6_skb_dst_mtu() 274 mtu -= lwtunnel_headroom(skb_dst(skb)->lwtstate, mtu); in ip6_skb_dst_mtu() 276 mtu = dst_mtu(skb_dst(skb)); in ip6_skb_dst_mtu()
|
/kernel/linux/linux-5.10/net/core/ |
D | lwt_bpf.c | 91 struct net_device *dev = skb_dst(skb)->dev; in bpf_lwt_input_reroute() 117 struct dst_entry *dst = skb_dst(skb); in bpf_input() 140 struct dst_entry *dst = skb_dst(skb); in bpf_output() 163 int hh_len = skb_dst(skb)->dev->hard_header_len; in xmit_check_hhlen() 177 struct net_device *l3mdev = l3mdev_master_dev_rcu(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() 198 net = dev_net(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() 257 err = dst_output(dev_net(skb_dst(skb)->dev), skb->sk, skb); in bpf_lwt_xmit_reroute() 271 struct dst_entry *dst = skb_dst(skb); in bpf_xmit() 619 len + LL_RESERVED_SPACE(skb_dst(skb)->dev)); in bpf_lwt_push_ip_encap()
|
D | lwtunnel.c | 320 struct dst_entry *dst = skb_dst(skb); in lwtunnel_output() 354 struct dst_entry *dst = skb_dst(skb); in lwtunnel_xmit() 389 struct dst_entry *dst = skb_dst(skb); in lwtunnel_input()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 139 skb_dst_set_noref(nskb, skb_dst(oldskb)); in nf_send_reset() 145 ip4_dst_hoplimit(skb_dst(nskb))); in nf_send_reset() 154 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
|
/kernel/linux/linux-5.10/net/bridge/ |
D | br_netfilter_ipv6.c | 178 if (skb_dst(skb)->error) { in br_nf_pre_routing_finish_ipv6() 183 if (skb_dst(skb)->dev == dev) { in br_nf_pre_routing_finish_ipv6()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_realm.c | 25 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
|
/kernel/linux/linux-5.10/include/linux/ |
D | netfilter_bridge.h | 21 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
|
/kernel/linux/linux-5.10/net/ipv6/ila/ |
D | ila_lwt.c | 40 struct dst_entry *orig_dst = skb_dst(skb); in ila_output() 103 struct dst_entry *dst = skb_dst(skb); in ila_input()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | xfrm.c | 214 struct dst_entry *dst = skb_dst(skb); in selinux_xfrm_skb_sid_egress() 455 dst = skb_dst(skb); in selinux_xfrm_postroute_last()
|
/kernel/linux/linux-5.10/net/sched/ |
D | cls_flow.c | 83 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_dst() 107 return addr_fold(skb_dst(skb)) ^ (__force u16)skb_protocol(skb, true); in flow_get_proto_dst() 196 if (skb_dst(skb)) in flow_get_rtclassid() 197 return skb_dst(skb)->tclassid; in flow_get_rtclassid()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 183 (struct rt6_info *)skb_dst(skb)); in crosses_local_route_boundary() 264 struct dst_entry *dst = skb_dst(skb); in decrement_ttl() 592 skb->dev = skb_dst(skb)->dev; in __ip_vs_get_out_rt_v6() 657 NULL, skb_dst(skb)->dev, dst_output); in ip_vs_nat_send_or_cont() 679 NULL, skb_dst(skb)->dev, dst_output); in ip_vs_send_or_cont() 879 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_nat_xmit_v6() 1314 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_tunnel_xmit_v6() 1634 rt = (struct rt6_info *) skb_dst(skb); in ip_vs_icmp_xmit_v6()
|