Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
78 pseudo_csum = ~csum_tcpudp_magic(ip4h->saddr, ip4h->daddr, in rmnet_map_ipv4_dl_csum_trailer()
81 addend = (__force __be16)ntohs((__force __be16)pseudo_csum); in rmnet_map_ipv4_dl_csum_trailer()
82 pseudo_csum = csum16_add(ip_payload_csum, addend); in rmnet_map_ipv4_dl_csum_trailer()
85 csum_temp = ~csum16_sub(pseudo_csum, addend); 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
145 pseudo_csum = ~(csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in rmnet_map_ipv6_dl_csum_trailer()
147 addend = (__force __be16)ntohs((__force __be16)pseudo_csum); in rmnet_map_ipv6_dl_csum_trailer()
148 pseudo_csum = csum16_add(ip6_payload_csum, addend); in rmnet_map_ipv6_dl_csum_trailer()
151 csum_temp = ~csum16_sub(pseudo_csum, addend); in rmnet_map_ipv6_dl_csum_trailer()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dcnic_defs.h4438 u16 pseudo_csum; member
4442 u16 pseudo_csum; member
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c3687 pbd_e2->data.tunnel_data.pseudo_csum = in bnx2x_update_pbds_gso_enc()
3693 pbd_e2->data.tunnel_data.pseudo_csum = in bnx2x_update_pbds_gso_enc()
Dbnx2x_hsi.h4147 __le16 pseudo_csum; member