Home
last modified time | relevance | path

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

123456

/linux/include/net/
H 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 *ds
[all...]
H 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,
H A Dnetevent.h15 struct dst_entry;
20 struct dst_entry *old;
21 struct dst_entry *new;
H A Ddst_metadata.h30 struct dst_entry *dst_orig;
34 struct dst_entry dst;
58 struct dst_entry *dst; in skb_tunnel_info()
80 struct dst_entry *dst; in skb_xfrm_md_info()
95 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst()
H A Dinet_connection_sock.h43 struct dst_entry *dst,
266 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
268 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
319 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
/linux/net/core/
H A Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
83 struct dst_entry *dst; in dst_alloc()
100 static void dst_destroy(struct dst_entry *dst) in dst_destroy()
102 struct dst_entry *child = NULL; in dst_destroy()
131 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); in dst_destroy_rcu()
145 void dst_dev_put(struct dst_entry *dst) in dst_dev_put()
160 static void dst_count_dec(struct dst_entry *dst) in dst_count_dec()
166 void dst_release(struct dst_entry *dst) in dst_release()
183 void dst_release_immediate(struct dst_entry *dst) in dst_release_immediate()
192 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic()
[all …]
H A Ddst_cache.c19 struct dst_entry *dst;
29 struct dst_entry *dst, u32 cookie) in dst_cache_per_cpu_dst_set()
40 static struct dst_entry *dst_cache_per_cpu_get(struct dst_cache *dst_cache, in dst_cache_per_cpu_get()
43 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()
69 struct dst_entry *dst; in dst_cache_get()
84 struct dst_entry *dst; in dst_cache_get_ip4()
103 void dst_cache_set_ip4(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip4()
120 void dst_cache_set_ip6(struct dst_cache *dst_cache, struct dst_entry *dst, in dst_cache_set_ip6()
138 struct dst_entry *dst_cache_get_ip6(struct dst_cache *dst_cache, in dst_cache_get_ip6()
[all …]
/linux/drivers/misc/vmw_vmci/
H 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/bridge/
H 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/net/ipv6/
H 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()
107 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu()
112 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu()
117 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect()
121 struct dst_entry *path = xdst->route; in xfrm6_redirect()
126 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy()
137 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev) in xfrm6_dst_ifdown()
H A Drpl_iptunnel.c129 struct dst_entry *cache_dst) in rpl_do_srh_inline()
191 struct dst_entry *cache_dst) in rpl_do_srh()
193 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh()
206 struct dst_entry *orig_dst = skb_dst(skb); in rpl_output()
207 struct dst_entry *dst = NULL; in rpl_output()
263 struct dst_entry *orig_dst = skb_dst(skb); in rpl_input()
264 struct dst_entry *dst = NULL; in rpl_input()
H A Dseg6_iptunnel.c140 int proto, struct dst_entry *cache_dst, in __seg6_do_srh_encap()
143 struct dst_entry *dst = skb_dst(skb); in __seg6_do_srh_encap()
225 struct dst_entry *cache_dst, in seg6_do_srh_encap_red()
229 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh_encap_red()
344 struct dst_entry *cache_dst) in __seg6_do_srh_inline()
396 static int seg6_do_srh(struct sk_buff *skb, struct dst_entry *cache_dst) in seg6_do_srh()
398 struct dst_entry *dst = skb_dst(skb); in seg6_do_srh()
491 struct dst_entry *orig_dst = skb_dst(skb); in seg6_input_core()
492 struct dst_entry *dst = NULL; in seg6_input_core()
584 struct dst_entry *orig_dst = skb_dst(skb); in seg6_output_core()
[all …]
H A Dioam6_iptunnel.c38 struct dst_entry null_dst;
258 struct dst_entry *cache_dst) in ioam6_do_inline()
297 struct dst_entry *cache_dst) in ioam6_do_encap()
299 struct dst_entry *dst = skb_dst(skb); in ioam6_do_encap()
340 struct dst_entry *orig_dst = skb_dst(skb); in ioam6_output()
341 struct dst_entry *dst = NULL; in ioam6_output()
H A Droute.c86 struct dst_entry *ip6_dst_check(struct dst_entry *dst, u32 cookie);
87 static unsigned int ip6_default_advmss(const struct dst_entry *dst);
89 unsigned int ip6_mtu(const struct dst_entry *dst);
91 struct dst_entry *dst);
92 static void ip6_dst_destroy(struct dst_entry *);
93 static void ip6_dst_ifdown(struct dst_entry *,
102 static void ip6_rt_update_pmtu(struct dst_entry *dst, struct sock *sk,
105 static void rt6_do_redirect(struct dst_entry *dst, struct sock *sk,
111 struct fib6_info *rt, struct dst_entry *dst,
224 static struct neighbour *ip6_dst_neigh_lookup(const struct dst_entry *dst, in ip6_dst_neigh_lookup()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H 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/net/netfilter/
H A Dnf_flow_table_path.c19 static enum flow_offload_xmit_type nft_xmit_type(struct dst_entry *dst) in nft_xmit_type()
28 struct dst_entry *dst_cache, in nft_default_forward_path()
46 const struct dst_entry *dst_cache, in nft_dev_fill_forward_path()
210 struct dst_entry *cur_dst = route->tuple[dir].dst; in nft_flow_tunnel_update_route()
211 struct dst_entry *tun_dst = NULL; in nft_flow_tunnel_update_route()
249 const struct dst_entry *dst = route->tuple[dir].dst; in nft_dev_forward_path()
293 struct dst_entry *this_dst = skb_dst(pkt->skb); in nft_flow_route()
294 struct dst_entry *other_dst = NULL; in nft_flow_route()
/linux/include/linux/
H 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()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_cm.c91 struct dst_entry *
120 struct dst_entry *
126 struct dst_entry *dst = NULL; in cxgb_find_route6()
H A Dlibcxgb_cm.h46 struct dst_entry *
50 struct dst_entry *
/linux/net/xfrm/
H 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()
H A Dxfrm_policy.c57 struct dst_entry *dst_orig;
186 static int stale_bundle(struct dst_entry *dst);
273 struct dst_entry *__xfrm_dst_lookup(int family, in __xfrm_dst_lookup()
277 struct dst_entry *dst; in __xfrm_dst_lookup()
291 static inline struct dst_entry *xfrm_dst_lookup(struct xfrm_state *x, in xfrm_dst_lookup()
301 struct dst_entry *dst; in xfrm_dst_lookup()
2635 static void xfrm_init_path(struct xfrm_dst *path, struct dst_entry *dst, in xfrm_init_path()
2666 static struct dst_entry *xfrm_bundle_create(struct xfrm_policy *policy, in xfrm_bundle_create()
2671 struct dst_entry *dst) in xfrm_bundle_create()
2697 struct dst_entry *dst1 = &xdst->u.dst; in xfrm_bundle_create()
[all …]
H A Dxfrm_output.c32 struct dst_entry *dst = skb_dst(skb); in xfrm_skb_check_space()
51 static struct dst_entry *skb_dst_pop(struct sk_buff *skb) in skb_dst_pop()
53 struct dst_entry *child = dst_clone(xfrm_dst_child(skb_dst(skb))); in skb_dst_pop()
279 struct dst_entry *dst = skb_dst(skb); in xfrm4_tunnel_encap_add()
326 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_encap_add()
501 struct dst_entry *dst = skb_dst(skb); in xfrm_output_one()
625 struct dst_entry *dst = skb_dst(skb); in xfrm_dev_direct_output()
893 struct dst_entry *dst = skb_dst(skb); in xfrm6_tunnel_check_size()
/linux/net/ipv4/
H A Dtcp_metrics.c99 const struct dst_entry *dst, in tcpm_suck_dst()
146 const struct dst_entry *dst) in tcpm_check_stamp()
163 static struct tcp_metrics_block *tcpm_new(struct dst_entry *dst, in tcpm_new()
250 struct dst_entry *dst) in __tcp_get_metrics_req()
292 struct dst_entry *dst, in tcp_get_metrics()
343 struct dst_entry *dst = __sk_dst_get(sk); in tcp_update_metrics()
466 struct dst_entry *dst = __sk_dst_get(sk); in tcp_init_metrics()
542 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst) in tcp_peer_is_proven()
588 struct dst_entry *dst = __sk_dst_get(sk); in tcp_fastopen_cache_set()
/linux/net/ipv6/ila/
H A Dila_lwt.c40 struct dst_entry *orig_dst = skb_dst(skb); in ila_output()
43 struct dst_entry *dst; in ila_output()
110 struct dst_entry *dst = skb_dst(skb); in ila_input()
/linux/security/selinux/
H A Dxfrm.c209 struct dst_entry *dst = skb_dst(skb); in selinux_xfrm_skb_sid_egress()
435 struct dst_entry *dst; in selinux_xfrm_postroute_last()
451 struct dst_entry *iter; in selinux_xfrm_postroute_last()

123456