/linux-4.4.14/include/net/ |
D | dst.h | 33 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 …]
|
D | dst_ops.h | 7 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 …]
|
D | l3mdev.h | 36 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()
|
D | netevent.h | 14 struct dst_entry; 18 struct dst_entry *old; 19 struct dst_entry *new;
|
D | ip6_route.h | 67 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()
|
D | inet6_connection_sock.h | 28 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);
|
D | ip6_tunnel.h | 37 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);
|
D | dst_metadata.h | 9 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()
|
D | dn_route.h | 19 int dn_route_output_sock(struct dst_entry __rcu **pprt, struct flowidn *, 71 struct dst_entry dst;
|
D | inet_connection_sock.h | 46 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);
|
D | tcp.h | 419 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 …]
|
D | ip6_fib.h | 97 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,
|
D | route.h | 53 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()
|
D | sock.h | 393 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 …]
|
D | icmp.h | 37 struct dst_entry;
|
D | ipv6.h | 699 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);
|
D | udp_tunnel.h | 87 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk,
|
D | xfrm.h | 288 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);
|
D | request_sock.h | 27 struct dst_entry;
|
D | inet_sock.h | 122 struct dst_entry *dst;
|
D | ip.h | 281 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()
|
D | ip_tunnels.h | 89 struct dst_entry __rcu *dst;
|
D | addrconf.h | 193 struct dst_entry **dst, struct flowi6 *fl6);
|
D | ip_vs.h | 415 struct dst_entry; 650 struct dst_entry *dst_cache; /* destination cache entry */
|
/linux-4.4.14/net/core/ |
D | dst.c | 47 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 …]
|
D | lwtunnel.c | 185 struct dst_entry *dst = skb_dst(skb); in lwtunnel_output() 219 struct dst_entry *dst = skb_dst(skb); in lwtunnel_input()
|
D | sock.c | 529 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()
|
D | filter.c | 1498 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()
|
D | rtnetlink.c | 709 int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, u32 id, in rtnl_put_cacheinfo()
|
D | neighbour.c | 1197 struct dst_entry *dst = skb_dst(skb); in neigh_update()
|
D | pktgen.c | 401 struct dst_entry dst;
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 196 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/ |
D | br_nf_core.c | 28 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()
|
D | br_netfilter_hooks.c | 259 struct dst_entry *dst; in br_nf_pre_routing_finish_bridge()
|
/linux-4.4.14/net/ipv6/ |
D | inet6_connection_sock.c | 68 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()
|
D | xfrm6_policy.c | 30 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()
|
D | route.c | 80 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 …]
|
D | netfilter.c | 25 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()
|
D | xfrm6_output.c | 74 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_check_size() 144 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output()
|
D | ila.c | 96 struct dst_entry *dst = skb_dst(skb); in ila_output() 112 struct dst_entry *dst = skb_dst(skb); in ila_input()
|
D | ip6_output.c | 62 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 …]
|
D | icmp.c | 177 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()
|
D | tcp_ipv6.c | 94 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()
|
D | xfrm6_mode_tunnel.c | 35 struct dst_entry *dst = skb_dst(skb); in xfrm6_mode_tunnel_output()
|
D | ip6_udp_tunnel.c | 72 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, in udp_tunnel6_xmit_skb()
|
D | addrconf_core.c | 111 struct dst_entry **u2, in eafnosupport_ipv6_dst_lookup()
|
D | output_core.c | 121 int ip6_dst_hoplimit(struct dst_entry *dst) in ip6_dst_hoplimit()
|
D | ping.c | 91 struct dst_entry *dst; in ping_v6_sendmsg()
|
D | ip6_tunnel.c | 130 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()
|
D | syncookies.c | 148 struct dst_entry *dst; in cookie_v6_check()
|
D | ipv6_sockglue.c | 1077 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()
|
D | fib6_rules.c | 32 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup()
|
D | raw.c | 613 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc() 745 struct dst_entry *dst = NULL; in rawv6_sendmsg()
|
D | exthdrs.c | 256 struct dst_entry *dst = skb_dst(skb); in ipv6_destopt_rcv()
|
D | ndisc.c | 434 struct dst_entry *dst = skb_dst(skb); in ndisc_send_skb() 1495 struct dst_entry *dst; in ndisc_send_redirect()
|
D | af_inet6.c | 647 struct dst_entry *dst; in inet6_sk_rebuild_header()
|
D | ip6_fib.c | 286 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()
|
D | datagram.c | 49 struct dst_entry *dst; in __ip6_datagram_connect()
|
D | ip6_vti.c | 434 struct dst_entry *dst = skb_dst(skb); in vti6_xmit()
|
D | mcast.c | 1614 struct dst_entry *dst; in mld_sendpack() 1946 struct dst_entry *dst; in igmp6_send()
|
D | udp.c | 1114 struct dst_entry *dst; in udpv6_sendmsg()
|
D | ip6_gre.c | 617 struct dst_entry *dst = NULL, *ndst = NULL; in ip6gre_xmit2()
|
D | ip6mr.c | 2004 struct dst_entry *dst; in ip6mr_forward2()
|
/linux-4.4.14/net/ipv4/ |
D | xfrm4_policy.c | 22 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()
|
D | route.c | 137 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 …]
|
D | tcp_metrics.c | 97 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 …]
|
D | netfilter.c | 59 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()
|
D | tcp_fastopen.c | 129 struct dst_entry *dst, in tcp_fastopen_create_child() 259 struct dst_entry *dst) in tcp_try_fastopen()
|
D | inet_connection_sock.c | 409 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()
|
D | ip_tunnel.c | 73 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()
|
D | xfrm4_mode_tunnel.c | 32 struct dst_entry *dst = skb_dst(skb); in xfrm4_mode_tunnel_output()
|
D | syncookies.c | 220 struct dst_entry *dst) in tcp_get_cookie_sock() 276 const struct net *net, const struct dst_entry *dst) in cookie_ecn_ok()
|
D | datagram.c | 107 struct dst_entry *dst; in ip4_datagram_release_cb()
|
D | tcp_ipv4.c | 274 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()
|
D | arp.c | 302 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()
|
D | tcp_minisocks.c | 369 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()
|
D | tcp_output.c | 124 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()
|
D | udp.c | 1652 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()
|
D | ip_vti.c | 157 struct dst_entry *dst = skb_dst(skb); in vti_xmit()
|
D | ip_output.c | 122 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()
|
D | tcp_input.c | 204 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()
|
D | icmp.c | 292 struct dst_entry *dst = &rt->dst; in icmpv4_xrlim_allow()
|
D | ip_sockglue.c | 1363 struct dst_entry *dst; in do_ip_getsockopt()
|
/linux-4.4.14/net/decnet/ |
D | dn_route.c | 113 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 …]
|
D | dn_neigh.c | 174 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()
|
D | dn_nsp_out.c | 78 struct dst_entry *dst; in dn_nsp_send() 548 struct dst_entry *dst, in dn_nsp_do_disc()
|
D | af_decnet.c | 913 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/ |
D | vrf.c | 74 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 …]
|
D | geneve.c | 675 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()
|
D | vxlan.c | 1194 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/ |
D | xfrm_policy.c | 43 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 …]
|
D | xfrm_output.c | 26 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/ |
D | iwch_cm.h | 184 struct dst_entry *dst; 227 int iwch_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new, struct l2t_entry *l2t…
|
D | iwch_cm.c | 1345 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/ |
D | cxgb3_offload.h | 87 int (*redirect)(void *ctx, struct dst_entry *old, 88 struct dst_entry *new, struct l2t_entry *l2t);
|
D | l2t.h | 112 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst,
|
D | cxgb3_offload.c | 67 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()
|
D | l2t.c | 301 struct l2t_entry *t3_l2t_get(struct t3cdev *cdev, struct dst_entry *dst, in t3_l2t_get()
|
/linux-4.4.14/security/selinux/ |
D | xfrm.c | 212 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/ |
D | sunrpc.h | 48 struct dst_entry *dst; in sock_is_loopback()
|
/linux-4.4.14/net/netfilter/ |
D | xt_realm.c | 28 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
|
D | xt_addrtype.c | 61 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()
|
D | xt_policy.c | 89 const struct dst_entry *dst = skb_dst(skb); in match_policy_out()
|
D | xt_TCPMSS.c | 68 ai->route(net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
|
D | nft_meta.c | 122 const struct dst_entry *dst = skb_dst(skb); in nft_meta_get_eval()
|
D | nf_conntrack_h323_main.c | 754 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()
|
D | nf_nat_core.c | 90 struct dst_entry *dst; in nf_xfrm_me_harder()
|
/linux-4.4.14/net/dccp/ |
D | ipv4.c | 151 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()
|
D | ipv6.c | 124 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()
|
D | dccp.h | 281 struct dst_entry *dst, 298 struct sk_buff *dccp_make_response(const struct sock *sk, struct dst_entry *dst,
|
D | output.c | 393 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/ |
D | netfilter_bridge.h | 24 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
|
D | rtnetlink.h | 16 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
|
D | netfilter.h | 281 int (*route)(struct net *net, struct dst_entry **dst,
|
D | skbuff.h | 743 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()
|
D | security.h | 104 struct dst_entry;
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_dup_ipv6.c | 26 struct dst_entry *dst; in nf_dup_ipv6_route()
|
D | nf_reject_ipv6.c | 141 struct dst_entry *dst = NULL; in nf_send_reset6()
|
D | ip6t_SYNPROXY.c | 47 struct dst_entry *dst; in synproxy_send_tcp()
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 75 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()
|
D | ip_vs_core.c | 713 struct dst_entry *dst = skb_dst(skb); in ip_vs_route_me_harder()
|
D | ip_vs_ctl.c | 82 struct dst_entry *dst = ip6_route_output(net, NULL, &fl6); in __ip_vs_addr_is_local_v6()
|
/linux-4.4.14/net/sched/ |
D | sch_teql.c | 221 struct dst_entry *dst) in __teql_resolve() 262 struct dst_entry *dst = skb_dst(skb); in teql_resolve()
|
D | cls_route.c | 132 struct dst_entry *dst; in route4_classify()
|
/linux-4.4.14/net/mpls/ |
D | mpls_iptunnel.c | 48 struct dst_entry *dst = skb_dst(skb); in mpls_output()
|
D | af_mpls.c | 470 struct dst_entry *dst; in inet6_fib_lookup_dev()
|
/linux-4.4.14/drivers/infiniband/core/ |
D | addr.c | 201 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/ |
D | actions.c | 648 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()
|
D | flow_netlink.c | 1700 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/ |
D | iw_cxgb4.h | 821 struct dst_entry *dst; 921 int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
|
D | cm.c | 384 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/ |
D | udp_media.c | 197 struct dst_entry *ndst; in tipc_udp_send_msg()
|
/linux-4.4.14/net/sctp/ |
D | transport.c | 238 struct dst_entry *dst; in sctp_transport_update_pmtu()
|
D | output.c | 390 struct dst_entry *dst; in sctp_packet_transmit()
|
D | input.c | 421 struct dst_entry *dst; in sctp_icmp_redirect()
|
D | ipv6.c | 237 struct dst_entry *dst = NULL; in sctp_v6_get_dst()
|
D | protocol.c | 431 struct dst_entry *dst = NULL; in sctp_v4_get_dst()
|
/linux-4.4.14/include/net/sctp/ |
D | sctp.h | 593 static inline struct dst_entry *sctp_transport_dst_check(struct sctp_transport *t) in sctp_transport_dst_check()
|
D | structs.h | 834 struct dst_entry *dst;
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 223 struct dst_entry *dst;
|
D | libcxgbi.c | 600 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/ |
D | ipvlan_core.c | 388 struct dst_entry *dst; in ipvlan_process_v6_outbound()
|
/linux-4.4.14/net/l2tp/ |
D | l2tp_ip6.c | 494 struct dst_entry *dst = NULL; in l2tp_ip6_sendmsg()
|
D | l2tp_ppp.c | 597 struct dst_entry *dst; in pppol2tp_connect()
|
/linux-4.4.14/net/atm/ |
D | clip.c | 331 struct dst_entry *dst = skb_dst(skb); in clip_start_xmit()
|
/linux-4.4.14/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 955 struct dst_entry *dst = csk->dst; in init_act_open()
|
/linux-4.4.14/drivers/net/ethernet/broadcom/ |
D | cnic.c | 3677 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/ |
D | qeth_l3_main.c | 2626 struct dst_entry *dst; in qeth_l3_get_cast_type() 2704 struct dst_entry *dst; in qeth_l3_fill_header()
|