Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/include/net/
Ddst.h24 struct dst_entry { struct
87 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old); argument
96 static inline bool dst_metrics_read_only(const struct dst_entry *dst) in dst_metrics_read_only()
101 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
103 static inline void dst_destroy_metrics_generic(struct dst_entry *dst) in dst_destroy_metrics_generic()
110 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst) in dst_metrics_write_ptr()
124 static inline void dst_init_metrics(struct dst_entry *dst, in dst_init_metrics()
132 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src) in dst_copy_metrics()
143 static inline u32 *dst_metrics_ptr(struct dst_entry *dst) in dst_metrics_ptr()
149 dst_metric_raw(const struct dst_entry *dst, const int metric) in dst_metric_raw()
[all …]
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 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 …]
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,
Dip6_route.h82 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);
215 const struct dst_entry *dst = skb_dst(skb); in skb_rt6_info()
227 static inline void ip6_dst_store(struct sock *sk, struct dst_entry *dst, in ip6_dst_store()
241 void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst,
251 static inline bool ipv6_anycast_destination(const struct dst_entry *dst, in ipv6_anycast_destination()
[all …]
Dnetevent.h15 struct dst_entry;
19 struct dst_entry *old;
20 struct dst_entry *new;
Dinet6_connection_sock.h19 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
26 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
/kernel/linux/linux-5.10/net/core/
Ddst.c47 void dst_init(struct dst_entry *dst, struct dst_ops *ops, in dst_init()
82 struct dst_entry *dst; in dst_alloc()
103 struct dst_entry *dst_destroy(struct dst_entry * dst) in dst_destroy()
105 struct dst_entry *child = NULL; in dst_destroy()
140 struct dst_entry *dst = container_of(head, struct dst_entry, rcu_head); in dst_destroy_rcu()
154 void dst_dev_put(struct dst_entry *dst) in dst_dev_put()
169 void dst_release(struct dst_entry *dst) in dst_release()
184 void dst_release_immediate(struct dst_entry *dst) in dst_release_immediate()
199 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old) in dst_cow_metrics_generic()
229 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old) in __dst_destroy_metrics_generic()
[all …]
Ddst_cache.c19 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 …]
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/
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()
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 …]
/kernel/linux/linux-5.10/net/bridge/
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()
/kernel/linux/linux-5.10/net/ipv6/
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()
Dxfrm6_policy.c26 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()
58 struct dst_entry *dst; in xfrm6_get_saddr()
100 static void xfrm6_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm6_update_pmtu()
105 struct dst_entry *path = xdst->route; in xfrm6_update_pmtu()
110 static void xfrm6_redirect(struct dst_entry *dst, struct sock *sk, in xfrm6_redirect()
114 struct dst_entry *path = xdst->route; in xfrm6_redirect()
119 static void xfrm6_dst_destroy(struct dst_entry *dst) in xfrm6_dst_destroy()
131 static void xfrm6_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm6_dst_ifdown()
Drpl_iptunnel.c191 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh()
209 struct dst_entry *orig_dst = skb_dst(skb); in rpl_output()
210 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()
/kernel/linux/linux-5.10/net/ipv4/
Dxfrm4_policy.c20 static struct dst_entry *__xfrm4_dst_lookup(struct net *net, struct flowi4 *fl4, in __xfrm4_dst_lookup()
45 static struct dst_entry *xfrm4_dst_lookup(struct net *net, int tos, int oif, in xfrm4_dst_lookup()
59 struct dst_entry *dst; in xfrm4_get_saddr()
102 static void xfrm4_update_pmtu(struct dst_entry *dst, struct sock *sk, in xfrm4_update_pmtu()
107 struct dst_entry *path = xdst->route; in xfrm4_update_pmtu()
112 static void xfrm4_redirect(struct dst_entry *dst, struct sock *sk, in xfrm4_redirect()
116 struct dst_entry *path = xdst->route; in xfrm4_redirect()
121 static void xfrm4_dst_destroy(struct dst_entry *dst) in xfrm4_dst_destroy()
131 static void xfrm4_dst_ifdown(struct dst_entry *dst, struct net_device *dev, in xfrm4_dst_ifdown()
/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dnip_route.h20 struct dst_entry *nip_route_input_lookup(struct net *net,
24 struct dst_entry *nip_route_output_flags(struct net *net, const struct sock *sk,
28 static inline struct dst_entry *nip_route_output(struct net *net, in nip_route_output()
49 rt ? nip_dst_idev((struct dst_entry *)rt) : NULL; in nip_route_get_saddr()
Dnip_fib.h54 struct dst_entry dst;
55 struct dst_entry *from;
73 static inline struct ninet_dev *nip_dst_idev(struct dst_entry *dst) in nip_dst_idev()
94 struct dst_entry *nip_fib_rule_lookup(struct net *net, struct flow_nip *fln,
Dnip.h118 struct dst_entry *nip_sk_dst_lookup_flow(struct sock *sk, struct flow_nip *fln);
119 struct dst_entry *nip_dst_lookup_flow(struct net *net, const struct sock *sk,
129 ushort dport, struct dst_entry *dst);
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dnip_output.c70 struct dst_entry *dst = skb_dst(skb); in nip_output()
146 struct dst_entry *dst) in _nip_alloc_skb()
176 struct dst_entry *dst) in _nip_udp_single_output()
248 ushort dport, struct dst_entry *dst) in _nip_udp_output()
287 static int nip_sk_dst_check(struct dst_entry *dst, in nip_sk_dst_check()
307 struct dst_entry **dst, struct flow_nip *fln) in nip_dst_lookup_tail()
346 struct dst_entry *nip_dst_lookup_flow(struct net *net, const struct sock *sk, in nip_dst_lookup_flow()
350 struct dst_entry *dst = NULL; in nip_dst_lookup_flow()
362 struct dst_entry *nip_sk_dst_lookup_flow(struct sock *sk, struct flow_nip *fln) in nip_sk_dst_lookup_flow()
364 struct dst_entry *dst = NULL; in nip_sk_dst_lookup_flow()
[all …]
Droute.c114 static unsigned int nip_mtu(const struct dst_entry *dst);
168 struct dst_entry *dst = &rt->dst; in nip_rt_info_init()
206 dst_destroy((struct dst_entry *)rt); in nip_dst_alloc()
317 struct dst_entry *nip_route_input_lookup(struct net *net, in nip_route_input_lookup()
333 struct dst_entry *out_dst; in nip_route_input()
340 (struct dst_entry *)net->newip.nip_broadcast_entry); in nip_route_input()
372 struct dst_entry *nip_route_output_flags(struct net *net, const struct sock *sk, in nip_route_output_flags()
375 struct dst_entry *dst; in nip_route_output_flags()
689 static void nip_dst_destroy(struct dst_entry *dst) in nip_dst_destroy()
692 struct dst_entry *from = rt->from; in nip_dst_destroy()
[all …]
/kernel/linux/linux-5.10/net/decnet/
Ddn_route.c105 static struct dst_entry *dn_dst_check(struct dst_entry *, __u32);
106 static unsigned int dn_dst_default_advmss(const struct dst_entry *dst);
107 static unsigned int dn_dst_mtu(const struct dst_entry *dst);
108 static void dn_dst_destroy(struct dst_entry *);
109 static void dn_dst_ifdown(struct dst_entry *, struct net_device *dev, int how);
110 static struct dst_entry *dn_dst_negative_advice(struct dst_entry *);
112 static void dn_dst_update_pmtu(struct dst_entry *dst, struct sock *sk,
115 static void dn_dst_redirect(struct dst_entry *dst, struct sock *sk,
117 static struct neighbour *dn_dst_neigh_lookup(const struct dst_entry *dst,
147 static void dn_dst_destroy(struct dst_entry *dst) in dn_dst_destroy()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_net.c45 static struct dst_entry *rxe_find_route4(struct net_device *ndev, in rxe_find_route4()
68 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6()
72 struct dst_entry *ndst; in rxe_find_route6()
102 static struct dst_entry *rxe_find_route6(struct net_device *ndev, in rxe_find_route6()
111 static struct dst_entry *rxe_find_route(struct net_device *ndev, in rxe_find_route()
115 struct dst_entry *dst = NULL; in rxe_find_route()
248 static void prepare_ipv4_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv4_hdr()
279 static void prepare_ipv6_hdr(struct dst_entry *dst, struct sk_buff *skb, in prepare_ipv6_hdr()
305 struct dst_entry *dst; in prepare4()
331 struct dst_entry *dst; in prepare6()
/kernel/linux/linux-5.10/include/linux/
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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Daddr.c327 static int dst_fetch_ha(const struct dst_entry *dst, in dst_fetch_ha()
350 static bool has_gateway(const struct dst_entry *dst, sa_family_t family) in has_gateway()
364 static int fetch_ha(const struct dst_entry *dst, struct rdma_dev_addr *dev_addr, in fetch_ha()
421 struct dst_entry **pdst) in addr6_resolve()
427 struct dst_entry *dst; in addr6_resolve()
450 struct dst_entry **pdst) in addr6_resolve()
456 static int addr_resolve_neigh(const struct dst_entry *dst, in addr_resolve_neigh()
477 const struct dst_entry *dst, in copy_src_l2_addr()
506 const struct dst_entry *dst) in rdma_set_src_addr_rcu()
560 struct dst_entry *dst = NULL; in addr_resolve()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_cm.c91 struct dst_entry *
120 struct dst_entry *
126 struct dst_entry *dst = NULL; in cxgb_find_route6()
/kernel/linux/linux-5.10/net/netfilter/
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()

123456789