#include "frag.h"
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
#define SKB_IPHDR(skb) ((struct iphdr*)skb->network_header)
/* 2.6.22 added an inline function for 32-/64-bit usage here, so use it.
*/
#define SKB_IPHDR(skb) ((struct iphdr*)skb_network_header)
#else
#define SKB_IPHDR(skb) skb->nh.iph
#endif