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