/* The write_* functions store information in swqe which is used by the hardware to calculate the ip/tcp/udp checksum  */
static void write_ip_start_end(struct ehea_swqe *swqe, const struct sk_buff *skb)
/* The write_* functions store information in swqe which is used by the hardware to calculate the ip/tcp/udp checksum  */
static void write_ip_start_end(struct ehea_swqe *swqe, const struct sk_buff *skb)
{
	swqe->ip_start = skb_network_offset(skb);
	swqe->ip_end = (u8)(swqe->ip_start + ip_hdrlen(skb) - 1);
}