Home
last modified time | relevance | path

Searched refs:csum_add (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/arch/powerpc/include/asm/
A Dchecksum.h95 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.3-rc2/include/net/
A Dchecksum.h59 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
69 return csum_add(csum, ~addend); in csum_sub()
98 return csum_add(csum, csum_shift(csum2, offset)); in csum_block_add()
128 *sum = csum_fold(csum_add(diff, ~csum_unfold(*sum))); in csum_replace_by_diff()
135 *sum = csum_fold(csum_add(tmp, (__force __wsum)to)); in csum_replace4()
151 *csum = csum_add(csum_sub(*csum, old), new); in csum_replace()
A Dinet_ecn.h145 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()
A Dgro.h224 !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()
A Dudp.h134 csum = csum_add(csum, skb->csum); in udp_csum_outgoing()
145 csum = csum_add(csum, skb->csum); in udp_csum()
/linux-6.3-rc2/net/ipv6/ila/
A Dila_common.c51 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.3-rc2/net/core/
A Dutils.c431 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()
A Dgro.c802 sum = csum_fold(csum_add(NAPI_GRO_CB(skb)->csum, wsum)); in __skb_gro_checksum_complete()
/linux-6.3-rc2/arch/sparc/include/asm/
A Dchecksum_64.h133 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
A Dchecksum_32.h199 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
/linux-6.3-rc2/arch/x86/include/asm/
A Dchecksum_64.h178 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() function
/linux-6.3-rc2/net/ipv6/netfilter/
A Dip6t_NPT.c71 sum = ~csum_fold(csum_add(csum_unfold((__force __sum16)addr->s6_addr16[idx]), in ip6t_npt_map_pfx()
/linux-6.3-rc2/net/dsa/
A Dtag_dsa.c312 c = csum_add(c, csum_partial(new_header + 2, 2, 0)); in dsa_rcv_ll()
/linux-6.3-rc2/net/netfilter/
A Dnft_payload.c680 *sum = csum_fold(csum_add(csum_sub(~csum_unfold(*sum), fsum), tsum)); in nft_csum_replace()
760 skb->csum = ~csum_add(csum_sub(~(skb->csum), fsum), in nft_payload_l4csum_update()
764 sum = ~csum_fold(csum_add(csum_sub(csum_unfold(sum), fsum), in nft_payload_l4csum_update()
A Dxt_TCPMSS.c242 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)oldlen), in tcpmss_tg6()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Den_rx.c572 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.3-rc2/drivers/staging/gdm724x/
A Dgdm_lte.c200 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.3-rc2/net/ipv4/
A Dinet_fragment.c546 head->csum = csum_add(head->csum, fp->csum); in inet_frag_reasm_finish()
A Dudp_offload.c135 uh->check = ~csum_fold(csum_add(partial, in __skb_udp_tunnel_segment()
A Dicmp.c385 csum = csum_add(csum, skb1->csum); in icmp_push_reply()
A Dip_output.c1743 arg->csumoffset) = csum_fold(csum_add(nskb->csum, in ip_send_unicast_reply()
/linux-6.3-rc2/net/ipv6/
A Dicmp.c297 tmp_csum = csum_add(tmp_csum, skb->csum); in icmpv6_push_pending_frames()
A Draw.c548 tmp_csum = csum_add(tmp_csum, skb->csum); in rawv6_push_pending_frames()
A Dudp.c1209 csum = csum_add(csum, frags->csum); in udp6_hwcsum_outgoing()
/linux-6.3-rc2/include/linux/
A Dskbuff.h4450 if (!csum_fold(csum_add(psum, skb->csum))) { in __skb_checksum_validate_complete()
4559 skb->csum = csum_add(skb->csum, delta); in skb_remcsum_process()

Completed in 59 milliseconds

12