/linux-4.1.27/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 101 struct dst_entry *next; argument 108 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); 118 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() 123 static inline void dst_metrics_set_force_overwrite(struct dst_entry *dst) in dst_metrics_set_force_overwrite() 128 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 130 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() [all …]
|
D | dst_ops.h | 7 struct dst_entry; 18 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); 19 unsigned int (*default_advmss)(const struct dst_entry *); 20 unsigned int (*mtu)(const struct dst_entry *); 21 u32 * (*cow_metrics)(struct dst_entry *, unsigned long); 22 void (*destroy)(struct dst_entry *); 23 void (*ifdown)(struct dst_entry *, 25 struct dst_entry * (*negative_advice)(struct dst_entry *); 27 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk, 29 void (*redirect)(struct dst_entry *dst, struct sock *sk, [all …]
|
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() 159 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store()
|
D | ip6_fib.h | 95 struct dst_entry dst; 162 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev() 194 struct dst_entry *new = (struct dst_entry *) from; in rt6_set_from() 285 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
|
D | ip6_tunnel.h | 42 struct dst_entry *dst_cache; /* cached dst */ 63 struct dst_entry *ip6_tnl_dst_check(struct ip6_tnl *t); 65 void ip6_tnl_dst_store(struct ip6_tnl *t, struct dst_entry *dst);
|
D | inet6_connection_sock.h | 28 struct dst_entry *inet6_csk_route_req(struct sock *sk, struct flowi6 *fl6, 44 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
|
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); 269 struct dst_entry *inet_csk_route_req(struct sock *sk, struct flowi4 *fl4, 271 struct dst_entry *inet_csk_route_child_sock(struct sock *sk, struct sock *newsk, 329 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
|
D | route.h | 51 struct dst_entry dst; 116 struct dst_entry *ipv4_blackhole_route(struct net *net, 117 struct dst_entry *dst_orig); 309 static inline int ip4_dst_hoplimit(const struct dst_entry *dst) in ip4_dst_hoplimit()
|
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); 464 struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, 503 const struct net *net, const struct dst_entry *dst); 631 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_rto_min() 644 static inline bool tcp_ca_dst_locked(const struct dst_entry *dst) in tcp_ca_dst_locked() 995 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst); 1144 struct sock *sk, struct dst_entry *dst); [all …]
|
D | sock.h | 376 struct dst_entry *sk_rx_dst; 377 struct dst_entry __rcu *sk_dst_cache; 1700 static inline struct dst_entry * 1707 static inline struct dst_entry * 1710 struct dst_entry *dst; in sk_dst_get() 1722 struct dst_entry *ndst, *dst = __sk_dst_get(sk); in dst_negative_advice() 1735 __sk_dst_set(struct sock *sk, struct dst_entry *dst) in __sk_dst_set() 1737 struct dst_entry *old_dst; in __sk_dst_set() 1750 sk_dst_set(struct sock *sk, struct dst_entry *dst) in sk_dst_set() 1752 struct dst_entry *old_dst; in sk_dst_set() [all …]
|
D | ipv6.h | 696 int ip6_dst_hoplimit(struct dst_entry *dst); 699 struct dst_entry *dst) in ip6_sk_dst_hoplimit() 830 int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6); 831 struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, 833 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, 835 struct dst_entry *ip6_blackhole_route(struct net *net, 836 struct dst_entry *orig_dst);
|
D | icmp.h | 37 struct dst_entry;
|
D | udp_tunnel.h | 86 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk,
|
D | xfrm.h | 287 struct dst_entry *(*dst_lookup)(struct net *net, int tos, 298 struct dst_entry *dst, 303 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig); 940 struct dst_entry dst; 944 struct dst_entry *route; 976 void xfrm_dst_ifdown(struct dst_entry *dst, struct net_device *dev);
|
D | inet_sock.h | 122 struct dst_entry *dst;
|
D | ip_tunnels.h | 50 struct dst_entry __rcu *dst;
|
D | request_sock.h | 27 struct dst_entry;
|
D | ip.h | 275 int ip_dont_fragment(struct sock *sk, struct dst_entry *dst) in ip_dont_fragment() 299 static inline unsigned int ip_dst_mtu_maybe_forward(const struct dst_entry *dst, in ip_dst_mtu_maybe_forward()
|
D | addrconf.h | 160 int (*ipv6_dst_lookup)(struct sock *sk, struct dst_entry **dst,
|
D | ip_vs.h | 422 struct dst_entry; 685 struct dst_entry *dst_cache; /* destination cache entry */
|
/linux-4.1.27/net/core/ |
D | dst.c | 45 struct dst_entry *list; 53 static void ___dst_free(struct dst_entry *dst); 61 static struct dst_entry *dst_busy_list; 68 struct dst_entry *dst, *next, head; in dst_gc_task() 69 struct dst_entry *last = &head; in dst_gc_task() 165 struct dst_entry *dst; in dst_alloc() 207 static void ___dst_free(struct dst_entry *dst) in ___dst_free() 219 void __dst_free(struct dst_entry *dst) in __dst_free() 235 struct dst_entry *dst_destroy(struct dst_entry * dst) in dst_destroy() 237 struct dst_entry *child; in dst_destroy() [all …]
|
D | sock.c | 516 struct dst_entry *__sk_dst_check(struct sock *sk, u32 cookie) in __sk_dst_check() 518 struct dst_entry *dst = __sk_dst_get(sk); in __sk_dst_check() 531 struct dst_entry *sk_dst_check(struct sock *sk, u32 cookie) in sk_dst_check() 533 struct dst_entry *dst = sk_dst_get(sk); in sk_dst_check() 1592 void sk_setup_caps(struct sock *sk, struct dst_entry *dst) in sk_setup_caps()
|
D | rtnetlink.c | 702 int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst, u32 id, in rtnl_put_cacheinfo()
|
D | pktgen.c | 397 struct dst_entry dst;
|
D | neighbour.c | 1190 struct dst_entry *dst = skb_dst(skb); in neigh_update()
|
/linux-4.1.27/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.c | 312 struct dst_entry *dst; in br_nf_pre_routing_finish_bridge()
|
/linux-4.1.27/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() 366 struct datagram_entry *dst_entry; in vmci_datagram_invoke_guest_handler() local 376 dst_entry = container_of(resource, struct datagram_entry, resource); in vmci_datagram_invoke_guest_handler() 377 if (dst_entry->run_delayed) { in vmci_datagram_invoke_guest_handler() 388 dg_info->entry = dst_entry; in vmci_datagram_invoke_guest_handler() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | inet6_connection_sock.c | 68 struct dst_entry *inet6_csk_route_req(struct sock *sk, in inet6_csk_route_req() 75 struct dst_entry *dst; in inet6_csk_route_req() 179 void __inet6_csk_dst_store(struct sock *sk, struct dst_entry *dst, in __inet6_csk_dst_store() 187 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) in __inet6_csk_dst_check() 192 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, in inet6_csk_route_socket() 198 struct dst_entry *dst; in inet6_csk_route_socket() 230 struct dst_entry *dst; in inet6_csk_xmit() 254 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) in inet6_csk_update_pmtu() 257 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
|
D | xfrm6_policy.c | 29 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, in xfrm6_dst_lookup() 34 struct dst_entry *dst; in xfrm6_dst_lookup() 56 struct dst_entry *dst; in xfrm6_get_saddr() 81 static int xfrm6_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm6_init_path() 233 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu() 237 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu() 242 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect() 246 struct dst_entry *path = xdst->route; in xfrm6_redirect() 251 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy() 265 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm6_dst_ifdown()
|
D | route.c | 77 static struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie); 78 static unsigned int ip6_default_advmss(const struct dst_entry *dst); 79 static unsigned int ip6_mtu(const struct dst_entry *dst); 80 static struct dst_entry *ip6_negative_advice(struct dst_entry *); 81 static void ip6_dst_destroy(struct dst_entry *); 82 static void ip6_dst_ifdown(struct dst_entry *, 91 static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, 93 static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk, 137 static u32 *ipv6_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv6_cow_metrics() 181 static struct neighbour *ip6_neigh_lookup(const struct dst_entry *dst, in ip6_neigh_lookup() [all …]
|
D | netfilter.c | 26 struct dst_entry *dst; in ip6_route_me_harder() 111 static int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route() 121 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() 136 struct dst_entry *dst = skb_dst(skb); in __xfrm6_output()
|
D | ip6_output.c | 61 struct dst_entry *dst = skb_dst(skb); in ip6_finish_output2() 162 struct dst_entry *dst = skb_dst(skb); in ip6_xmit() 326 static unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) in ip6_dst_mtu_forward() 367 struct dst_entry *dst = skb_dst(skb); in ip6_forward() 836 static struct dst_entry *ip6_sk_dst_check(struct sock *sk, in ip6_sk_dst_check() 837 struct dst_entry *dst, in ip6_sk_dst_check() 883 struct dst_entry **dst, struct flowi6 *fl6) in ip6_dst_lookup_tail() 998 int ip6_dst_lookup(struct sock *sk, struct dst_entry **dst, struct flowi6 *fl6) in ip6_dst_lookup() 1016 struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6, in ip6_dst_lookup_flow() 1019 struct dst_entry *dst = NULL; in ip6_dst_lookup_flow() [all …]
|
D | icmp.c | 176 struct dst_entry *dst; in icmpv6_xrlim_allow() 323 static struct dst_entry *icmpv6_route_lookup(struct net *net, in icmpv6_route_lookup() 328 struct dst_entry *dst, *dst2; in icmpv6_route_lookup() 398 struct dst_entry *dst; in icmp6_send() 557 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() 126 struct dst_entry *dst; in tcp_v6_connect() 308 struct dst_entry *dst; in tcp_v6_mtu_reduced() 380 struct dst_entry *dst = __sk_dst_check(sk, np->dst_cookie); in tcp_v6_err() 441 static int tcp_v6_send_synack(struct sock *sk, struct dst_entry *dst, in tcp_v6_send_synack() 697 static struct dst_entry *tcp_v6_route_req(struct sock *sk, struct flowi *fl, in tcp_v6_route_req() 745 struct dst_entry *dst; in tcp_v6_send_response() 996 struct dst_entry *dst) in tcp_v6_syn_recv_sock() 1243 struct dst_entry *dst = sk->sk_rx_dst; in tcp_v6_do_rcv() 1544 struct dst_entry *dst = READ_ONCE(sk->sk_rx_dst); in tcp_v6_early_demux()
|
D | syncookies.c | 46 struct dst_entry *dst) in get_cookie_sock() 168 struct dst_entry *dst; in cookie_v6_check()
|
D | ip6_udp_tunnel.c | 65 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, in udp_tunnel6_xmit_skb()
|
D | xfrm6_mode_tunnel.c | 36 struct dst_entry *dst = skb_dst(skb); in xfrm6_mode_tunnel_output()
|
D | output_core.c | 119 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 | 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 | ip6_tunnel.c | 129 struct dst_entry *ip6_tnl_dst_check(struct ip6_tnl *t) in ip6_tnl_dst_check() 131 struct dst_entry *dst = t->dst_cache; in ip6_tnl_dst_check() 151 void ip6_tnl_dst_store(struct ip6_tnl *t, struct dst_entry *dst) in ip6_tnl_dst_store() 983 struct dst_entry *dst = NULL, *ndst = NULL; in ip6_tnl_xmit2()
|
D | ip6_fib.c | 255 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6, in fib6_rule_lookup() 258 return (struct dst_entry *) lookup(net, net->ipv6.fib6_main_tbl, fl6, flags); in fib6_rule_lookup() 642 static int fib6_commit_metrics(struct dst_entry *dst, struct mx6_config *mxc) in fib6_commit_metrics()
|
D | raw.c | 612 struct flowi6 *fl6, struct dst_entry **dstp, in rawv6_send_hdrinc() 743 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 | 432 struct dst_entry *dst = skb_dst(skb); in ndisc_send_skb() 1469 struct dst_entry *dst; in ndisc_send_redirect()
|
D | af_inet6.c | 644 struct dst_entry *dst; in inet6_sk_rebuild_header()
|
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 | 1615 struct dst_entry *dst; in mld_sendpack() 1947 struct dst_entry *dst; in igmp6_send()
|
D | udp.c | 1113 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 | 2009 struct dst_entry *dst; in ip6mr_forward2()
|
/linux-4.1.27/net/ipv4/ |
D | xfrm4_policy.c | 21 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 41 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, in xfrm4_dst_lookup() 53 struct dst_entry *dst; in xfrm4_get_saddr() 70 static int xfrm4_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm4_init_path() 197 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu() 201 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu() 206 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect() 210 struct dst_entry *path = xdst->route; in xfrm4_redirect() 215 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy() 224 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm4_dst_ifdown()
|
D | route.c | 133 static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie); 134 static unsigned int ipv4_default_advmss(const struct dst_entry *dst); 135 static unsigned int ipv4_mtu(const struct dst_entry *dst); 136 static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst); 138 static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, 140 static void ip_do_redirect(struct dst_entry *dst, struct sock *sk, 142 static void ipv4_dst_destroy(struct dst_entry *dst); 144 static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv4_cow_metrics() 150 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, 439 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, in ipv4_neigh_lookup() [all …]
|
D | tcp_metrics.c | 101 const struct dst_entry *dst, in tcpm_suck_dst() 143 static void tcpm_check_stamp(struct tcp_metrics_block *tm, struct dst_entry *dst) in tcpm_check_stamp() 155 static struct tcp_metrics_block *tcpm_new(struct dst_entry *dst, in tcpm_new() 239 struct dst_entry *dst) in __tcp_get_metrics_req() 329 struct dst_entry *dst, in tcp_get_metrics() 386 struct dst_entry *dst = __sk_dst_get(sk); in tcp_update_metrics() 506 struct dst_entry *dst = __sk_dst_get(sk); in tcp_init_metrics() 595 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst, in tcp_peer_is_proven() 626 void tcp_fetch_timewait_stamp(struct sock *sk, struct dst_entry *dst) in tcp_fetch_timewait_stamp() 651 struct dst_entry *dst = __sk_dst_get(sk); in tcp_remember_stamp() [all …]
|
D | netfilter.c | 60 struct dst_entry *dst = skb_dst(skb); in ip_route_me_harder() 176 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() 267 struct dst_entry *dst) in tcp_try_fastopen()
|
D | inet_connection_sock.c | 402 struct dst_entry *inet_csk_route_req(struct sock *sk, in inet_csk_route_req() 433 struct dst_entry *inet_csk_route_child_sock(struct sock *sk, in inet_csk_route_child_sock() 935 static struct dst_entry *inet_csk_rebuild_route(struct sock *sk, struct flowi *fl) in inet_csk_rebuild_route() 961 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu) in inet_csk_update_pmtu() 963 struct dst_entry *dst = __sk_dst_check(sk, 0); in inet_csk_update_pmtu()
|
D | xfrm4_mode_tunnel.c | 32 struct dst_entry *dst = skb_dst(skb); in xfrm4_mode_tunnel_output()
|
D | syncookies.c | 224 struct dst_entry *dst) in get_cookie_sock() 277 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() 824 static int tcp_v4_send_synack(struct sock *sk, struct dst_entry *dst, in tcp_v4_send_synack() 1186 static struct dst_entry *tcp_v4_route_req(struct sock *sk, struct flowi *fl, in tcp_v4_route_req() 1190 struct dst_entry *dst = inet_csk_route_req(sk, &fl->u.ip4, req); in tcp_v4_route_req() 1250 struct dst_entry *dst) in tcp_v4_syn_recv_sock() 1392 struct dst_entry *dst = sk->sk_rx_dst; in tcp_v4_do_rcv() 1477 struct dst_entry *dst = READ_ONCE(sk->sk_rx_dst); in tcp_v4_early_demux() 1718 struct dst_entry *dst = skb_dst(skb); in inet_sk_rx_dst_set()
|
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()
|
D | tcp_output.c | 124 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_advertise_mss() 141 static void tcp_cwnd_restart(struct sock *sk, const struct dst_entry *dst) in tcp_cwnd_restart() 166 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_event_data_sent() 337 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_ecn_send_syn() 1309 const struct dst_entry *dst = __sk_dst_get(sk); in __tcp_mtu_to_mss() 1350 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_mss_to_mtu() 1425 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_current_mss() 2948 struct sk_buff *tcp_make_synack(struct sock *sk, struct dst_entry *dst, in tcp_make_synack() 3030 static void tcp_ca_dst_init(struct sock *sk, const struct dst_entry *dst) in tcp_ca_dst_init() 3052 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_connect_init()
|
D | tcp_minisocks.c | 367 struct sock *sk, struct dst_entry *dst) in tcp_openreq_init_rwin() 403 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst) in tcp_ca_openreq_child()
|
D | udp.c | 1641 static void udp_sk_rx_dst_set(struct sock *sk, struct dst_entry *dst) in udp_sk_rx_dst_set() 1643 struct dst_entry *old; in udp_sk_rx_dst_set() 1780 struct dst_entry *dst = skb_dst(skb); in __udp4_lib_rcv() 1964 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 | 121 static inline int ip_select_ttl(struct inet_sock *inet, struct dst_entry *dst) in ip_select_ttl() 173 struct dst_entry *dst = skb_dst(skb); in ip_finish_output2()
|
D | tcp_input.c | 804 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst) in tcp_init_cwnd() 3582 struct dst_entry *dst = __sk_dst_get(sk); in tcp_ack() 3954 const struct dst_entry *dst; in tcp_fin() 5843 struct dst_entry *dst; in tcp_rcv_state_process() 5996 const struct dst_entry *dst) in tcp_ecn_create_request() 6094 struct dst_entry *dst = NULL; in tcp_conn_request()
|
D | icmp.c | 291 struct dst_entry *dst = &rt->dst; in icmpv4_xrlim_allow()
|
D | ip_sockglue.c | 1343 struct dst_entry *dst; in do_ip_getsockopt()
|
/linux-4.1.27/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() 336 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.1.27/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, int tos, in __xfrm_dst_lookup() 124 struct dst_entry *dst; in __xfrm_dst_lookup() 137 static inline struct dst_entry *xfrm_dst_lookup(struct xfrm_state *x, int tos, in xfrm_dst_lookup() 145 struct dst_entry *dst; in xfrm_dst_lookup() 1510 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_get() 1533 struct dst_entry *dst = &xdst->u.dst; in xfrm_bundle_flo_check() 1546 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() 43 struct dst_entry *dst = skb_dst(skb); in xfrm_output_one()
|
/linux-4.1.27/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.1.27/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.1.27/security/selinux/ |
D | xfrm.c | 215 struct dst_entry *dst = skb_dst(skb); in selinux_xfrm_skb_sid_egress() 440 struct dst_entry *dst; in selinux_xfrm_postroute_last() 456 struct dst_entry *iter; in selinux_xfrm_postroute_last()
|
/linux-4.1.27/net/sunrpc/ |
D | sunrpc.h | 48 struct dst_entry *dst; in sock_is_loopback()
|
/linux-4.1.27/net/netfilter/ |
D | xt_realm.c | 28 const struct dst_entry *dst = skb_dst(skb); in realm_mt()
|
D | xt_TEE.c | 45 const struct dst_entry *dst; in pick_net() 143 struct dst_entry *dst; in tee_tg_route6()
|
D | xt_policy.c | 89 const struct dst_entry *dst = skb_dst(skb); in match_policy_out()
|
D | xt_addrtype.c | 61 route_err = afinfo->route(net, (struct dst_entry **)&rt, in match_lookup_rt6()
|
D | xt_TCPMSS.c | 68 ai->route(net, (struct dst_entry **)&rt, &fl, false); in tcpmss_reverse_mtu()
|
D | nft_meta.c | 119 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.1.27/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() 395 struct dst_entry *dst) in dccp_v4_request_recv_sock() 476 static struct dst_entry* dccp_v4_route_skb(struct net *net, struct sock *sk, in dccp_v4_route_skb() 505 struct dst_entry *dst; in dccp_v4_send_response() 535 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() 419 struct dst_entry *dst) in dccp_v6_request_recv_sock() 806 struct dst_entry *dst; in dccp_v6_connect()
|
D | dccp.h | 281 struct dst_entry *dst); 296 struct sk_buff *dccp_make_response(struct sock *sk, struct dst_entry *dst,
|
D | output.c | 393 struct sk_buff *dccp_make_response(struct sock *sk, struct dst_entry *dst, in dccp_make_response() 534 struct dst_entry *dst = __sk_dst_get(sk); in dccp_connect()
|
/linux-4.1.27/include/linux/ |
D | netfilter_bridge.h | 34 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 | 263 int (*route)(struct net *net, struct dst_entry **dst,
|
D | skbuff.h | 711 static inline struct dst_entry *skb_dst(const struct sk_buff *skb) in skb_dst() 719 return (struct dst_entry *)(skb->_skb_refdst & SKB_DST_PTRMASK); in skb_dst() 730 static inline void skb_dst_set(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set() 745 static inline void skb_dst_set_noref(struct sk_buff *skb, struct dst_entry *dst) in skb_dst_set_noref()
|
D | security.h | 110 struct dst_entry;
|
/linux-4.1.27/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() 364 static struct dst_entry * 368 struct dst_entry *dst; in __ip_vs_route_output_v6() 409 struct dst_entry *dst; in __ip_vs_get_out_rt_v6()
|
D | ip_vs_core.c | 690 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.1.27/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.1.27/drivers/infiniband/core/ |
D | addr.c | 202 static int dst_fetch_ha(struct dst_entry *dst, struct rdma_dev_addr *dev_addr, void *daddr) in dst_fetch_ha() 273 struct dst_entry *dst; in addr6_resolve()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | iw_cxgb4.h | 833 struct dst_entry *dst; 933 int c4iw_ep_redirect(void *ctx, struct dst_entry *old, struct dst_entry *new,
|
D | cm.c | 373 static struct dst_entry *find_route6(struct c4iw_dev *dev, __u8 *local_ip, in find_route6() 378 struct dst_entry *dst = NULL; in find_route6() 402 static struct dst_entry *find_route(struct c4iw_dev *dev, __be32 local_ip, in find_route() 1873 struct dst_entry *dst, struct c4iw_dev *cdev, in import_ep() 2302 struct dst_entry *dst; in pass_accept_req() 3658 struct dst_entry *dst; in rx_pkt()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 141 struct dst_entry *dst = NULL; in nf_send_reset6()
|
D | ip6t_SYNPROXY.c | 46 struct dst_entry *dst; in synproxy_send_tcp()
|
/linux-4.1.27/net/tipc/ |
D | udp_media.c | 191 struct dst_entry *ndst; in tipc_udp_send_msg()
|
/linux-4.1.27/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.1.27/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 | 233 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.1.27/drivers/scsi/cxgbi/ |
D | libcxgbi.h | 223 struct dst_entry *dst;
|
D | libcxgbi.c | 596 struct dst_entry *dst; in cxgbi_check_route() 697 struct dst_entry *dst; in cxgbi_check_route6() 764 struct inet6_dev *idev = ip6_dst_idev((struct dst_entry *)rt); in cxgbi_check_route6() 1065 struct dst_entry *dst = csk->dst; in cxgbi_sock_select_mss()
|
/linux-4.1.27/drivers/net/ipvlan/ |
D | ipvlan_core.c | 379 struct dst_entry *dst; in ipvlan_process_v6_outbound()
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_ip6.c | 492 struct dst_entry *dst = NULL; in l2tp_ip6_sendmsg()
|
D | l2tp_ppp.c | 597 struct dst_entry *dst; in pppol2tp_connect()
|
/linux-4.1.27/net/atm/ |
D | clip.c | 328 struct dst_entry *dst = skb_dst(skb); in clip_start_xmit()
|
/linux-4.1.27/drivers/scsi/cxgbi/cxgb3i/ |
D | cxgb3i.c | 955 struct dst_entry *dst = csk->dst; in init_act_open()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | cnic.c | 3666 struct dst_entry **dst) in cnic_get_v4_route() 3683 struct dst_entry **dst) in cnic_get_v6_route() 3709 struct dst_entry *dst; in cnic_cm_select_dev() 3753 struct dst_entry *dst = NULL; in cnic_get_route()
|
/linux-4.1.27/drivers/net/ |
D | vxlan.c | 1671 static int vxlan6_xmit_skb(struct dst_entry *dst, struct sock *sk, in vxlan6_xmit_skb() 1976 struct dst_entry *ndst; in vxlan_xmit_one()
|
/linux-4.1.27/drivers/s390/net/ |
D | qeth_l3_main.c | 2736 struct dst_entry *dst; in qeth_l3_get_cast_type() 2814 struct dst_entry *dst; in qeth_l3_fill_header()
|