Lines Matching refs:htons
191 ul_header->csum_start_offset = htons(skb_network_header_len(skb)); in rmnet_map_ipv4_ul_csum_header()
192 ul_header->csum_info = htons(val); in rmnet_map_ipv4_ul_csum_header()
226 ul_header->csum_start_offset = htons(skb_network_header_len(skb)); in rmnet_map_ipv6_ul_csum_header()
227 ul_header->csum_info = htons(val); in rmnet_map_ipv6_ul_csum_header()
260 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v5_checksum_uplink_packet()
266 skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v5_checksum_uplink_packet()
313 map_header->pkt_len = htons(map_datalen); in rmnet_map_add_map_header()
330 map_header->pkt_len = htons(map_datalen + padding); in rmnet_map_add_map_header()
421 if (skb->protocol == htons(ETH_P_IP)) in rmnet_map_checksum_downlink_packet()
424 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) in rmnet_map_checksum_downlink_packet()
452 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v4_checksum_uplink_packet()
458 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v4_checksum_uplink_packet()