/Linux-v6.6/net/ipv4/ |
D | netfilter.c | 27 struct net_device *dev = skb_dst(skb)->dev; in ip_route_me_harder() 60 if (skb_dst(skb)->error) in ip_route_me_harder() 61 return skb_dst(skb)->error; in ip_route_me_harder() 66 struct dst_entry *dst = skb_dst(skb); in ip_route_me_harder() 76 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 | 311 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint() 335 !skb_dst(skb) && in ip_rcv_finish_core() 377 if (unlikely(skb_dst(skb)->tclassid)) { in ip_rcv_finish_core() 379 u32 idx = skb_dst(skb)->tclassid; in ip_rcv_finish_core() 616 dst = skb_dst(skb); in ip_list_rcv_finish()
|
D | gre_offload.c | 52 need_ipsec = skb_dst(skb) && dst_xfrm(skb_dst(skb)); in gre_gso_segment()
|
/Linux-v6.6/net/xfrm/ |
D | xfrm_output.c | 33 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space() 54 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop() 276 struct dst_entry *dst = skb_dst(skb); in xfrm4_tunnel_encap_add() 292 top_iph->protocol = xfrm_af2proto(skb_dst(skb)->ops->family); in xfrm4_tunnel_encap_add() 321 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_encap_add() 338 top_iph->nexthdr = xfrm_af2proto(skb_dst(skb)->ops->family); in xfrm6_tunnel_encap_add() 492 struct dst_entry *dst = skb_dst(skb); in xfrm_output_one() 541 if (!skb_dst(skb)) { in xfrm_output_one() 586 struct net *net = xs_net(skb_dst(skb)->xfrm); in xfrm_output_resume() 591 err = skb_dst(skb)->ops->local_out(net, sk, skb); in xfrm_output_resume() [all …]
|
D | xfrm_interface_bpf.c | 89 info->dst_orig = skb_dst(skb); in bpf_skb_set_xfrm_info()
|
/Linux-v6.6/net/ipv6/ |
D | xfrm6_output.c | 63 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output() 81 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output() 98 if (toobig || dst_allfrag(skb_dst(skb))) in __xfrm6_output() 109 net, sk, skb, skb->dev, skb_dst(skb)->dev, in xfrm6_output()
|
D | seg6_iptunnel.c | 130 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh_encap() 163 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap() 207 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh_encap_red() 252 hdr->hop_limit = ip6_dst_hoplimit(skb_dst(skb)); in seg6_do_srh_encap_red() 358 struct net *net = dev_net(skb_dst(skb)->dev); in seg6_do_srh_inline() 376 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh() 456 struct dst_entry *orig_dst = skb_dst(skb); in seg6_input_core() 475 dst = skb_dst(skb); in seg6_input_core() 494 skb_dst(skb)->dev, seg6_input_finish); in seg6_input_core() 501 struct net_device *dev = skb_dst(skb)->dev; in seg6_input_nf() [all …]
|
D | reassembly.c | 110 struct net *net = dev_net(skb_dst(skb)->dev); in ip6_frag_queue() 238 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_frag_queue() 242 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ip6_frag_queue() 332 struct net *net = dev_net(skb_dst(skb)->dev); in ipv6_frag_rcv() 339 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMREQDS); in ipv6_frag_rcv() 356 ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMOKS); in ipv6_frag_rcv() 402 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_REASMFAILS); in ipv6_frag_rcv()
|
D | exthdrs.c | 299 struct dst_entry *dst = skb_dst(skb); in ipv6_destopt_rcv() 435 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ipv6_srh_rcv() 456 if (skb_dst(skb)->error) { in ipv6_srh_rcv() 461 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_srh_rcv() 593 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), IPSTATS_MIB_OUTDISCARDS); in ipv6_rpl_srh_rcv() 617 if (skb_dst(skb)->error) { in ipv6_rpl_srh_rcv() 622 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in ipv6_rpl_srh_rcv() 754 __IP6_INC_STATS(net, ip6_dst_idev(skb_dst(skb)), in ipv6_rthdr_rcv() 781 if (!ipv6_chk_home_addr(dev_net(skb_dst(skb)->dev), addr)) { in ipv6_rthdr_rcv() 801 if (skb_dst(skb)->error) { in ipv6_rthdr_rcv() [all …]
|
D | ip6_input.c | 52 !skb_dst(skb) && !skb->sk) { in ip6_rcv_finish_core() 95 return hint && !skb_dst(skb) && in ip6_can_use_hint() 132 dst = skb_dst(skb); in ip6_list_rcv_finish() 191 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core() 377 idev = ip6_dst_idev(skb_dst(skb)); in ip6_protocol_deliver_rcu() 505 __IP6_UPD_PO_STATS(dev_net(skb_dst(skb)->dev), in ip6_mc_input()
|
D | ip6_output.c | 62 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2() 179 if (skb_dst(skb)->xfrm) { in __ip6_finish_output() 192 dst_allfrag(skb_dst(skb)) || in __ip6_finish_output() 216 struct net_device *dev = skb_dst(skb)->dev, *indev = skb->dev; in ip6_output() 217 struct inet6_dev *idev = ip6_dst_idev(skb_dst(skb)); in ip6_output() 255 struct dst_entry *dst = skb_dst(skb); in ip6_xmit() 451 struct dst_entry *dst = skb_dst(skb); in ip6_forward_finish() 486 struct dst_entry *dst = skb_dst(skb); in ip6_forward() 576 dst = skb_dst(skb); in ip6_forward() 667 skb_dst_set(to, dst_clone(skb_dst(from))); in ip6_copy_metadata() [all …]
|
D | rpl_iptunnel.c | 191 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh() 204 struct dst_entry *orig_dst = skb_dst(skb); in rpl_output() 258 struct dst_entry *orig_dst = skb_dst(skb); in rpl_input() 277 dst = skb_dst(skb); in rpl_input()
|
D | ioam6.c | 655 raw32 = dev_net(skb_dst(skb)->dev)->ipv6.sysctl.ioam6_id; in __ioam6_fill_trace_data() 671 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data() 674 raw16 = (__force u16)__in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id; in __ioam6_fill_trace_data() 726 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) { in __ioam6_fill_trace_data() 729 queue = skb_get_tx_queue(skb_dst(skb)->dev, skb); in __ioam6_fill_trace_data() 750 raw64 = dev_net(skb_dst(skb)->dev)->ipv6.sysctl.ioam6_id_wide; in __ioam6_fill_trace_data() 766 if (skb_dst(skb)->dev->flags & IFF_LOOPBACK) in __ioam6_fill_trace_data() 769 raw32 = __in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id_wide; in __ioam6_fill_trace_data()
|
D | netfilter.c | 27 struct net_device *dev = skb_dst(skb)->dev; in ip6_route_me_harder() 74 hh_len = skb_dst(skb)->dev->hard_header_len; in ip6_route_me_harder()
|
/Linux-v6.6/include/net/ |
D | dst_metadata.h | 45 struct metadata_dst *md_dst = (struct metadata_dst *) skb_dst(skb); in skb_metadata_dst() 62 dst = skb_dst(skb); in skb_tunnel_info() 84 dst = skb_dst(skb); in skb_xfrm_md_info() 94 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst() 107 a = (const struct metadata_dst *) skb_dst(skb_a); in skb_metadata_dst_cmp() 108 b = (const struct metadata_dst *) skb_dst(skb_b); in skb_metadata_dst_cmp()
|
D | dst.h | 292 dst_clone(skb_dst(nskb)); in __skb_dst_copy() 322 struct dst_entry *dst = skb_dst(skb); in skb_dst_force() 383 dst = skb_dst(skb); in dst_tclassid() 435 struct dst_entry *dst = skb_dst(skb); in dst_link_failure() 458 return INDIRECT_CALL_INET(skb_dst(skb)->output, in dst_output() 468 return INDIRECT_CALL_INET(skb_dst(skb)->input, in dst_input() 548 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu() 557 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu_no_confirm()
|
D | ip6_route.h | 212 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info() 243 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); in ipv6_unicast_destination() 266 const struct dst_entry *dst = skb_dst(skb); in ip6_skb_dst_mtu()
|
/Linux-v6.6/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() 175 struct net_device *l3mdev = l3mdev_master_dev_rcu(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() 196 net = dev_net(skb_dst(skb)->dev); in bpf_lwt_xmit_reroute() 255 err = dst_output(dev_net(skb_dst(skb)->dev), skb->sk, skb); in bpf_lwt_xmit_reroute() 269 struct dst_entry *dst = skb_dst(skb); in bpf_xmit() 618 len + LL_RESERVED_SPACE(skb_dst(skb)->dev)); in bpf_lwt_push_ip_encap()
|
D | lwtunnel.c | 328 struct dst_entry *dst = skb_dst(skb); in lwtunnel_output() 362 struct dst_entry *dst = skb_dst(skb); in lwtunnel_xmit() 397 struct dst_entry *dst = skb_dst(skb); in lwtunnel_input()
|
/Linux-v6.6/net/bridge/ |
D | br_netfilter_ipv6.c | 119 if (skb_dst(skb)->error) { in br_nf_pre_routing_finish_ipv6() 124 if (skb_dst(skb)->dev == dev) { in br_nf_pre_routing_finish_ipv6()
|
/Linux-v6.6/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 265 skb_dst_set_noref(nskb, skb_dst(oldskb)); in nf_send_reset() 271 ip4_dst_hoplimit(skb_dst(nskb))); in nf_send_reset() 279 if (nskb->len > dst_mtu(skb_dst(nskb))) in nf_send_reset()
|
/Linux-v6.6/net/netfilter/ |
D | xt_realm.c | 25 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
|
/Linux-v6.6/include/linux/ |
D | netfilter_bridge.h | 21 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
|
/Linux-v6.6/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()
|