Lines Matching refs:iphdr
36 struct iphdr *ip4h = (struct iphdr *)skb->data; in rmnet_map_ipv4_dl_csum_trailer()
166 static void rmnet_map_complement_ipv4_txporthdr_csum_field(struct iphdr *ip4h) in rmnet_map_complement_ipv4_txporthdr_csum_field()
180 rmnet_map_ipv4_ul_csum_header(struct iphdr *iphdr, in rmnet_map_ipv4_ul_csum_header() argument
187 if (iphdr->protocol == IPPROTO_UDP) in rmnet_map_ipv4_ul_csum_header()
196 rmnet_map_complement_ipv4_txporthdr_csum_field(iphdr); in rmnet_map_ipv4_ul_csum_header()
261 u16 ip_len = ((struct iphdr *)iph)->ihl * 4; in rmnet_map_v5_checksum_uplink_packet()
263 proto = ((struct iphdr *)iph)->protocol; in rmnet_map_v5_checksum_uplink_packet()
435 void *iphdr; in rmnet_map_v4_checksum_uplink_packet() local
447 iphdr = (char *)ul_header + in rmnet_map_v4_checksum_uplink_packet()
451 rmnet_map_ipv4_ul_csum_header(iphdr, ul_header, skb); in rmnet_map_v4_checksum_uplink_packet()
457 rmnet_map_ipv6_ul_csum_header(iphdr, ul_header, skb); in rmnet_map_v4_checksum_uplink_packet()