Lines Matching refs:htons
192 ul_header->csum_start_offset = htons(skb_network_header_len(skb)); in rmnet_map_ipv4_ul_csum_header()
193 ul_header->csum_info = htons(val); in rmnet_map_ipv4_ul_csum_header()
227 ul_header->csum_start_offset = htons(skb_network_header_len(skb)); in rmnet_map_ipv6_ul_csum_header()
228 ul_header->csum_info = htons(val); in rmnet_map_ipv6_ul_csum_header()
261 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v5_checksum_uplink_packet()
267 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()
329 map_header->pkt_len = htons(map_datalen + padding); in rmnet_map_add_map_header()
420 if (skb->protocol == htons(ETH_P_IP)) in rmnet_map_checksum_downlink_packet()
423 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) in rmnet_map_checksum_downlink_packet()
451 if (skb->protocol == htons(ETH_P_IP)) { in rmnet_map_v4_checksum_uplink_packet()
457 if (IS_ENABLED(CONFIG_IPV6) && skb->protocol == htons(ETH_P_IPV6)) { in rmnet_map_v4_checksum_uplink_packet()
617 port->skbagg_head->protocol = htons(ETH_P_MAP); in rmnet_map_tx_aggregate()
671 skb->protocol = htons(ETH_P_MAP); in rmnet_map_tx_aggregate()