Lines Matching defs:iphdr
37 struct iphdr *ip4h = (struct iphdr *)skb->data;
167 static void rmnet_map_complement_ipv4_txporthdr_csum_field(struct iphdr *ip4h)
181 rmnet_map_ipv4_ul_csum_header(struct iphdr *iphdr,
188 if (iphdr->protocol == IPPROTO_UDP)
197 rmnet_map_complement_ipv4_txporthdr_csum_field(iphdr);
262 u16 ip_len = ((struct iphdr *)iph)->ihl * 4;
264 proto = ((struct iphdr *)iph)->protocol;
436 void *iphdr;
448 iphdr = (char *)ul_header +
452 rmnet_map_ipv4_ul_csum_header(iphdr, ul_header, skb);
458 rmnet_map_ipv6_ul_csum_header(iphdr, ul_header, skb);