Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/net/
Ddst.h35 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 …]
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,
Dnetevent.h15 struct dst_entry;
19 struct dst_entry *old;
20 struct dst_entry *new;
Dip6_route.h76 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()
290 static inline unsigned int ip6_dst_mtu_forward(const struct dst_entry *dst) in ip6_dst_mtu_forward()
Dinet6_connection_sock.h23 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);
Dinet_connection_sock.h45 struct dst_entry *dst,
261 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
263 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
320 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
Dl3mdev.h38 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
136 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6);
236 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6) in l3mdev_link_scope_lookup()
Droute.h52 struct dst_entry dst;
129 struct dst_entry *ipv4_blackhole_route(struct net *net,
130 struct dst_entry *dst_orig);
341 static inline int ip4_dst_hoplimit(const struct dst_entry *dst) in ip4_dst_hoplimit()
Ddst_metadata.h20 struct dst_entry dst;
42 struct dst_entry *dst; in skb_tunnel_info()
58 struct dst_entry *dst = skb_dst(skb); in skb_valid_dst()
Dxfrm.h310 struct dst_entry *(*dst_lookup)(struct net *net,
324 struct dst_entry *dst,
329 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
999 struct dst_entry dst;
1003 struct dst_entry *route;
1004 struct dst_entry *child;
1005 struct dst_entry *path;
1016 static inline struct dst_entry *xfrm_dst_path(const struct dst_entry *dst) in xfrm_dst_path()
1025 return (struct dst_entry *) dst; in xfrm_dst_path()
1028 static inline struct dst_entry *xfrm_dst_child(const struct dst_entry *dst) in xfrm_dst_child()
[all …]
Dlwtunnel.h133 static inline void lwtunnel_set_redirect(struct dst_entry *dst) in lwtunnel_set_redirect()
175 static inline void lwtunnel_set_redirect(struct dst_entry *dst) in lwtunnel_set_redirect()
Dsock.h406 struct dst_entry __rcu *sk_rx_dst;
407 struct dst_entry __rcu *sk_dst_cache;
1877 static inline struct dst_entry *
1884 static inline struct dst_entry *
1887 struct dst_entry *dst; in sk_dst_get()
1899 struct dst_entry *ndst, *dst = __sk_dst_get(sk); in dst_negative_advice()
1915 __sk_dst_set(struct sock *sk, struct dst_entry *dst) in __sk_dst_set()
1917 struct dst_entry *old_dst; in __sk_dst_set()
1928 sk_dst_set(struct sock *sk, struct dst_entry *dst) in sk_dst_set()
1930 struct dst_entry *old_dst; in sk_dst_set()
[all …]
Dtcp.h393 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst);
432 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst);
435 struct dst_entry *dst,
446 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
459 struct dst_entry *dst, u32 tsoff);
549 const struct net *net, const struct dst_entry *dst);
692 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_rto_min()
705 static inline bool tcp_ca_dst_locked(const struct dst_entry *dst) in tcp_ca_dst_locked()
1206 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
1405 const struct dst_entry *dst);
[all …]
Dip6_fib.h182 struct dst_entry dst;
207 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev()
385 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
Dicmp.h38 struct dst_entry;
Dipv6.h749 int ip6_dst_hoplimit(struct dst_entry *dst);
752 struct dst_entry *dst) in ip6_sk_dst_hoplimit()
956 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst,
958 struct dst_entry *ip6_dst_lookup_flow(struct net *net, const struct sock *sk, struct flowi6 *fl6,
960 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
963 struct dst_entry *ip6_blackhole_route(struct net *net,
964 struct dst_entry *orig_dst);
Dudp_tunnel.h143 int udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk,
Drequest_sock.h28 struct dst_entry;
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_datagram.c196 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-4.19.296/include/linux/
Dnetfilter_ipv4.h26 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()
Dnetfilter_ipv6.h33 int (*route)(struct net *net, struct dst_entry **dst, struct flowi *fl,
Dnetfilter_bridge.h14 struct dst_entry *dst = skb_dst(skb); in br_drop_fake_rtable()
Drtnetlink.h18 extern int rtnl_put_cacheinfo(struct sk_buff *skb, struct dst_entry *dst,
/linux-4.19.296/include/net/netfilter/
Dnf_flow_table.h60 struct dst_entry *dst_cache;
86 struct dst_entry *dst;

12