/linux-6.1.9/arch/powerpc/include/asm/ |
D | checksum.h | 95 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function 177 sum = csum_add(sum, (__force __wsum)*(const u16 *)buff); in csum_partial() 179 sum = csum_add(sum, (__force __wsum)*(const u32 *)buff); in csum_partial() 181 sum = csum_add(sum, (__force __wsum) in csum_partial() 184 sum = csum_add(sum, (__force __wsum) in csum_partial() 187 sum = csum_add(sum, (__force __wsum) in csum_partial() 190 sum = csum_add(sum, (__force __wsum) in csum_partial() 193 sum = csum_add(sum, (__force __wsum) in csum_partial() 196 sum = csum_add(sum, (__force __wsum) in csum_partial() 199 sum = csum_add(sum, ip_fast_csum_nofold(buff, len >> 2)); in csum_partial()
|
/linux-6.1.9/include/net/ |
D | checksum.h | 57 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function 67 return csum_add(csum, ~addend); in csum_sub() 96 return csum_add(csum, csum_shift(csum2, offset)); in csum_block_add() 126 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff() 133 *sum = csum_fold(csum_add(tmp, (__force __wsum)to)); in csum_replace4() 149 *csum = csum_add(csum_sub(*csum, old), new); in csum_replace()
|
D | inet_ecn.h | 145 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ce() 161 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ect1()
|
D | gro.h | 224 !csum_fold(csum_add(psum, NAPI_GRO_CB(skb)->csum))) in __skb_gro_checksum_validate_complete() 323 NAPI_GRO_CB(skb)->csum = csum_add(NAPI_GRO_CB(skb)->csum, delta); in skb_gro_remcsum_process()
|
D | udp.h | 134 csum = csum_add(csum, skb->csum); in udp_csum_outgoing() 145 csum = csum_add(csum, skb->csum); in udp_csum()
|
/linux-6.1.9/net/ipv6/ila/ |
D | ila_common.c | 51 diff = csum_add(diff, fval); in ila_csum_do_neutral_fmt() 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()
|
/linux-6.1.9/net/core/ |
D | utils.c | 431 skb->csum = ~csum_add(csum_sub(~(skb->csum), in inet_proto_csum_replace4() 435 *sum = ~csum_fold(csum_add(csum_sub(csum_unfold(*sum), in inet_proto_csum_replace4() 483 *sum = ~csum_fold(csum_add(diff, csum_unfold(*sum))); in inet_proto_csum_replace_by_diff()
|
D | gro.c | 793 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum)); in __skb_gro_checksum_complete()
|
/linux-6.1.9/arch/sparc/include/asm/ |
D | checksum_64.h | 133 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
|
D | checksum_32.h | 199 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
|
/linux-6.1.9/arch/x86/include/asm/ |
D | checksum_64.h | 179 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
|
/linux-6.1.9/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()
|
/linux-6.1.9/net/netfilter/ |
D | nft_payload.c | 557 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum)); in nft_csum_replace() 637 skb->csum = ~csum_add(csum_sub(~(skb->csum), fsum), in nft_payload_l4csum_update() 641 sum = ~csum_fold(csum_add(csum_sub(csum_unfold(sum), fsum), in nft_payload_l4csum_update()
|
D | xt_TCPMSS.c | 242 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)oldlen), in tcpmss_tg6()
|
/linux-6.1.9/net/dsa/ |
D | tag_dsa.c | 309 c = csum_add(c, csum_partial(new_header + 2, 2, 0)); in dsa_rcv_ll()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_rx.c | 572 return csum_add(hw_checksum, *(__wsum *)vlanh); in get_fixed_vlan_csum() 613 temp = csum_add(hw_checksum, *(__wsum *)ipv6h); in get_fixed_ipv6_csum() 615 skb->csum = csum_add(temp, (__force __wsum)*(__be16 *)&ipv6h->nexthdr); in get_fixed_ipv6_csum()
|
/linux-6.1.9/drivers/staging/gdm724x/ |
D | gdm_lte.c | 200 sum = csum_add(sum, csum_unfold((__force __sum16)pa)); in icmp6_checksum() 205 sum = csum_add(sum, csum_unfold((__force __sum16)*w++)); in icmp6_checksum()
|
/linux-6.1.9/net/ipv4/ |
D | inet_fragment.c | 540 head->csum = csum_add(head->csum, fp->csum); in inet_frag_reasm_finish()
|
D | udp_offload.c | 135 uh->check = ~csum_fold(csum_add(partial, in __skb_udp_tunnel_segment()
|
D | icmp.c | 382 csum = csum_add(csum, skb1->csum); in icmp_push_reply()
|
D | ip_output.c | 1743 arg->csumoffset) = csum_fold(csum_add(nskb->csum, in ip_send_unicast_reply()
|
/linux-6.1.9/net/ipv6/ |
D | icmp.c | 293 tmp_csum = csum_add(tmp_csum, skb->csum); in icmpv6_push_pending_frames()
|
D | raw.c | 546 tmp_csum = csum_add(tmp_csum, skb->csum); in rawv6_push_pending_frames()
|
D | udp.c | 1205 csum = csum_add(csum, frags->csum); in udp6_hwcsum_outgoing()
|
/linux-6.1.9/include/linux/ |
D | skbuff.h | 4422 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete() 4531 skb->csum = csum_add(skb->csum, delta); in skb_remcsum_process()
|