Home
last modified time | relevance | path

Searched refs:skb_checksum (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v5.10/net/netfilter/
Dutils.c77 skb_checksum(skb, 0, in nf_ip6_checksum()
89 skb_checksum(skb, 0, in nf_ip6_checksum()
111 hsum = skb_checksum(skb, 0, dataoff, 0); in nf_ip6_checksum_partial()
Dnf_nat_proto.c610 csum_fold(skb_checksum(skb, hdrlen, in nf_nat_icmp_reply_translation()
835 skb_checksum(skb, hdrlen, in nf_nat_icmpv6_reply_translation()
Dnft_payload.c624 fsum = skb_checksum(skb, offset, priv->len, 0); in nft_payload_set_eval()
/Linux-v5.10/include/net/
Dudplite.h108 csum = skb_checksum(skb, off, (cscov > len)? len : cscov, csum); in udplite_csum_outgoing()
130 return skb_checksum(skb, off, len, 0); in udplite_csum()
Dgre.h116 csum = skb_checksum(skb, 0, skb->len, 0); in gre_checksum()
/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_proto_udp.c193 skb->csum = skb_checksum(skb, udphoff, skb->len - udphoff, 0); in udp_snat_handler()
277 skb->csum = skb_checksum(skb, udphoff, skb->len - udphoff, 0); in udp_dnat_handler()
319 skb->csum = skb_checksum(skb, udphoff, in udp_csum_check()
Dip_vs_proto_tcp.c200 skb->csum = skb_checksum(skb, tcphoff, skb->len - tcphoff, 0); in tcp_snat_handler()
283 skb->csum = skb_checksum(skb, tcphoff, skb->len - tcphoff, 0); in tcp_dnat_handler()
317 skb->csum = skb_checksum(skb, tcphoff, skb->len - tcphoff, 0); in tcp_csum_check()
Dip_vs_core.c706 return csum_fold(skb_checksum(skb, offset, skb->len - offset, 0)); in ip_vs_checksum_complete()
/Linux-v5.10/net/ipv6/
Dudp_offload.c59 csum = skb_checksum(skb, 0, skb->len, 0); in udp6_ufo_fragment()
Desp6.c272 __wsum csum = skb_checksum(skb, offset, skb->len - offset, 0); in esp_output_encap_csum()
776 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
Dudp.c1142 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in udp6_hwcsum_outgoing()
/Linux-v5.10/net/ipv4/
Dgre_offload.c105 csum = skb_checksum(skb, gre_offset, in gre_gso_segment()
Dudp_offload.c343 csum = skb_checksum(skb, 0, skb->len, 0); in udp4_ufo_fragment()
Dicmp.c1154 csum_fold(skb_checksum(skb, off, skb->len - off, 0))) in ip_icmp_error_rfc4884_validate()
Desp4.c741 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
Dip_sockglue.c125 csum = csum_sub(csum, skb_checksum(skb, tend_off, offset, 0)); in ip_cmsg_recv_checksum()
/Linux-v5.10/net/sunrpc/
Dsocklib.c185 csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0); in csum_partial_copy_to_xdr()
/Linux-v5.10/drivers/net/ethernet/sun/
Dsunvnet_common.c324 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in vnet_fullcsum_ipv4()
332 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in vnet_fullcsum_ipv4()
357 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in vnet_fullcsum_ipv6()
365 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in vnet_fullcsum_ipv6()
/Linux-v5.10/net/dccp/
Ddccp.h216 skb->csum = skb_checksum(skb, 0, (cov > skb->len)? skb->len : cov, 0); in dccp_csum_outgoing()
Dipv4.c767 skb->csum = skb_checksum(skb, 0, cscov, 0); in dccp_invalid_packet()
/Linux-v5.10/net/core/
Dskbuff.c2012 skb_checksum(skb, len, delta, 0), in pskb_trim_rcsum_slow()
2706 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum() function
2716 EXPORT_SYMBOL(skb_checksum);
2809 sum = csum_fold(skb_checksum(skb, 0, len, skb->csum)); in __skb_checksum_complete_head()
2836 csum = skb_checksum(skb, 0, skb->len, 0); in __skb_checksum_complete()
4023 skb_checksum(nskb, doffset, in skb_segment()
Dpktgen.c2829 __wsum csum = skb_checksum(skb, skb_transport_offset(skb), datalen + 8, 0); in fill_packet_ipv4()
2965 __wsum csum = skb_checksum(skb, skb_transport_offset(skb), udplen, 0); in fill_packet_ipv6()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtx.c1874 csum = skb_checksum(csum_skb, in iwl_fill_data_tbs_amsdu()
1940 csum = skb_checksum(skb, offs, skb->len - offs, 0); in iwl_trans_pcie_tx()
/Linux-v5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1125 skb->csum = skb_checksum(skb, offset, in pch_gbe_tx_queue()
1137 skb_checksum(skb, offset, in pch_gbe_tx_queue()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c902 skb_checksum(skb, offset, len, 0), in tail_padding_csum_slow()

12