Home
last modified time | relevance | path

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

123456789

/linux/include/net/
A Ddst.h26 struct dst_entry { struct
148 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src) in dst_copy_metrics()
249 static inline struct dst_entry *dst_clone(struct dst_entry *dst) in dst_clone()
374 const struct dst_entry *dst; in dst_tclassid()
464 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
466 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
468 static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie) in dst_check()
494 static inline struct dst_entry *
517 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig,
527 struct dst_entry *xfrm_lookup_route(struct net *net, struct dst_entry *dst_orig,
[all …]
A Ddst_ops.h8 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 void (*negative_advice)(struct sock *sk, 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 …]
A Ddst_cache.h24 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,
A Dip6_route.h81 struct dst_entry *ip6_route_input_lookup(struct net *net,
86 struct dst_entry *ip6_route_output_flags(struct net *net, const struct sock *sk,
89 static inline struct dst_entry *ip6_route_output(struct net *net, in ip6_route_output()
106 struct dst_entry *ip6_route_lookup(struct net *net, struct flowi6 *fl6,
160 struct dst_entry *icmp6_dst_alloc(struct net_device *dev, struct flowi6 *fl6);
220 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info()
231 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store()
245 void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst,
255 static inline bool ipv6_anycast_destination(const struct dst_entry *dst, in ipv6_anycast_destination()
273 const struct dst_entry *dst = skb_dst(skb); in ip6_skb_dst_mtu()
[all …]
A Dnetevent.h15 struct dst_entry;
20 struct dst_entry *old;
21 struct dst_entry *new;
A Dinet6_connection_sock.h21 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);
A Ddst_metadata.h29 struct dst_entry *dst_orig;
33 struct dst_entry dst;
57 struct dst_entry *dst; in skb_tunnel_info()
79 struct dst_entry *dst; in skb_xfrm_md_info()
94 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst()
/linux/net/core/
A Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
82 struct dst_entry *dst; in dst_alloc()
99 static void dst_destroy(struct dst_entry *dst) in dst_destroy()
101 struct dst_entry *child = NULL; in dst_destroy()
130 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); in dst_destroy_rcu()
144 void dst_dev_put(struct dst_entry *dst) in dst_dev_put()
159 static void dst_count_dec(struct dst_entry *dst) in dst_count_dec()
165 void dst_release(struct dst_entry *dst) in dst_release()
174 void dst_release_immediate(struct dst_entry *dst) in dst_release_immediate()
224 struct dst_entry *dst_blackhole_check(struct dst_entry *dst, u32 cookie) in dst_blackhole_check()
[all …]
A Ddst_cache.c19 struct dst_entry *dst;
28 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set()
39 static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, in dst_cache_per_cpu_get()
42 struct dst_entry *dst; in dst_cache_per_cpu_get()
66 struct dst_entry *dst_cache_get(struct dst_cache *dst_cache) in dst_cache_get()
78 struct dst_entry *dst; in dst_cache_get_ip4()
93 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip4()
108 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip6()
123 struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache, in dst_cache_get_ip6()
127 struct dst_entry *dst; in dst_cache_get_ip6()
[all …]
/linux/net/bridge/
A Dbr_nf_core.c24 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/drivers/misc/vmw_vmci/
A Dvmci_datagram.c188 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()
245 retval = dst_entry->recv_cb(dst_entry->client_data, dg); in dg_dispatch_as_host()
358 struct datagram_entry *dst_entry; in vmci_datagram_invoke_guest_handler() local
368 dst_entry = container_of(resource, struct datagram_entry, resource); in vmci_datagram_invoke_guest_handler()
369 if (dst_entry->run_delayed) { in vmci_datagram_invoke_guest_handler()
380 dg_info->entry = dst_entry; in vmci_datagram_invoke_guest_handler()
[all …]
/linux/net/ipv6/
A Dinet6_connection_sock.c27 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()
A Dxfrm6_policy.c26 static struct dst_entry *xfrm6_dst_lookup(const struct xfrm_dst_lookup_params *params) in xfrm6_dst_lookup()
29 struct dst_entry *dst; in xfrm6_dst_lookup()
57 struct dst_entry *dst; in xfrm6_get_saddr()
104 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu()
109 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu()
114 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect()
118 struct dst_entry *path = xdst->route; in xfrm6_redirect()
123 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy()
134 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev) in xfrm6_dst_ifdown()
A Drpl_iptunnel.c191 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()
A Dip6_udp_tunnel.c77 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, in udp_tunnel6_xmit_skb()
135 struct dst_entry *udp_tunnel6_dst_lookup(struct sk_buff *skb, in udp_tunnel6_dst_lookup()
145 struct dst_entry *dst = NULL; in udp_tunnel6_dst_lookup()
/linux/net/ipv4/
A Dxfrm4_policy.c20 static struct dst_entry *__xfrm4_dst_lookup(struct flowi4 *fl4, in __xfrm4_dst_lookup()
43 static struct dst_entry *xfrm4_dst_lookup(const struct xfrm_dst_lookup_params *params) in xfrm4_dst_lookup()
53 struct dst_entry *dst; in xfrm4_get_saddr()
95 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu()
100 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
105 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect()
109 struct dst_entry *path = xdst->route; in xfrm4_redirect()
114 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
A Dvdec_h264_req_common.c200 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/drivers/infiniband/core/
A Daddr.c326 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()
357 static int fetch_ha(const struct dst_entry *dst, struct rdma_dev_addr *dev_addr, in fetch_ha()
414 struct dst_entry **pdst) in addr6_resolve()
420 struct dst_entry *dst; in addr6_resolve()
443 struct dst_entry **pdst) in addr6_resolve()
449 static int addr_resolve_neigh(const struct dst_entry *dst, in addr_resolve_neigh()
470 const struct dst_entry *dst, in copy_src_l2_addr()
499 const struct dst_entry *dst) in rdma_set_src_addr_rcu()
553 struct dst_entry *dst = NULL; in addr_resolve()
/linux/drivers/infiniband/sw/rxe/
A Drxe_net.c23 static struct dst_entry *rxe_find_route4(struct rxe_qp *qp, in rxe_find_route4()
47 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6()
52 struct dst_entry *ndst; in rxe_find_route6()
82 static struct dst_entry *rxe_find_route6(struct rxe_qp *qp, in rxe_find_route6()
92 static struct dst_entry *rxe_find_route(struct net_device *ndev, in rxe_find_route()
96 struct dst_entry *dst = NULL; in rxe_find_route()
226 static void prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv4_hdr()
256 static void prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv6_hdr()
283 struct dst_entry *dst; in prepare4()
309 struct dst_entry *dst; in prepare6()
/linux/include/linux/
A Dnetfilter_ipv4.h26 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()
A Dnetfilter_ipv6.h49 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/drivers/net/ethernet/chelsio/libcxgb/
A Dlibcxgb_cm.c91 struct dst_entry *
120 struct dst_entry *
126 struct dst_entry *dst = NULL; in cxgb_find_route6()
/linux/net/netfilter/
A Dnft_rt.c21 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/net/xfrm/
A Dxfrm_interface_bpf.c89 dst_hold((struct dst_entry *)md_dst); in bpf_skb_set_xfrm_info()
90 skb_dst_set(skb, (struct dst_entry *)md_dst); in bpf_skb_set_xfrm_info()
A Dxfrm_policy.c57 struct dst_entry *dst_orig;
277 struct dst_entry *dst; in __xfrm_dst_lookup()
301 struct dst_entry *dst; in xfrm_dst_lookup()
2848 struct dst_entry *dst; in xfrm_resolve_and_create_bundle()
2881 struct dst_entry *dst; in xfrm_policy_queue_process()
3014 struct dst_entry *dst; in xfrm_create_dummy_bundle()
3015 struct dst_entry *dst1; in xfrm_create_dummy_bundle()
3132 struct dst_entry *ret; in make_blackhole()
3311 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig, in xfrm_lookup()
3854 struct dst_entry *dst; in __xfrm_route_forward()
[all …]

Completed in 33 milliseconds

123456789