Home
last modified time | relevance | path

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

12

/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,
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);
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 …]
Dinet_connection_sock.h43 struct dst_entry *dst,
262 struct dst_entry *inet_csk_route_req(const struct sock *sk, struct flowi4 *fl4,
264 struct dst_entry *inet_csk_route_child_sock(const struct sock *sk,
323 struct dst_entry *inet_csk_update_pmtu(struct sock *sk, u32 mtu);
Dl3mdev.h44 struct dst_entry * (*l3mdev_link_scope_lookup)(const struct net_device *dev,
162 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6);
273 struct dst_entry *l3mdev_link_scope_lookup(struct net *net, struct flowi6 *fl6) in l3mdev_link_scope_lookup()
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()
Dicmp.h34 struct dst_entry;
Dxfrm.h324 struct dst_entry *(*dst_lookup)(struct net *net,
336 struct dst_entry *(*blackhole_route)(struct net *net, struct dst_entry *orig);
927 struct dst_entry dst;
931 struct dst_entry *route;
932 struct dst_entry *child;
933 struct dst_entry *path;
944 static inline struct dst_entry *xfrm_dst_path(const struct dst_entry *dst) in xfrm_dst_path()
953 return (struct dst_entry *) dst; in xfrm_dst_path()
956 static inline struct dst_entry *xfrm_dst_child(const struct dst_entry *dst) in xfrm_dst_child()
968 static inline void xfrm_dst_set_child(struct xfrm_dst *xdst, struct dst_entry *child) in xfrm_dst_set_child()
[all …]
Dlwtunnel.h135 static inline void lwtunnel_set_redirect(struct dst_entry *dst) in lwtunnel_set_redirect()
177 static inline void lwtunnel_set_redirect(struct dst_entry *dst) in lwtunnel_set_redirect()
Droute.h50 struct dst_entry dst;
137 struct dst_entry *ipv4_blackhole_route(struct net *net,
138 struct dst_entry *dst_orig);
357 static inline int ip4_dst_hoplimit(const struct dst_entry *dst) in ip4_dst_hoplimit()
Dipv6_stubs.h27 struct dst_entry *(*ipv6_dst_lookup_flow)(struct net *net,
Dipv6.h812 int ip6_dst_hoplimit(struct dst_entry *dst);
815 struct dst_entry *dst) in ip6_sk_dst_hoplimit()
1018 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst,
1020 struct dst_entry *ip6_dst_lookup_flow(struct net *net, const struct sock *sk, struct flowi6 *fl6,
1022 struct dst_entry *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
1025 struct dst_entry *ip6_dst_lookup_tunnel(struct sk_buff *skb,
1031 struct dst_entry *ip6_blackhole_route(struct net *net,
1032 struct dst_entry *orig_dst);
Dsock.h426 struct dst_entry __rcu *sk_rx_dst;
427 struct dst_entry __rcu *sk_dst_cache;
2001 static inline struct dst_entry *
2008 static inline struct dst_entry *
2011 struct dst_entry *dst; in sk_dst_get()
2023 struct dst_entry *ndst, *dst = __sk_dst_get(sk); in __dst_negative_advice()
2043 __sk_dst_set(struct sock *sk, struct dst_entry *dst) in __sk_dst_set()
2045 struct dst_entry *old_dst; in __sk_dst_set()
2056 sk_dst_set(struct sock *sk, struct dst_entry *dst) in sk_dst_set()
2058 struct dst_entry *old_dst; in sk_dst_set()
[all …]
Dtcp.h398 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst);
446 void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst);
449 struct dst_entry *dst,
460 struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,
474 struct dst_entry *dst, u32 tsoff);
567 const struct net *net, const struct dst_entry *dst);
714 const struct dst_entry *dst = __sk_dst_get(sk); in tcp_rto_min()
727 static inline bool tcp_ca_dst_locked(const struct dst_entry *dst) in tcp_ca_dst_locked()
1251 __u32 tcp_init_cwnd(const struct tcp_sock *tp, const struct dst_entry *dst);
1454 const struct dst_entry *dst);
[all …]
Dip.h419 static inline int ip_mtu_locked(const struct dst_entry *dst) in ip_mtu_locked()
427 int ip_dont_fragment(const struct sock *sk, const struct dst_entry *dst) in ip_dont_fragment()
453 static inline unsigned int ip_dst_mtu_maybe_forward(const struct dst_entry *dst, in ip_dst_mtu_maybe_forward()
499 void ip_dst_init_metrics(struct dst_entry *dst, struct dst_metrics *fib_metrics) in ip_dst_init_metrics()
510 void ip_dst_metrics_put(struct dst_entry *dst) in ip_dst_metrics_put()
Dip6_fib.h214 struct dst_entry dst;
249 static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst) in ip6_dst_idev()
444 struct dst_entry *fib6_rule_lookup(struct net *net, struct flowi6 *fl6,
Drequest_sock.h24 struct dst_entry;
/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()
Dnetfilter_ipv6.h50 int (*route)(struct net *net, struct dst_entry **dst, struct flowi *fl,
99 int __nf_ip6_route(struct net *net, struct dst_entry **dst,
102 static inline int nf_ip6_route(struct net *net, struct dst_entry **dst, in nf_ip6_route()
Dnetfilter_bridge.h21 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,
/include/net/netfilter/
Dnf_flow_table.h114 struct dst_entry *dst_cache;
156 struct dst_entry *dst;

12