Home
last modified time | relevance | path

Searched refs:dst_entry (Results 1 – 148 of 148) sorted by relevance

/linux-4.4.14/include/net/
Ddst.h33 struct dst_entry { struct
35 struct dst_entry *child; argument
40 struct dst_entry *path; argument
41 struct dst_entry *from; argument
106 struct dst_entry *next; argument
113 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
122 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only()
127 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
129 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic()
136 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr()
[all …]
Ddst_ops.h7 struct dst_entry;
19 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie);
20 unsigned int (*default_advmss)(const struct dst_entry *);
21 unsigned int (*mtu)(const struct dst_entry *);
22 u32 * (*cow_metrics)(struct dst_entry *, unsigned long);
23 void (*destroy)(struct dst_entry *);
24 void (*ifdown)(struct dst_entry *,
26 struct dst_entry * (*negative_advice)(struct dst_entry *);
28 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk,
30 void (*redirect)(struct dst_entry *dst, struct sock *sk,
[all …]
Dl3mdev.h36 struct dst_entry * (*l3mdev_get_rt6_dst)(const struct net_device *dev,
137 static inline struct dst_entry *l3mdev_get_rt6_dst(const struct net_device *dev, in l3mdev_get_rt6_dst()
147 struct dst_entry *l3mdev_rt6_dst_by_oif(struct net *net, in l3mdev_rt6_dst_by_oif()
150 struct dst_entry *dst = NULL; in l3mdev_rt6_dst_by_oif()
213 struct dst_entry *l3mdev_get_rt6_dst(const struct net_device *dev, in l3mdev_get_rt6_dst()
219 struct dst_entry *l3mdev_rt6_dst_by_oif(struct net *net, in l3mdev_rt6_dst_by_oif()
Dnetevent.h14 struct dst_entry;
18 struct dst_entry *old;
19 struct dst_entry *new;
Dip6_route.h67 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk,
70 static inline struct dst_entry *ip6_route_output(struct net *net, in ip6_route_output()
77 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6,
96 struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6);
144 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store()
165 static inline bool ipv6_anycast_destination(const struct dst_entry *dst, in ipv6_anycast_destination()
Dinet6_connection_sock.h28 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
35 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
Dip6_tunnel.h37 struct dst_entry __rcu *dst;
68 struct dst_entry *ip6_tnl_dst_get(struct ip6_tnl *t);
72 void ip6_tnl_dst_set(struct ip6_tnl *t, struct dst_entry *dst);
Ddst_metadata.h9 struct dst_entry dst;
28 struct dst_entry *dst; in skb_tunnel_info()
42 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst()
Ddn_route.h19 int dn_route_output_sock(struct dst_entry __rcu **pprt, struct flowidn *,
71 struct dst_entry dst;
Dinet_connection_sock.h46 struct dst_entry *dst,
267 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
269 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
327 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
Dtcp.h419 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst,
423 void tcp_fetch_timewait_stamp(struct sock *sk, struct dst_entry *dst);
457 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst);
460 struct dst_entry *dst,
466 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
479 struct dst_entry *dst);
531 const struct net *net, const struct dst_entry *dst);
660 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_rto_min()
673 static inline bool tcp_ca_dst_locked(const struct dst_entry *dst) in tcp_ca_dst_locked()
1040 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
[all …]
Dip6_fib.h97 struct dst_entry dst;
138 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev()
261 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
Droute.h53 struct dst_entry dst;
128 struct dst_entry *ipv4_blackhole_route(struct net *net,
129 struct dst_entry *dst_orig);
334 static inline int ip4_dst_hoplimit(const struct dst_entry *dst) in ip4_dst_hoplimit()
Dsock.h393 struct dst_entry *sk_rx_dst;
394 struct dst_entry __rcu *sk_dst_cache;
1709 static inline struct dst_entry *
1716 static inline struct dst_entry *
1719 struct dst_entry *dst; in sk_dst_get()
1731 struct dst_entry *ndst, *dst = __sk_dst_get(sk); in dst_negative_advice()
1746 __sk_dst_set(struct sock *sk, struct dst_entry *dst) in __sk_dst_set()
1748 struct dst_entry *old_dst; in __sk_dst_set()
1761 sk_dst_set(struct sock *sk, struct dst_entry *dst) in sk_dst_set()
1763 struct dst_entry *old_dst; in sk_dst_set()
[all …]
Dicmp.h37 struct dst_entry;
Dipv6.h699 int ip6_dst_hoplimit(struct dst_entry *dst);
702 struct dst_entry *dst) in ip6_sk_dst_hoplimit()
870 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst,
872 struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6,
874 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
876 struct dst_entry *ip6_blackhole_route(struct net *net,
877 struct dst_entry *orig_dst);
Dudp_tunnel.h87 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk,
Dxfrm.h288 struct dst_entry *(*dst_lookup)(struct net *net,
300 struct dst_entry *dst,
305 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
943 struct dst_entry dst;
947 struct dst_entry *route;
979 void xfrm_dst_ifdown(struct dst_entry *dst, struct net_device *dev);
Drequest_sock.h27 struct dst_entry;
Dinet_sock.h122 struct dst_entry *dst;
Dip.h281 int ip_dont_fragment(const struct sock *sk, const struct dst_entry *dst) in ip_dont_fragment()
307 static inline unsigned int ip_dst_mtu_maybe_forward(const struct dst_entry *dst, in ip_dst_mtu_maybe_forward()
Dip_tunnels.h89 struct dst_entry __rcu *dst;
Daddrconf.h193 struct dst_entry **dst, struct flowi6 *fl6);
Dip_vs.h415 struct dst_entry;
650 struct dst_entry *dst_cache; /* destination cache entry */
/linux-4.4.14/net/core/
Ddst.c47 struct dst_entry *list;
55 static void ___dst_free(struct dst_entry *dst);
63 static struct dst_entry *dst_busy_list;
70 struct dst_entry *dst, *next, head; in dst_gc_task()
71 struct dst_entry *last = &head; in dst_gc_task()
163 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
203 struct dst_entry *dst; in dst_alloc()
220 static void ___dst_free(struct dst_entry *dst) in ___dst_free()
232 void __dst_free(struct dst_entry *dst) in __dst_free()
248 struct dst_entry *dst_destroy(struct dst_entry * dst) in dst_destroy()
[all …]
Dlwtunnel.c185 struct dst_entry *dst = skb_dst(skb); in lwtunnel_output()
219 struct dst_entry *dst = skb_dst(skb); in lwtunnel_input()
Dsock.c529 struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie) in __sk_dst_check()
531 struct dst_entry *dst = __sk_dst_get(sk); in __sk_dst_check()
544 struct dst_entry *sk_dst_check(struct sock *sk, u32 cookie) in sk_dst_check()
546 struct dst_entry *dst = sk_dst_get(sk); in sk_dst_check()
1604 void sk_setup_caps(struct sock *sk, struct dst_entry *dst) in sk_setup_caps()
Dfilter.c1498 const struct dst_entry *dst; in bpf_get_route_realm()
1600 dst_hold((struct dst_entry *) md); in bpf_skb_set_tunnel_key()
1601 skb_dst_set(skb, (struct dst_entry *) md); in bpf_skb_set_tunnel_key()
Drtnetlink.c709 int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, u32 id, in rtnl_put_cacheinfo()
Dneighbour.c1197 struct dst_entry *dst = skb_dst(skb); in neigh_update()
Dpktgen.c401 struct dst_entry dst;
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_datagram.c196 struct datagram_entry *dst_entry; in dg_dispatch_as_host() local
211 dst_entry = container_of(resource, struct datagram_entry, in dg_dispatch_as_host()
214 dst_entry->priv_flags)) { in dg_dispatch_as_host()
224 if (dst_entry->run_delayed || in dg_dispatch_as_host()
244 dg_info->entry = dst_entry; in dg_dispatch_as_host()
252 retval = dst_entry->recv_cb(dst_entry->client_data, dg); in dg_dispatch_as_host()
365 struct datagram_entry *dst_entry; in vmci_datagram_invoke_guest_handler() local
375 dst_entry = container_of(resource, struct datagram_entry, resource); in vmci_datagram_invoke_guest_handler()
376 if (dst_entry->run_delayed) { in vmci_datagram_invoke_guest_handler()
387 dg_info->entry = dst_entry; in vmci_datagram_invoke_guest_handler()
[all …]
/linux-4.4.14/net/bridge/
Dbr_nf_core.c28 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu()
33 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect()
38 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) in fake_cow_metrics()
43 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup()
50 static unsigned int fake_mtu(const struct dst_entry *dst) in fake_mtu()
Dbr_netfilter_hooks.c259 struct dst_entry *dst; in br_nf_pre_routing_finish_bridge()
/linux-4.4.14/net/ipv6/
Dinet6_connection_sock.c68 struct dst_entry *inet6_csk_route_req(const struct sock *sk, in inet6_csk_route_req()
76 struct dst_entry *dst; in inet6_csk_route_req()
114 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) in __inet6_csk_dst_check()
119 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, in inet6_csk_route_socket()
125 struct dst_entry *dst; in inet6_csk_route_socket()
157 struct dst_entry *dst; in inet6_csk_xmit()
181 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) in inet6_csk_update_pmtu()
184 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
Dxfrm6_policy.c30 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, in xfrm6_dst_lookup()
35 struct dst_entry *dst; in xfrm6_dst_lookup()
59 struct dst_entry *dst; in xfrm6_get_saddr()
77 static int xfrm6_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm6_init_path()
227 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu()
231 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu()
236 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect()
240 struct dst_entry *path = xdst->route; in xfrm6_redirect()
245 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy()
255 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm6_dst_ifdown()
Droute.c80 static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie);
81 static unsigned int ip6_default_advmss(const struct dst_entry *dst);
82 static unsigned int ip6_mtu(const struct dst_entry *dst);
83 static struct dst_entry *ip6_negative_advice(struct dst_entry *);
84 static void ip6_dst_destroy(struct dst_entry *);
85 static void ip6_dst_ifdown(struct dst_entry *,
94 static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
96 static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk,
178 static u32 *ipv6_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv6_cow_metrics()
203 static struct neighbour *ip6_neigh_lookup(const struct dst_entry *dst, in ip6_neigh_lookup()
[all …]
Dnetfilter.c25 struct dst_entry *dst; in ip6_route_me_harder()
110 static int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route()
120 struct dst_entry *result; in nf_ip6_route()
Dxfrm6_output.c74 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_check_size()
144 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output()
Dila.c96 struct dst_entry *dst = skb_dst(skb); in ila_output()
112 struct dst_entry *dst = skb_dst(skb); in ila_input()
Dip6_output.c62 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2()
163 struct dst_entry *dst = skb_dst(skb); in ip6_xmit()
339 static unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) in ip6_dst_mtu_forward()
380 struct dst_entry *dst = skb_dst(skb); in ip6_forward()
857 static struct dst_entry *ip6_sk_dst_check(struct sock *sk, in ip6_sk_dst_check()
858 struct dst_entry *dst, in ip6_sk_dst_check()
905 struct dst_entry **dst, struct flowi6 *fl6) in ip6_dst_lookup_tail()
1020 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst, in ip6_dst_lookup()
1039 struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6, in ip6_dst_lookup_flow()
1042 struct dst_entry *dst = NULL; in ip6_dst_lookup_flow()
[all …]
Dicmp.c177 struct dst_entry *dst; in icmpv6_xrlim_allow()
324 static struct dst_entry *icmpv6_route_lookup(struct net *net, in icmpv6_route_lookup()
329 struct dst_entry *dst, *dst2; in icmpv6_route_lookup()
399 struct dst_entry *dst; in icmp6_send()
564 struct dst_entry *dst; in icmpv6_echo_reply()
Dtcp_ipv6.c94 struct dst_entry *dst = skb_dst(skb); in inet6_sk_rx_dst_set()
124 struct dst_entry *dst; in tcp_v6_connect()
305 struct dst_entry *dst; in tcp_v6_mtu_reduced()
379 struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); in tcp_v6_err()
439 static int tcp_v6_send_synack(const struct sock *sk, struct dst_entry *dst, in tcp_v6_send_synack()
700 static struct dst_entry *tcp_v6_route_req(const struct sock *sk, in tcp_v6_route_req()
748 struct dst_entry *dst; in tcp_v6_send_response()
973 struct dst_entry *dst, in tcp_v6_syn_recv_sock()
1226 struct dst_entry *dst = sk->sk_rx_dst; in tcp_v6_do_rcv()
1556 struct dst_entry *dst = READ_ONCE(sk->sk_rx_dst); in tcp_v6_early_demux()
Dxfrm6_mode_tunnel.c35 struct dst_entry *dst = skb_dst(skb); in xfrm6_mode_tunnel_output()
Dip6_udp_tunnel.c72 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, in udp_tunnel6_xmit_skb()
Daddrconf_core.c111 struct dst_entry **u2, in eafnosupport_ipv6_dst_lookup()
Doutput_core.c121 int ip6_dst_hoplimit(struct dst_entry *dst) in ip6_dst_hoplimit()
Dping.c91 struct dst_entry *dst; in ping_v6_sendmsg()
Dip6_tunnel.c130 struct dst_entry *dst) in ip6_tnl_per_cpu_dst_set()
146 struct dst_entry *ip6_tnl_dst_get(struct ip6_tnl *t) in ip6_tnl_dst_get()
149 struct dst_entry *dst; in ip6_tnl_dst_get()
184 void ip6_tnl_dst_set(struct ip6_tnl *t, struct dst_entry *dst) in ip6_tnl_dst_set()
1042 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit2()
Dsyncookies.c148 struct dst_entry *dst; in cookie_v6_check()
Dipv6_sockglue.c1077 struct dst_entry *dst; in do_ipv6_getsockopt()
1169 struct dst_entry *dst; in do_ipv6_getsockopt()
1205 struct dst_entry *dst; in do_ipv6_getsockopt()
Dfib6_rules.c32 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
Draw.c613 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc()
745 struct dst_entry *dst = NULL; in rawv6_sendmsg()
Dexthdrs.c256 struct dst_entry *dst = skb_dst(skb); in ipv6_destopt_rcv()
Dndisc.c434 struct dst_entry *dst = skb_dst(skb); in ndisc_send_skb()
1495 struct dst_entry *dst; in ndisc_send_redirect()
Daf_inet6.c647 struct dst_entry *dst; in inet6_sk_rebuild_header()
Dip6_fib.c286 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
683 static int fib6_commit_metrics(struct dst_entry *dst, struct mx6_config *mxc) in fib6_commit_metrics()
Ddatagram.c49 struct dst_entry *dst; in __ip6_datagram_connect()
Dip6_vti.c434 struct dst_entry *dst = skb_dst(skb); in vti6_xmit()
Dmcast.c1614 struct dst_entry *dst; in mld_sendpack()
1946 struct dst_entry *dst; in igmp6_send()
Dudp.c1114 struct dst_entry *dst; in udpv6_sendmsg()
Dip6_gre.c617 struct dst_entry *dst = NULL, *ndst = NULL; in ip6gre_xmit2()
Dip6mr.c2004 struct dst_entry *dst; in ip6mr_forward2()
/linux-4.4.14/net/ipv4/
Dxfrm4_policy.c22 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup()
45 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup()
57 struct dst_entry *dst; in xfrm4_get_saddr()
74 static int xfrm4_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm4_init_path()
226 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu()
230 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
235 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect()
239 struct dst_entry *path = xdst->route; in xfrm4_redirect()
244 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy()
253 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm4_dst_ifdown()
Droute.c137 static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie);
138 static unsigned int ipv4_default_advmss(const struct dst_entry *dst);
139 static unsigned int ipv4_mtu(const struct dst_entry *dst);
140 static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst);
142 static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
144 static void ip_do_redirect(struct dst_entry *dst, struct sock *sk,
146 static void ipv4_dst_destroy(struct dst_entry *dst);
148 static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv4_cow_metrics()
154 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst,
443 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, in ipv4_neigh_lookup()
[all …]
Dtcp_metrics.c97 const struct dst_entry *dst, in tcpm_suck_dst()
139 static void tcpm_check_stamp(struct tcp_metrics_block *tm, struct dst_entry *dst) in tcpm_check_stamp()
151 static struct tcp_metrics_block *tcpm_new(struct dst_entry *dst, in tcpm_new()
235 struct dst_entry *dst) in __tcp_get_metrics_req()
319 struct dst_entry *dst, in tcp_get_metrics()
370 struct dst_entry *dst = __sk_dst_get(sk); in tcp_update_metrics()
490 struct dst_entry *dst = __sk_dst_get(sk); in tcp_init_metrics()
579 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst, in tcp_peer_is_proven()
610 void tcp_fetch_timewait_stamp(struct sock *sk, struct dst_entry *dst) in tcp_fetch_timewait_stamp()
635 struct dst_entry *dst = __sk_dst_get(sk); in tcp_remember_stamp()
[all …]
Dnetfilter.c59 struct dst_entry *dst = skb_dst(skb); in ip_route_me_harder()
175 static int nf_ip_route(struct net *net, struct dst_entry **dst, in nf_ip_route()
Dtcp_fastopen.c129 struct dst_entry *dst, in tcp_fastopen_create_child()
259 struct dst_entry *dst) in tcp_try_fastopen()
Dinet_connection_sock.c409 struct dst_entry *inet_csk_route_req(const struct sock *sk, in inet_csk_route_req()
440 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk, in inet_csk_route_child_sock()
921 static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) in inet_csk_rebuild_route()
947 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu) in inet_csk_update_pmtu()
949 struct dst_entry *dst = __sk_dst_check(sk, 0); in inet_csk_update_pmtu()
Dip_tunnel.c73 struct dst_entry *dst, __be32 saddr) in __tunnel_dst_set()
75 struct dst_entry *old_dst; in __tunnel_dst_set()
78 old_dst = xchg((__force struct dst_entry **)&idst->dst, dst); in __tunnel_dst_set()
84 struct dst_entry *dst, __be32 saddr) in tunnel_dst_set()
107 struct dst_entry *dst; in tunnel_rtable_get()
490 skb_dst_set(skb, (struct dst_entry *)tun_dst); in ip_tunnel_rcv()
Dxfrm4_mode_tunnel.c32 struct dst_entry *dst = skb_dst(skb); in xfrm4_mode_tunnel_output()
Dsyncookies.c220 struct dst_entry *dst) in tcp_get_cookie_sock()
276 const struct net *net, const struct dst_entry *dst) in cookie_ecn_ok()
Ddatagram.c107 struct dst_entry *dst; in ip4_datagram_release_cb()
Dtcp_ipv4.c274 struct dst_entry *dst; in tcp_v4_mtu_reduced()
307 struct dst_entry *dst = __sk_dst_check(sk, 0); in do_redirect()
827 static int tcp_v4_send_synack(const struct sock *sk, struct dst_entry *dst, in tcp_v4_send_synack()
1193 static struct dst_entry *tcp_v4_route_req(const struct sock *sk, in tcp_v4_route_req()
1198 struct dst_entry *dst = inet_csk_route_req(sk, &fl->u.ip4, req); in tcp_v4_route_req()
1257 struct dst_entry *dst, in tcp_v4_syn_recv_sock()
1379 struct dst_entry *dst = sk->sk_rx_dst; in tcp_v4_do_rcv()
1464 struct dst_entry *dst = READ_ONCE(sk->sk_rx_dst); in tcp_v4_early_demux()
1730 struct dst_entry *dst = skb_dst(skb); in inet_sk_rx_dst_set()
Darp.c302 struct dst_entry *dst) in arp_send_dst()
337 struct dst_entry *dst = NULL; in arp_solicit()
660 struct dst_entry *reply_dst = NULL; in arp_process()
762 reply_dst = (struct dst_entry *) in arp_process()
Dtcp_minisocks.c369 const struct dst_entry *dst) in tcp_openreq_init_rwin()
409 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst) in tcp_ca_openreq_child()
Dtcp_output.c124 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_advertise_mss()
334 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_ecn_send_syn()
1298 const struct dst_entry *dst = __sk_dst_get(sk); in __tcp_mtu_to_mss()
1339 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_mss_to_mtu()
1414 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_current_mss()
2944 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst, in tcp_make_synack()
3039 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init()
3061 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_connect_init()
Dudp.c1652 static void udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst) in udp_sk_rx_dst_set()
1654 struct dst_entry *old; in udp_sk_rx_dst_set()
1791 struct dst_entry *dst = skb_dst(skb); in __udp4_lib_rcv()
1975 struct dst_entry *dst; in udp_v4_early_demux()
Dip_vti.c157 struct dst_entry *dst = skb_dst(skb); in vti_xmit()
Dip_output.c122 static inline int ip_select_ttl(struct inet_sock *inet, struct dst_entry *dst) in ip_select_ttl()
177 struct dst_entry *dst = skb_dst(skb); in ip_finish_output2()
Dtcp_input.c204 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_in_quickack_mode()
824 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd()
3631 struct dst_entry *dst = __sk_dst_get(sk); in tcp_ack()
5890 struct dst_entry *dst; in tcp_rcv_state_process()
6043 const struct dst_entry *dst) in tcp_ecn_create_request()
6165 struct dst_entry *dst = NULL; in tcp_conn_request()
Dicmp.c292 struct dst_entry *dst = &rt->dst; in icmpv4_xrlim_allow()
Dip_sockglue.c1363 struct dst_entry *dst; in do_ip_getsockopt()
/linux-4.4.14/net/decnet/
Ddn_route.c113 static struct dst_entry *dn_dst_check(struct dst_entry *, __u32);
114 static unsigned int dn_dst_default_advmss(const struct dst_entry *dst);
115 static unsigned int dn_dst_mtu(const struct dst_entry *dst);
116 static void dn_dst_destroy(struct dst_entry *);
117 static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how);
118 static struct dst_entry *dn_dst_negative_advice(struct dst_entry *);
120 static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk,
122 static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk,
124 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst,
154 static void dn_dst_destroy(struct dst_entry *dst) in dn_dst_destroy()
[all …]
Ddn_neigh.c174 struct dst_entry *dst = skb_dst(skb); in dn_neigh_output()
199 struct dst_entry *dst = skb_dst(skb); in dn_neigh_output_packet()
339 struct dst_entry *dst = skb_dst(skb); in dn_to_neigh_output()
Ddn_nsp_out.c78 struct dst_entry *dst; in dn_nsp_send()
548 struct dst_entry *dst, in dn_nsp_do_disc()
Daf_decnet.c913 struct dst_entry *dst; in __dn_connect()
1082 struct dst_entry *dst; in dn_accept()
1875 struct dst_entry *dst = __sk_dst_get(sk); in dn_current_mss()
/linux-4.4.14/drivers/net/
Dvrf.c74 static struct dst_entry *vrf_ip_check(struct dst_entry *dst, u32 cookie) in vrf_ip_check()
84 static unsigned int vrf_v4_mtu(const struct dst_entry *dst) in vrf_v4_mtu()
90 static void vrf_dst_destroy(struct dst_entry *dst) in vrf_dst_destroy()
95 static unsigned int vrf_default_advmss(const struct dst_entry *dst) in vrf_default_advmss()
239 struct dst_entry *dst; in vrf_process_v6_outbound()
240 struct dst_entry *dst_null = &net->ipv6.ip6_null_entry->dst; in vrf_process_v6_outbound()
363 static struct dst_entry *vrf_ip6_check(struct dst_entry *dst, u32 cookie) in vrf_ip6_check()
407 struct dst_entry *dst = skb_dst(skb); in vrf_finish_output6()
453 struct dst_entry *dst; in vrf_rt6_create()
516 struct dst_entry *dst = skb_dst(skb); in vrf_finish_output()
[all …]
Dgeneve.c675 static int geneve6_build_skb(struct dst_entry *dst, struct sk_buff *skb, in geneve6_build_skb()
754 static struct dst_entry *geneve_get_v6_dst(struct sk_buff *skb, in geneve_get_v6_dst()
761 struct dst_entry *dst = NULL; in geneve_get_v6_dst()
905 struct dst_entry *dst = NULL; in geneve6_xmit_skb()
1015 struct dst_entry *dst; in geneve_fill_metadata_dst()
Dvxlan.c1194 skb_dst_set(skb, (struct dst_entry *)tun_dst); in vxlan_rcv()
1239 dst_release((struct dst_entry *)tun_dst); in vxlan_rcv()
1684 static int vxlan6_xmit_skb(struct dst_entry *dst, struct sock *sk, in vxlan6_xmit_skb()
1846 static struct dst_entry *vxlan6_get_route(struct vxlan_dev *vxlan, in vxlan6_get_route()
1851 struct dst_entry *ndst; in vxlan6_get_route()
2061 struct dst_entry *ndst; in vxlan_xmit_one()
2445 struct dst_entry *ndst; in vxlan_fill_metadata_dst()
/linux-4.4.14/net/xfrm/
Dxfrm_policy.c43 struct dst_entry *dst_orig;
53 static void xfrm_init_pmtu(struct dst_entry *dst);
54 static int stale_bundle(struct dst_entry *dst);
118 static inline struct dst_entry *__xfrm_dst_lookup(struct net *net, in __xfrm_dst_lookup()
125 struct dst_entry *dst; in __xfrm_dst_lookup()
138 static inline struct dst_entry *xfrm_dst_lookup(struct xfrm_state *x, in xfrm_dst_lookup()
147 struct dst_entry *dst; in xfrm_dst_lookup()
1531 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get()
1554 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_check()
1567 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_delete()
[all …]
Dxfrm_output.c26 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space()
45 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop()
47 struct dst_entry *child = dst_clone(skb_dst(skb)->child); in skb_dst_pop()
55 struct dst_entry *dst = skb_dst(skb); in xfrm_output_one()
/linux-4.4.14/drivers/infiniband/hw/cxgb3/
Diwch_cm.h184 struct dst_entry *dst;
227 int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, struct l2t_entry *l2t…
Diwch_cm.c1345 struct dst_entry *dst; in pass_accept_req()
2140 int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, in iwch_ep_redirect()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_offload.h87 int (*redirect)(void *ctx, struct dst_entry *old,
88 struct dst_entry *new, struct l2t_entry *l2t);
Dl2t.h112 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst,
Dcxgb3_offload.c67 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new,
1110 static void cxgb_redirect(struct dst_entry *old, struct dst_entry *new, in cxgb_redirect()
Dl2t.c301 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst, in t3_l2t_get()
/linux-4.4.14/security/selinux/
Dxfrm.c212 struct dst_entry *dst = skb_dst(skb); in selinux_xfrm_skb_sid_egress()
437 struct dst_entry *dst; in selinux_xfrm_postroute_last()
453 struct dst_entry *iter; in selinux_xfrm_postroute_last()
/linux-4.4.14/net/sunrpc/
Dsunrpc.h48 struct dst_entry *dst; in sock_is_loopback()
/linux-4.4.14/net/netfilter/
Dxt_realm.c28 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
Dxt_addrtype.c61 route_err = afinfo->route(net, (struct dst_entry **)&rt, in match_lookup_rt6()
76 if (ipv6_anycast_destination((struct dst_entry *)rt, addr)) in match_lookup_rt6()
Dxt_policy.c89 const struct dst_entry *dst = skb_dst(skb); in match_policy_out()
Dxt_TCPMSS.c68 ai->route(net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
Dnft_meta.c122 const struct dst_entry *dst = skb_dst(skb); in nft_meta_get_eval()
Dnf_conntrack_h323_main.c754 if (!afinfo->route(net, (struct dst_entry **)&rt1, in callforward_do_filter()
756 if (!afinfo->route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
778 if (!afinfo->route(net, (struct dst_entry **)&rt1, in callforward_do_filter()
780 if (!afinfo->route(net, (struct dst_entry **)&rt2, in callforward_do_filter()
Dnf_nat_core.c90 struct dst_entry *dst; in nf_xfrm_me_harder()
/linux-4.4.14/net/dccp/
Dipv4.c151 struct dst_entry *dst; in dccp_do_pmtu_discovery()
192 struct dst_entry *dst = __sk_dst_check(sk, 0); in dccp_do_redirect()
394 struct dst_entry *dst, in dccp_v4_request_recv_sock()
447 static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, in dccp_v4_route_skb()
476 struct dst_entry *dst; in dccp_v4_send_response()
506 struct dst_entry *dst; in dccp_v4_ctl_send_reset()
Dipv6.c124 struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); in dccp_v6_err()
132 struct dst_entry *dst = NULL; in dccp_v6_err()
192 struct dst_entry *dst; in dccp_v6_send_response()
249 struct dst_entry *dst; in dccp_v6_ctl_send_reset()
388 struct dst_entry *dst, in dccp_v6_request_recv_sock()
770 struct dst_entry *dst; in dccp_v6_connect()
Ddccp.h281 struct dst_entry *dst,
298 struct sk_buff *dccp_make_response(const struct sock *sk, struct dst_entry *dst,
Doutput.c393 struct sk_buff *dccp_make_response(const struct sock *sk, struct dst_entry *dst, in dccp_make_response()
539 struct dst_entry *dst = __sk_dst_get(sk); in dccp_connect()
/linux-4.4.14/include/linux/
Dnetfilter_bridge.h24 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
Drtnetlink.h16 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
Dnetfilter.h281 int (*route)(struct net *net, struct dst_entry **dst,
Dskbuff.h743 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst()
751 return (struct dst_entry *)(skb->_skb_refdst & SKB_DST_PTRMASK); in skb_dst()
762 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set()
777 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
Dsecurity.h104 struct dst_entry;
/linux-4.4.14/net/ipv6/netfilter/
Dnf_dup_ipv6.c26 struct dst_entry *dst; in nf_dup_ipv6_route()
Dnf_reject_ipv6.c141 struct dst_entry *dst = NULL; in nf_send_reset6()
Dip6t_SYNPROXY.c47 struct dst_entry *dst; in synproxy_send_tcp()
/linux-4.4.14/net/netfilter/ipvs/
Dip_vs_xmit.c75 struct dst_entry *dst, u32 dst_cookie) in __ip_vs_dst_set()
96 struct dst_entry *dst; in __ip_vs_dst_check()
365 static struct dst_entry *
369 struct dst_entry *dst; in __ip_vs_route_output_v6()
414 struct dst_entry *dst; in __ip_vs_get_out_rt_v6()
Dip_vs_core.c713 struct dst_entry *dst = skb_dst(skb); in ip_vs_route_me_harder()
Dip_vs_ctl.c82 struct dst_entry *dst = ip6_route_output(net, NULL, &fl6); in __ip_vs_addr_is_local_v6()
/linux-4.4.14/net/sched/
Dsch_teql.c221 struct dst_entry *dst) in __teql_resolve()
262 struct dst_entry *dst = skb_dst(skb); in teql_resolve()
Dcls_route.c132 struct dst_entry *dst; in route4_classify()
/linux-4.4.14/net/mpls/
Dmpls_iptunnel.c48 struct dst_entry *dst = skb_dst(skb); in mpls_output()
Daf_mpls.c470 struct dst_entry *dst; in inet6_fib_lookup_dev()
/linux-4.4.14/drivers/infiniband/core/
Daddr.c201 static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr, void *daddr) in dst_fetch_ha()
272 struct dst_entry *dst; in addr6_resolve()
/linux-4.4.14/net/openvswitch/
Dactions.c648 ovs_dst_get_mtu(const struct dst_entry *dst) in ovs_dst_get_mtu()
689 struct dst_entry ovs_dst; in ovs_fragment()
898 dst_hold((struct dst_entry *)tun->tun_dst); in execute_set_action()
899 skb_dst_set(skb, (struct dst_entry *)tun->tun_dst); in execute_set_action()
Dflow_netlink.c1700 dst_release((struct dst_entry *)ovs_tun->tun_dst); in ovs_nla_free_set_action()
1965 dst_release((struct dst_entry *)tun_dst); in validate_and_copy_set_tun()
/linux-4.4.14/drivers/infiniband/hw/cxgb4/
Diw_cxgb4.h821 struct dst_entry *dst;
921 int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
Dcm.c384 static struct dst_entry *find_route6(struct c4iw_dev *dev, __u8 *local_ip, in find_route6()
389 struct dst_entry *dst = NULL; in find_route6()
413 static struct dst_entry *find_route(struct c4iw_dev *dev, __be32 local_ip, in find_route()
1930 struct dst_entry *dst, struct c4iw_dev *cdev, in import_ep()
2386 struct dst_entry *dst; in pass_accept_req()
3786 struct dst_entry *dst; in rx_pkt()
/linux-4.4.14/net/tipc/
Dudp_media.c197 struct dst_entry *ndst; in tipc_udp_send_msg()
/linux-4.4.14/net/sctp/
Dtransport.c238 struct dst_entry *dst; in sctp_transport_update_pmtu()
Doutput.c390 struct dst_entry *dst; in sctp_packet_transmit()
Dinput.c421 struct dst_entry *dst; in sctp_icmp_redirect()
Dipv6.c237 struct dst_entry *dst = NULL; in sctp_v6_get_dst()
Dprotocol.c431 struct dst_entry *dst = NULL; in sctp_v4_get_dst()
/linux-4.4.14/include/net/sctp/
Dsctp.h593 static inline struct dst_entry *sctp_transport_dst_check(struct sctp_transport *t) in sctp_transport_dst_check()
Dstructs.h834 struct dst_entry *dst;
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.h223 struct dst_entry *dst;
Dlibcxgbi.c600 struct dst_entry *dst; in cxgbi_check_route()
701 struct dst_entry *dst; in cxgbi_check_route6()
768 struct inet6_dev *idev = ip6_dst_idev((struct dst_entry *)rt); in cxgbi_check_route6()
1069 struct dst_entry *dst = csk->dst; in cxgbi_sock_select_mss()
/linux-4.4.14/drivers/net/ipvlan/
Dipvlan_core.c388 struct dst_entry *dst; in ipvlan_process_v6_outbound()
/linux-4.4.14/net/l2tp/
Dl2tp_ip6.c494 struct dst_entry *dst = NULL; in l2tp_ip6_sendmsg()
Dl2tp_ppp.c597 struct dst_entry *dst; in pppol2tp_connect()
/linux-4.4.14/net/atm/
Dclip.c331 struct dst_entry *dst = skb_dst(skb); in clip_start_xmit()
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/
Dcxgb3i.c955 struct dst_entry *dst = csk->dst; in init_act_open()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic.c3677 struct dst_entry **dst) in cnic_get_v4_route()
3694 struct dst_entry **dst) in cnic_get_v6_route()
3720 struct dst_entry *dst; in cnic_cm_select_dev()
3764 struct dst_entry *dst = NULL; in cnic_get_route()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c2626 struct dst_entry *dst; in qeth_l3_get_cast_type()
2704 struct dst_entry *dst; in qeth_l3_fill_header()