c64c6bd0c934913d21d5b10c6c6e830f60ef7d92
[openvswitch] / datapath / linux-2.6 / compat-2.6 / include / net / checksum.h
1 #ifndef __NET_CHECKSUM_WRAPPER_H
2 #define __NET_CHECKSUM_WRAPPER_H 1
3
4 #include_next <net/checksum.h>
5
6 #include <linux/version.h>
7 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
8
9 static inline __wsum csum_unfold(__sum16 n)
10 {
11         return (__force __wsum)n;
12 }
13
14 #endif /* linux kernel < 2.6.20 */
15
16 #endif /* checksum.h */