Home
last modified time | relevance | path

Searched refs:csum_field (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/qualcomm/rmnet/
Drmnet_map_data.c45 __sum16 *csum_field, csum_temp, pseudo_csum, hdr_csum, ip_payload_csum; in rmnet_map_ipv4_dl_csum_trailer() local
60 csum_field = rmnet_map_get_csum_field(ip4h->protocol, txporthdr); in rmnet_map_ipv4_dl_csum_trailer()
62 if (!csum_field) { in rmnet_map_ipv4_dl_csum_trailer()
68 if (*csum_field == 0 && ip4h->protocol == IPPROTO_UDP) { in rmnet_map_ipv4_dl_csum_trailer()
84 addend = (__force __be16)ntohs((__force __be16)*csum_field); in rmnet_map_ipv4_dl_csum_trailer()
97 if (*csum_field == (__force __sum16)0xFFFF) in rmnet_map_ipv4_dl_csum_trailer()
103 if (csum_value_final == ntohs((__force __be16)*csum_field)) { in rmnet_map_ipv4_dl_csum_trailer()
118 __sum16 *csum_field, ip6_payload_csum, pseudo_csum, csum_temp; in rmnet_map_ipv6_dl_csum_trailer() local
128 csum_field = rmnet_map_get_csum_field(ip6h->nexthdr, txporthdr); in rmnet_map_ipv6_dl_csum_trailer()
130 if (!csum_field) { in rmnet_map_ipv6_dl_csum_trailer()
[all …]