Lines Matching refs:iphdr
47 struct iphdr *ip4h; in rmnet_map_ipv4_dl_csum_trailer()
51 ip4h = (struct iphdr *)(skb->data); in rmnet_map_ipv4_dl_csum_trailer()
181 static void rmnet_map_complement_ipv4_txporthdr_csum_field(void *iphdr) in rmnet_map_complement_ipv4_txporthdr_csum_field() argument
183 struct iphdr *ip4h = (struct iphdr *)iphdr; in rmnet_map_complement_ipv4_txporthdr_csum_field()
187 txphdr = iphdr + ip4h->ihl * 4; in rmnet_map_complement_ipv4_txporthdr_csum_field()
196 rmnet_map_ipv4_ul_csum_header(void *iphdr, in rmnet_map_ipv4_ul_csum_header() argument
200 struct iphdr *ip4h = (struct iphdr *)iphdr; in rmnet_map_ipv4_ul_csum_header()
204 (unsigned char *)iphdr)); in rmnet_map_ipv4_ul_csum_header()
219 rmnet_map_complement_ipv4_txporthdr_csum_field(iphdr); in rmnet_map_ipv4_ul_csum_header()
394 void *iphdr; in rmnet_map_checksum_uplink_packet() local
404 iphdr = (char *)ul_header + in rmnet_map_checksum_uplink_packet()
408 rmnet_map_ipv4_ul_csum_header(iphdr, ul_header, skb); in rmnet_map_checksum_uplink_packet()
412 rmnet_map_ipv6_ul_csum_header(iphdr, ul_header, skb); in rmnet_map_checksum_uplink_packet()