Home
last modified time | relevance | path

Searched refs:skb_dst (Results 1 – 25 of 109) sorted by relevance

12345

/kernel/linux/linux-5.10/net/ipv4/
Dnetfilter.c27 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()
Dxfrm4_output.c20 struct xfrm_state *x = skb_dst(skb)->xfrm; in __xfrm4_output()
34 net, sk, skb, skb->dev, skb_dst(skb)->dev, in xfrm4_output()
Dip_input.c308 return hint && !skb_dst(skb) && ip_hdr(hint)->daddr == iph->daddr && in ip_can_use_hint()
330 !skb_dst(skb) && in ip_rcv_finish_core()
372 if (unlikely(skb_dst(skb)->tclassid)) { in ip_rcv_finish_core()
374 u32 idx = skb_dst(skb)->tclassid; in ip_rcv_finish_core()
597 dst = skb_dst(skb); in ip_list_rcv_finish()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_output.c32 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/
Dxfrm6_output.c70 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output()
88 mtu = dst_mtu(skb_dst(skb)); in __xfrm6_output()
105 if (toobig || dst_allfrag(skb_dst(skb))) in __xfrm6_output()
116 net, sk, skb, skb->dev, skb_dst(skb)->dev, in xfrm6_output()
Dseg6_iptunnel.c127 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()
237 struct net *net = dev_net(skb_dst(skb)->dev); in seg6_do_srh_inline()
255 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh()
315 struct dst_entry *orig_dst = skb_dst(skb); in seg6_input()
336 dst = skb_dst(skb); in seg6_input()
356 struct dst_entry *orig_dst = skb_dst(skb); in seg6_output()
Dexthdrs.c284 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 …]
Dreassembly.c110 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()
Dip6_output.c61 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 …]
Dip6_input.c53 !skb_dst(skb) && !skb->sk) { in ip6_rcv_finish_core()
96 return hint && !skb_dst(skb) && in ip6_can_use_hint()
132 dst = skb_dst(skb); in ip6_list_rcv_finish()
186 IP6CB(skb)->iif = skb_valid_dst(skb) ? ip6_dst_idev(skb_dst(skb))->dev->ifindex : dev->ifindex; in ip6_rcv_core()
368 idev = ip6_dst_idev(skb_dst(skb)); in ip6_protocol_deliver_rcu()
490 __IP6_UPD_PO_STATS(dev_net(skb_dst(skb)->dev), in ip6_mc_input()
Drpl_iptunnel.c191 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()
Dnetfilter.c34 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/
Ddst.h279 dst_clone(skb_dst(nskb)); in __skb_dst_copy()
309 struct dst_entry *dst = skb_dst(skb); in skb_dst_force()
369 dst = skb_dst(skb); in dst_tclassid()
423 struct dst_entry *dst = skb_dst(skb); in dst_link_failure()
442 return skb_dst(skb)->output(net, sk, skb); in dst_output()
448 return skb_dst(skb)->input(skb); in dst_input()
522 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu()
531 struct dst_entry *dst = skb_dst(skb); in skb_dst_update_pmtu_no_confirm()
Ddst_metadata.h30 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()
Dip6_route.h215 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/
Dlwt_bpf.c91 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()
Dlwtunnel.c320 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/
Dnf_reject_ipv4.c139 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/
Dbr_netfilter_ipv6.c178 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/
Dxt_realm.c25 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_output.c73 struct dst_entry *dst = skb_dst(skb); in nip_output()
77 struct net_device *dev = skb_dst(skb)->dev; in nip_output()
121 net = skb->sk ? sock_net(skb->sk) : dev_net(skb_dst(skb)->dev); in nip_send_skb()
464 net = sk ? sock_net(sk) : dev_net(skb_dst(skb)->dev); in tcp_nip_actual_send_reset()
/kernel/linux/linux-5.10/include/linux/
Dnetfilter_bridge.h21 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
/kernel/linux/linux-5.10/net/ipv6/ila/
Dila_lwt.c40 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/net/sched/
Dcls_flow.c83 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/
Dip_vs_xmit.c183 (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()

12345