1 #ifndef __NET_DST_WRAPPER_H
2 #define __NET_DST_WRAPPER_H 1
4 #include <linux/version.h>
5 #include_next <net/dst.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0) && \
8 LINUX_VERSION_CODE > KERNEL_VERSION(3,0,20)
10 #define dst_get_neighbour_noref dst_get_neighbour
14 #ifndef HAVE_SKB_DST_ACCESSOR_FUNCS
16 static inline void skb_dst_drop(struct sk_buff *skb)
19 dst_release(skb_dst(skb));