Files
openflow/datapath/linux-2.6/compat-2.6/include/net/checksum.h
T
2008-03-04 13:12:53 -08:00

17 lines
313 B
C

#ifndef __NET_CHECKSUM_WRAPPER_H
#define __NET_CHECKSUM_WRAPPER_H 1
#include_next <net/checksum.h>
#include <linux/version.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)
static inline __wsum csum_unfold(__sum16 n)
{
return (__force __wsum)n;
}
#endif /* linux kernel < 2.6.20 */
#endif /* checksum.h */