/Linux-v4.19/include/net/ |
D | dst.h | 35 struct dst_entry { struct 99 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); argument 108 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() 113 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 115 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() 122 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() 136 static inline void dst_init_metrics(struct dst_entry *dst, in dst_init_metrics() 144 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src) in dst_copy_metrics() 155 static inline u32 *dst_metrics_ptr(struct dst_entry *dst) in dst_metrics_ptr() 161 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw() [all …]
|
D | dst_ops.h | 8 struct dst_entry; 20 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); 21 unsigned int (*default_advmss)(const struct dst_entry *); 22 unsigned int (*mtu)(const struct dst_entry *); 23 u32 * (*cow_metrics)(struct dst_entry *, unsigned long); 24 void (*destroy)(struct dst_entry *); 25 void (*ifdown)(struct dst_entry *, 27 struct dst_entry * (*negative_advice)(struct dst_entry *); 29 void (*update_pmtu)(struct dst_entry *dst, struct sock *sk, 31 void (*redirect)(struct dst_entry *dst, struct sock *sk, [all …]
|
D | dst_cache.h | 24 struct dst_entry *dst_cache_get(struct dst_cache *dst_cache); 43 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, 56 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, 66 struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache,
|
D | ip6_route.h | 76 struct dst_entry *ip6_route_input_lookup(struct net *net, 81 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk, 84 static inline struct dst_entry *ip6_route_output(struct net *net, in ip6_route_output() 91 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6, 136 struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6); 194 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info() 206 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() 220 void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst, 230 static inline bool ipv6_anycast_destination(const struct dst_entry *dst, in ipv6_anycast_destination() 282 static inline unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) in ip6_dst_mtu_forward()
|
D | netevent.h | 15 struct dst_entry; 19 struct dst_entry *old; 20 struct dst_entry *new;
|
D | inet6_connection_sock.h | 23 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6, 30 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;
|
/Linux-v4.19/net/core/ |
D | dst_cache.c | 23 struct dst_entry *dst; 32 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set() 42 static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, in dst_cache_per_cpu_get() 45 struct dst_entry *dst; in dst_cache_per_cpu_get() 67 struct dst_entry *dst_cache_get(struct dst_cache *dst_cache) in dst_cache_get() 79 struct dst_entry *dst; in dst_cache_get_ip4() 94 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip4() 109 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip6() 124 struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache, in dst_cache_get_ip6() 128 struct dst_entry *dst; in dst_cache_get_ip6()
|
D | dst.c | 63 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() 98 struct dst_entry *dst; in dst_alloc() 115 struct dst_entry *dst_destroy(struct dst_entry * dst) in dst_destroy() 117 struct dst_entry *child = NULL; in dst_destroy() 152 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); in dst_destroy_rcu() 166 void dst_dev_put(struct dst_entry *dst) in dst_dev_put() 181 void dst_release(struct dst_entry *dst) in dst_release() 196 void dst_release_immediate(struct dst_entry *dst) in dst_release_immediate() 211 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic() 241 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) in __dst_destroy_metrics_generic() [all …]
|
/Linux-v4.19/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-v4.19/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()
|
/Linux-v4.19/net/ipv6/ |
D | inet6_connection_sock.c | 31 struct dst_entry *inet6_csk_route_req(const struct sock *sk, in inet6_csk_route_req() 39 struct dst_entry *dst; in inet6_csk_route_req() 78 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) in __inet6_csk_dst_check() 83 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, in inet6_csk_route_socket() 89 struct dst_entry *dst; in inet6_csk_route_socket() 122 struct dst_entry *dst; in inet6_csk_xmit() 146 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) in inet6_csk_update_pmtu() 149 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, int oif, in xfrm6_dst_lookup() 35 struct dst_entry *dst; in xfrm6_dst_lookup() 61 struct dst_entry *dst; in xfrm6_get_saddr() 79 static int xfrm6_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm6_init_path() 223 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu() 227 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu() 232 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect() 236 struct dst_entry *path = xdst->route; in xfrm6_redirect() 241 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy() 253 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm6_dst_ifdown()
|
D | netfilter.c | 25 struct dst_entry *dst; in ip6_route_me_harder() 86 static int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route() 96 struct dst_entry *result; in nf_ip6_route()
|
D | seg6_iptunnel.c | 115 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh_encap() 229 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh() 290 struct dst_entry *orig_dst = skb_dst(skb); in seg6_input() 291 struct dst_entry *dst = NULL; in seg6_input() 331 struct dst_entry *orig_dst = skb_dst(skb); in seg6_output() 332 struct dst_entry *dst = NULL; in seg6_output()
|
/Linux-v4.19/net/ipv4/ |
D | xfrm4_policy.c | 21 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 46 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup() 60 struct dst_entry *dst; in xfrm4_get_saddr() 77 static int xfrm4_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm4_init_path() 222 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu() 226 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu() 231 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect() 235 struct dst_entry *path = xdst->route; in xfrm4_redirect() 240 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy() 250 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm4_dst_ifdown()
|
D | route.c | 139 static struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie); 140 static unsigned int ipv4_default_advmss(const struct dst_entry *dst); 141 static unsigned int ipv4_mtu(const struct dst_entry *dst); 142 static struct dst_entry *ipv4_negative_advice(struct dst_entry *dst); 144 static void ip_rt_update_pmtu(struct dst_entry *dst, struct sock *sk, 146 static void ip_do_redirect(struct dst_entry *dst, struct sock *sk, 148 static void ipv4_dst_destroy(struct dst_entry *dst); 150 static u32 *ipv4_cow_metrics(struct dst_entry *dst, unsigned long old) in ipv4_cow_metrics() 156 static struct neighbour *ipv4_neigh_lookup(const struct dst_entry *dst, 159 static void ipv4_confirm_neigh(const struct dst_entry *dst, const void *daddr); [all …]
|
/Linux-v4.19/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 …]
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_policy.c | 44 struct dst_entry *dst_orig; 59 static int stale_bundle(struct dst_entry *dst); 129 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup() 135 struct dst_entry *dst; in __xfrm_dst_lookup() 149 static inline struct dst_entry *xfrm_dst_lookup(struct xfrm_state *x, in xfrm_dst_lookup() 158 struct dst_entry *dst; in xfrm_dst_lookup() 1519 struct dst_entry *dst = &xdst->u.dst; in xfrm_alloc_dst() 1530 static inline int xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path() 1569 static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy, in xfrm_bundle_create() 1574 struct dst_entry *dst) in xfrm_bundle_create() [all …]
|
/Linux-v4.19/include/linux/ |
D | netfilter_ipv4.h | 26 int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, 35 static inline int nf_ip_route(struct net *net, struct dst_entry **dst, in nf_ip_route()
|
/Linux-v4.19/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 121 static struct dst_entry *rxe_find_route4(struct net_device *ndev, in rxe_find_route4() 144 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6() 148 struct dst_entry *ndst; in rxe_find_route6() 176 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6() 185 static struct dst_entry *rxe_find_route(struct rxe_dev *rxe, in rxe_find_route() 190 struct dst_entry *dst = NULL; in rxe_find_route() 326 static void prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv4_hdr() 357 static void prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv6_hdr() 384 struct dst_entry *dst; in prepare4() 413 struct dst_entry *dst; in prepare6()
|
/Linux-v4.19/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…
|
/Linux-v4.19/drivers/infiniband/core/ |
D | addr.c | 298 static int ib_nl_fetch_ha(const struct dst_entry *dst, in ib_nl_fetch_ha() 310 static int dst_fetch_ha(const struct dst_entry *dst, in dst_fetch_ha() 333 static bool has_gateway(const struct dst_entry *dst, sa_family_t family) in has_gateway() 347 static int fetch_ha(const struct dst_entry *dst, struct rdma_dev_addr *dev_addr, in fetch_ha() 406 struct dst_entry **pdst) in addr6_resolve() 409 struct dst_entry *dst; in addr6_resolve() 445 struct dst_entry **pdst) in addr6_resolve() 451 static int addr_resolve_neigh(const struct dst_entry *dst, in addr_resolve_neigh() 483 struct dst_entry *dst; in addr_resolve()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 90 struct dst_entry * 119 struct dst_entry * 125 struct dst_entry *dst = NULL; in cxgb_find_route6()
|
/Linux-v4.19/net/netfilter/ |
D | nft_rt.c | 24 static u16 get_tcpmss(const struct nft_pktinfo *pkt, const struct dst_entry *skbdst) in get_tcpmss() 28 struct dst_entry *dst = NULL; in get_tcpmss() 63 const struct dst_entry *dst; in nft_rt_get_eval()
|