/kernel/linux/linux-5.10/net/core/ |
D | utils.c | 435 *sum = ~csum_fold(csum_add(csum_sub(csum_unfold(*sum), in inet_proto_csum_replace4() 468 ~csum_unfold(*sum))); in inet_proto_csum_replace16() 471 csum_unfold(*sum))); in inet_proto_csum_replace16() 479 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in inet_proto_csum_replace_by_diff() 483 *sum = ~csum_fold(csum_add(diff, csum_unfold(*sum))); in inet_proto_csum_replace_by_diff()
|
/kernel/linux/linux-5.10/include/net/ |
D | ip6_checksum.h | 41 return ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in ip6_compute_pseudo() 50 return ~csum_unfold(csum_ipv6_magic(&iph->saddr, &iph->daddr, in ip6_gro_compute_pseudo()
|
D | checksum.h | 107 static __always_inline __wsum csum_unfold(__sum16 n) in csum_unfold() function 122 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff() 127 __wsum tmp = csum_sub(~csum_unfold(*sum), (__force __wsum)from); in csum_replace4()
|
/kernel/linux/linux-5.10/net/ipv6/ila/ |
D | ila_common.c | 53 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_fmt() 71 *adjust = ~csum_fold(csum_add(diff, csum_unfold(*adjust))); in ila_csum_do_neutral_nofmt()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_proto_udp.c | 103 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 109 ~csum_unfold(uhdr->check)))); in udp_fast_csum_update() 125 csum_unfold(uhdr->check)))); in udp_partial_csum_update() 131 csum_unfold(uhdr->check)))); in udp_partial_csum_update()
|
D | ip_vs_proto_tcp.c | 115 ~csum_unfold(tcph->check)))); in tcp_fast_csum_update() 121 ~csum_unfold(tcph->check)))); in tcp_fast_csum_update() 136 csum_unfold(tcph->check)))); in tcp_partial_csum_update() 142 csum_unfold(tcph->check)))); in tcp_partial_csum_update()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | ip6t_NPT.c | 71 sum = ~csum_fold(csum_add(csum_unfold((__force __sum16)addr->s6_addr16[idx]), in ip6t_npt_map_pfx() 72 csum_unfold(npt->adjustment))); in ip6t_npt_map_pfx()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | utils.c | 84 skb->csum = ~csum_unfold( in nf_ip6_checksum() 112 skb->csum = ~csum_unfold(csum_ipv6_magic(&ip6h->saddr, in nf_ip6_checksum_partial()
|
D | nft_payload.c | 485 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum)); in nft_csum_replace() 569 sum = ~csum_fold(csum_add(csum_sub(csum_unfold(sum), fsum), in nft_payload_l4csum_update()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_nat_snmp_basic_main.c | 92 ~csum_unfold(*ctx->check))); in fast_csum()
|
/kernel/linux/linux-5.10/drivers/staging/gdm724x/ |
D | gdm_lte.c | 201 sum = csum_add(sum, csum_unfold((__force __sum16)pa)); in icmp6_checksum() 206 sum = csum_add(sum, csum_unfold((__force __sum16)*w++)); in icmp6_checksum()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 819 csum_unfold((__force __sum16)cqe->check_sum)); in mlx5e_lro_update_hdr() 836 csum_unfold((__force __sum16)cqe->check_sum)); in mlx5e_lro_update_hdr() 1009 skb->csum = csum_unfold((__force __sum16)cqe->check_sum); in mlx5e_handle_csum() 1669 skb->csum = csum_unfold((__force __sum16)cqe->check_sum); in mlx5i_complete_rx_cqe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/google/gve/ |
D | gve_rx.c | 370 skb->csum = csum_unfold(rx_desc->csum); in gve_rx()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | raw.c | 439 skb->csum = ~csum_unfold(csum_ipv6_magic(&ipv6_hdr(skb)->saddr, in rawv6_rcv() 606 tmp_csum = csum_sub(tmp_csum, csum_unfold(csum)); in rawv6_push_pending_frames()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_offload.c | 44 partial = csum_sub(csum_unfold(uh->check), partial); in __skb_udp_tunnel_segment()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 643 hw_checksum = csum_unfold((__force __sum16)cqe->checksum); in check_csum()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rxmq.c | 460 skb->csum = csum_unfold(~(__force __sum16)hwsum); in iwl_mvm_rx_csum()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/ |
D | enetc.c | 574 skb->csum = csum_unfold((__force __sum16)~htons(inet_csum)); in enetc_get_offloads()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | sge.c | 1659 skb->csum = csum_unfold(c); in t4vf_ethrx_handler()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
D | cassini.c | 2116 csum_unfold(csum))); in cas_rx_process_pkt() 2122 skb->csum = csum_unfold(~csum); in cas_rx_process_pkt()
|
D | sungem.c | 850 skb->csum = csum_unfold(csum); in gem_rx()
|
D | sunhme.c | 2078 skb->csum = csum_unfold(~(__force __sum16)htons(csum)); in happy_meal_rx()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/ |
D | ravb_main.c | 527 skb->csum = csum_unfold((__force __sum16)get_unaligned_le16(hw_csum)); in ravb_rx_csum()
|
D | sh_eth.c | 1578 skb->csum = csum_unfold((__force __sum16)get_unaligned_le16(hw_csum)); in sh_eth_rx_csum()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 4588 partial = ~csum_unfold(*(__force __sum16 *)(csum_start + in lco_csum()
|