Lines Matching refs:dst_entry
26 struct dst_entry {
103 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
112 static inline bool dst_metrics_read_only(const struct dst_entry *dst)
117 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
119 static inline void dst_destroy_metrics_generic(struct dst_entry *dst)
126 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst)
140 static inline void dst_init_metrics(struct dst_entry *dst,
148 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src)
159 static inline u32 *dst_metrics_ptr(struct dst_entry *dst)
165 dst_metric_raw(const struct dst_entry *dst, const int metric)
173 dst_metric(const struct dst_entry *dst, const int metric)
182 dst_metric_advmss(const struct dst_entry *dst)
192 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val)
207 dst_feature(const struct dst_entry *dst, u32 feature)
212 INDIRECT_CALLABLE_DECLARE(unsigned int ip6_mtu(const struct dst_entry *));
213 INDIRECT_CALLABLE_DECLARE(unsigned int ipv4_mtu(const struct dst_entry *));
214 static inline u32 dst_mtu(const struct dst_entry *dst)
220 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric)
226 dst_allfrag(const struct dst_entry *dst)
233 dst_metric_locked(const struct dst_entry *dst, int metric)
238 static inline void dst_hold(struct dst_entry *dst)
242 * the placement of __rcuref in struct dst_entry
244 BUILD_BUG_ON(offsetof(struct dst_entry, __rcuref) & 63);
248 static inline void dst_use_noref(struct dst_entry *dst, unsigned long time)
256 static inline struct dst_entry *dst_clone(struct dst_entry *dst)
263 void dst_release(struct dst_entry *dst);
265 void dst_release_immediate(struct dst_entry *dst);
270 dst_release((struct dst_entry *)(refdst & SKB_DST_PTRMASK));
307 static inline bool dst_hold_safe(struct dst_entry *dst)
322 struct dst_entry *dst = skb_dst(skb);
381 const struct dst_entry *dst;
397 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
400 struct dst_entry *dst_destroy(struct dst_entry *dst);
401 void dst_dev_put(struct dst_entry *dst);
403 static inline void dst_confirm(struct dst_entry *dst)
407 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr)
413 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst,
426 static inline void dst_confirm_neigh(const struct dst_entry *dst,
435 struct dst_entry *dst = skb_dst(skb);
440 static inline void dst_set_expires(struct dst_entry *dst, int timeout)
472 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
474 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
476 static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie)
493 static inline struct dst_entry *xfrm_lookup(struct net *net,
494 struct dst_entry *dst_orig,
502 static inline struct dst_entry *
503 xfrm_lookup_with_ifid(struct net *net, struct dst_entry *dst_orig,
510 static inline struct dst_entry *xfrm_lookup_route(struct net *net,
511 struct dst_entry *dst_orig,
519 static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst)
525 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig,
529 struct dst_entry *xfrm_lookup_with_ifid(struct net *net,
530 struct dst_entry *dst_orig,
535 struct dst_entry *xfrm_lookup_route(struct net *net, struct dst_entry *dst_orig,
540 static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst)
548 struct dst_entry *dst = skb_dst(skb);
557 struct dst_entry *dst = skb_dst(skb);
563 struct dst_entry *dst_blackhole_check(struct dst_entry *dst, u32 cookie);
564 void dst_blackhole_update_pmtu(struct dst_entry *dst, struct sock *sk,
566 void dst_blackhole_redirect(struct dst_entry *dst, struct sock *sk,
568 u32 *dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old);
569 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
572 unsigned int dst_blackhole_mtu(const struct dst_entry *dst);