/linux-6.1.9/include/net/ |
D | dst.h | 25 struct dst_entry { struct 89 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); argument 98 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only() 103 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old); 105 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic() 112 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr() 126 static inline void dst_init_metrics(struct dst_entry *dst, in dst_init_metrics() 134 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src) in dst_copy_metrics() 145 static inline u32 *dst_metrics_ptr(struct dst_entry *dst) in dst_metrics_ptr() 151 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, 32 void (*redirect)(struct dst_entry *dst, struct sock *sk, [all …]
|
D | ip6_route.h | 82 struct dst_entry *ip6_route_input_lookup(struct net *net, 87 struct dst_entry *ip6_route_output_flags_noref(struct net *net, 91 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk, 94 static inline struct dst_entry *ip6_route_output(struct net *net, in ip6_route_output() 111 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6, 157 struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6); 216 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info() 228 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store() 242 void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst, 252 static inline bool ipv6_anycast_destination(const struct dst_entry *dst, in ipv6_anycast_destination() [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 | netevent.h | 15 struct dst_entry; 20 struct dst_entry *old; 21 struct dst_entry *new;
|
D | inet6_connection_sock.h | 21 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6, 28 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
|
D | dst_metadata.h | 32 struct dst_entry dst; 56 struct dst_entry *dst; in skb_tunnel_info() 78 struct dst_entry *dst; in skb_xfrm_md_info() 93 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst()
|
D | inet_connection_sock.h | 43 struct dst_entry *dst, 256 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4, 258 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk, 325 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
|
D | xfrm.h | 334 struct dst_entry *(*dst_lookup)(struct net *net, 346 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig); 935 struct dst_entry dst; 939 struct dst_entry *route; 940 struct dst_entry *child; 941 struct dst_entry *path; 952 static inline struct dst_entry *xfrm_dst_path(const struct dst_entry *dst) in xfrm_dst_path() 961 return (struct dst_entry *) dst; in xfrm_dst_path() 964 static inline struct dst_entry *xfrm_dst_child(const struct dst_entry *dst) in xfrm_dst_child() 976 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child() [all …]
|
/linux-6.1.9/net/core/ |
D | dst.c | 47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init() 81 struct dst_entry *dst; in dst_alloc() 102 struct dst_entry *dst_destroy(struct dst_entry * dst) in dst_destroy() 104 struct dst_entry *child = NULL; in dst_destroy() 138 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); in dst_destroy_rcu() 152 void dst_dev_put(struct dst_entry *dst) in dst_dev_put() 167 void dst_release(struct dst_entry *dst) in dst_release() 182 void dst_release_immediate(struct dst_entry *dst) in dst_release_immediate() 197 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic() 227 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) in __dst_destroy_metrics_generic() [all …]
|
D | dst_cache.c | 19 struct dst_entry *dst; 28 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set() 38 static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, in dst_cache_per_cpu_get() 41 struct dst_entry *dst; in dst_cache_per_cpu_get() 63 struct dst_entry *dst_cache_get(struct dst_cache *dst_cache) in dst_cache_get() 75 struct dst_entry *dst; in dst_cache_get_ip4() 90 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip4() 105 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip6() 120 struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache, in dst_cache_get_ip6() 124 struct dst_entry *dst; in dst_cache_get_ip6() [all …]
|
/linux-6.1.9/drivers/misc/vmw_vmci/ |
D | vmci_datagram.c | 188 struct datagram_entry *dst_entry; in dg_dispatch_as_host() local 203 dst_entry = container_of(resource, struct datagram_entry, in dg_dispatch_as_host() 206 dst_entry->priv_flags)) { in dg_dispatch_as_host() 216 if (dst_entry->run_delayed || in dg_dispatch_as_host() 236 dg_info->entry = dst_entry; in dg_dispatch_as_host() 244 retval = dst_entry->recv_cb(dst_entry->client_data, dg); in dg_dispatch_as_host() 357 struct datagram_entry *dst_entry; in vmci_datagram_invoke_guest_handler() local 367 dst_entry = container_of(resource, struct datagram_entry, resource); in vmci_datagram_invoke_guest_handler() 368 if (dst_entry->run_delayed) { in vmci_datagram_invoke_guest_handler() 379 dg_info->entry = dst_entry; in vmci_datagram_invoke_guest_handler() [all …]
|
/linux-6.1.9/net/bridge/ |
D | br_nf_core.c | 24 static void fake_update_pmtu(struct dst_entry *dst, struct sock *sk, in fake_update_pmtu() 30 static void fake_redirect(struct dst_entry *dst, struct sock *sk, in fake_redirect() 35 static u32 *fake_cow_metrics(struct dst_entry *dst, unsigned long old) in fake_cow_metrics() 40 static struct neighbour *fake_neigh_lookup(const struct dst_entry *dst, in fake_neigh_lookup() 47 static unsigned int fake_mtu(const struct dst_entry *dst) in fake_mtu()
|
/linux-6.1.9/net/ipv6/ |
D | inet6_connection_sock.c | 27 struct dst_entry *inet6_csk_route_req(const struct sock *sk, in inet6_csk_route_req() 35 struct dst_entry *dst; in inet6_csk_route_req() 74 struct dst_entry *__inet6_csk_dst_check(struct sock *sk, u32 cookie) in __inet6_csk_dst_check() 79 static struct dst_entry *inet6_csk_route_socket(struct sock *sk, in inet6_csk_route_socket() 85 struct dst_entry *dst; in inet6_csk_route_socket() 118 struct dst_entry *dst; in inet6_csk_xmit() 142 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu) in inet6_csk_update_pmtu() 145 struct dst_entry *dst = inet6_csk_route_socket(sk, &fl6); in inet6_csk_update_pmtu()
|
D | xfrm6_policy.c | 26 static struct dst_entry *xfrm6_dst_lookup(struct net *net, int tos, int oif, in xfrm6_dst_lookup() 32 struct dst_entry *dst; in xfrm6_dst_lookup() 57 struct dst_entry *dst; in xfrm6_get_saddr() 98 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu() 103 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu() 108 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect() 112 struct dst_entry *path = xdst->route; in xfrm6_redirect() 117 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy() 129 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm6_dst_ifdown()
|
D | rpl_iptunnel.c | 191 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh() 204 struct dst_entry *orig_dst = skb_dst(skb); in rpl_output() 205 struct dst_entry *dst = NULL; in rpl_output() 258 struct dst_entry *orig_dst = skb_dst(skb); in rpl_input() 259 struct dst_entry *dst = NULL; in rpl_input()
|
/linux-6.1.9/net/ipv4/ |
D | xfrm4_policy.c | 20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup() 43 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() 100 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu() 105 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu() 110 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect() 114 struct dst_entry *path = xdst->route; in xfrm4_redirect() 119 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy() 129 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm4_dst_ifdown()
|
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/ |
D | vdec_h264_req_common.c | 200 struct slice_h264_dpb_entry *dst_entry; in mtk_vdec_h264_copy_decode_params() local 205 dst_entry = &dst_params->dpb[i]; in mtk_vdec_h264_copy_decode_params() 208 dst_entry->reference_ts = src_entry->reference_ts; in mtk_vdec_h264_copy_decode_params() 209 dst_entry->frame_num = src_entry->frame_num; in mtk_vdec_h264_copy_decode_params() 210 dst_entry->pic_num = src_entry->pic_num; in mtk_vdec_h264_copy_decode_params() 211 dst_entry->top_field_order_cnt = src_entry->top_field_order_cnt; in mtk_vdec_h264_copy_decode_params() 212 dst_entry->bottom_field_order_cnt = in mtk_vdec_h264_copy_decode_params() 214 dst_entry->flags = src_entry->flags; in mtk_vdec_h264_copy_decode_params()
|
/linux-6.1.9/include/linux/ |
D | netfilter_ipv4.h | 26 int nf_ip_route(struct net *net, struct dst_entry **dst, struct flowi *fl, 34 static inline int nf_ip_route(struct net *net, struct dst_entry **dst, in nf_ip_route()
|
D | netfilter_ipv6.h | 49 int (*route)(struct net *net, struct dst_entry **dst, struct flowi *fl, 96 int __nf_ip6_route(struct net *net, struct dst_entry **dst, 99 static inline int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route()
|
/linux-6.1.9/drivers/infiniband/sw/rxe/ |
D | rxe_net.c | 23 static struct dst_entry *rxe_find_route4(struct net_device *ndev, in rxe_find_route4() 46 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6() 50 struct dst_entry *ndst; in rxe_find_route6() 80 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6() 89 static struct dst_entry *rxe_find_route(struct net_device *ndev, in rxe_find_route() 93 struct dst_entry *dst = NULL; in rxe_find_route() 220 static void prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv4_hdr() 250 static void prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv6_hdr() 277 struct dst_entry *dst; in prepare4() 303 struct dst_entry *dst; in prepare6()
|
/linux-6.1.9/drivers/infiniband/core/ |
D | addr.c | 326 static int dst_fetch_ha(const struct dst_entry *dst, in dst_fetch_ha() 349 static bool has_gateway(const struct dst_entry *dst, sa_family_t family) in has_gateway() 363 static int fetch_ha(const struct dst_entry *dst, struct rdma_dev_addr *dev_addr, in fetch_ha() 420 struct dst_entry **pdst) in addr6_resolve() 426 struct dst_entry *dst; in addr6_resolve() 449 struct dst_entry **pdst) in addr6_resolve() 455 static int addr_resolve_neigh(const struct dst_entry *dst, in addr_resolve_neigh() 476 const struct dst_entry *dst, in copy_src_l2_addr() 505 const struct dst_entry *dst) in rdma_set_src_addr_rcu() 559 struct dst_entry *dst = NULL; in addr_resolve()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_cm.c | 91 struct dst_entry * 120 struct dst_entry * 126 struct dst_entry *dst = NULL; in cxgb_find_route6()
|
/linux-6.1.9/net/netfilter/ |
D | nft_rt.c | 21 static u16 get_tcpmss(const struct nft_pktinfo *pkt, const struct dst_entry *skbdst) in get_tcpmss() 25 struct dst_entry *dst = NULL; in get_tcpmss() 60 const struct dst_entry *dst; in nft_rt_get_eval()
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_policy.c | 55 struct dst_entry *dst_orig; 165 static int stale_bundle(struct dst_entry *dst); 254 struct dst_entry *__xfrm_dst_lookup(struct net *net, int tos, int oif, in __xfrm_dst_lookup() 260 struct dst_entry *dst; in __xfrm_dst_lookup() 274 static inline struct dst_entry *xfrm_dst_lookup(struct xfrm_state *x, in xfrm_dst_lookup() 283 struct dst_entry *dst; in xfrm_dst_lookup() 2499 static void xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path() 2531 static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy, in xfrm_bundle_create() 2536 struct dst_entry *dst) in xfrm_bundle_create() 2562 struct dst_entry *dst1 = &xdst->u.dst; in xfrm_bundle_create() [all …]
|