Lines Matching defs:dst_entry

26 struct dst_entry {
106 u32 *dst_cow_metrics_generic(struct dst_entry *dst, unsigned long old);
115 static inline bool dst_metrics_read_only(const struct dst_entry *dst)
120 void __dst_destroy_metrics_generic(struct dst_entry *dst, unsigned long old);
122 static inline void dst_destroy_metrics_generic(struct dst_entry *dst)
129 static inline u32 *dst_metrics_write_ptr(struct dst_entry *dst)
143 static inline void dst_init_metrics(struct dst_entry *dst,
151 static inline void dst_copy_metrics(struct dst_entry *dest, const struct dst_entry *src)
162 static inline u32 *dst_metrics_ptr(struct dst_entry *dst)
168 dst_metric_raw(const struct dst_entry *dst, const int metric)
176 dst_metric(const struct dst_entry *dst, const int metric)
185 dst_metric_advmss(const struct dst_entry *dst)
195 static inline void dst_metric_set(struct dst_entry *dst, int metric, u32 val)
210 dst_feature(const struct dst_entry *dst, u32 feature)
215 INDIRECT_CALLABLE_DECLARE(unsigned int ip6_mtu(const struct dst_entry *));
216 INDIRECT_CALLABLE_DECLARE(unsigned int ipv4_mtu(const struct dst_entry *));
217 static inline u32 dst_mtu(const struct dst_entry *dst)
223 static inline unsigned long dst_metric_rtt(const struct dst_entry *dst, int metric)
229 dst_metric_locked(const struct dst_entry *dst, int metric)
234 static inline void dst_hold(struct dst_entry *dst)
238 * the placement of __rcuref in struct dst_entry
240 BUILD_BUG_ON(offsetof(struct dst_entry, __rcuref) & 63);
244 static inline void dst_use_noref(struct dst_entry *dst, unsigned long time)
252 static inline struct dst_entry *dst_clone(struct dst_entry *dst)
259 void dst_release(struct dst_entry *dst);
261 void dst_release_immediate(struct dst_entry *dst);
266 dst_release((struct dst_entry *)(refdst & SKB_DST_PTRMASK));
303 static inline bool dst_hold_safe(struct dst_entry *dst)
318 struct dst_entry *dst = skb_dst(skb);
377 const struct dst_entry *dst;
393 void dst_init(struct dst_entry *dst, struct dst_ops *ops,
396 void dst_dev_put(struct dst_entry *dst);
398 static inline void dst_confirm(struct dst_entry *dst)
402 static inline struct neighbour *dst_neigh_lookup(const struct dst_entry *dst, const void *daddr)
408 static inline struct neighbour *dst_neigh_lookup_skb(const struct dst_entry *dst,
421 static inline void dst_confirm_neigh(const struct dst_entry *dst,
430 struct dst_entry *dst = skb_dst(skb);
435 static inline void dst_set_expires(struct dst_entry *dst, int timeout)
448 static inline unsigned int dst_dev_overhead(struct dst_entry *dst,
478 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ip6_dst_check(struct dst_entry *,
480 INDIRECT_CALLABLE_DECLARE(struct dst_entry *ipv4_dst_check(struct dst_entry *,
482 static inline struct dst_entry *dst_check(struct dst_entry *dst, u32 cookie)
499 static inline struct dst_entry *xfrm_lookup(struct net *net,
500 struct dst_entry *dst_orig,
508 static inline struct dst_entry *
509 xfrm_lookup_with_ifid(struct net *net, struct dst_entry *dst_orig,
516 static inline struct dst_entry *xfrm_lookup_route(struct net *net,
517 struct dst_entry *dst_orig,
525 static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst)
531 struct dst_entry *xfrm_lookup(struct net *net, struct dst_entry *dst_orig,
535 struct dst_entry *xfrm_lookup_with_ifid(struct net *net,
536 struct dst_entry *dst_orig,
541 struct dst_entry *xfrm_lookup_route(struct net *net, struct dst_entry *dst_orig,
546 static inline struct xfrm_state *dst_xfrm(const struct dst_entry *dst)
554 struct dst_entry *dst = skb_dst(skb);
563 struct dst_entry *dst = skb_dst(skb);
569 static inline struct net_device *dst_dev(const struct dst_entry *dst)
574 static inline struct net_device *dst_dev_rcu(const struct dst_entry *dst)
579 static inline struct net *dst_dev_net_rcu(const struct dst_entry *dst)
604 struct dst_entry *dst_blackhole_check(struct dst_entry *dst, u32 cookie);
605 void dst_blackhole_update_pmtu(struct dst_entry *dst, struct sock *sk,
607 void dst_blackhole_redirect(struct dst_entry *dst, struct sock *sk,
609 u32 *dst_blackhole_cow_metrics(struct dst_entry *dst, unsigned long old);
610 struct neighbour *dst_blackhole_neigh_lookup(const struct dst_entry *dst,
613 unsigned int dst_blackhole_mtu(const struct dst_entry *dst);