Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
890 skb_checksum(skb, hdrlen, in nf_nat_icmpv6_reply_translation()
Dnft_payload.c709 fsum = skb_checksum(skb, offset, priv->len, 0); in nft_payload_set_eval()
/linux-6.1.9/include/net/
Dudplite.h80 return skb_checksum(skb, off, len, 0); in udplite_csum()
/linux-6.1.9/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.c694 return csum_fold(skb_checksum(skb, offset, skb->len - offset, 0)); in ip_vs_checksum_complete()
/linux-6.1.9/net/ipv6/
Dudp_offload.c60 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()
769 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
Dudp.c1199 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in udp6_hwcsum_outgoing()
Dip6mr.c549 csum_fold(skb_checksum(skb, 0, skb->len, 0)))) in pim6_rcv()
/linux-6.1.9/net/sunrpc/
Dsocklib.c186 csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0); in csum_partial_copy_to_xdr()
/linux-6.1.9/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-6.1.9/net/dccp/
Ddccp.h211 skb->csum = skb_checksum(skb, 0, (cov > skb->len)? skb->len : cov, 0); in dccp_csum_outgoing()
Dipv4.c784 skb->csum = skb_checksum(skb, 0, cscov, 0); in dccp_invalid_packet()
/linux-6.1.9/drivers/net/
Damt.c572 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in amt_build_igmp_gq()
671 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in amt_send_discovery()
762 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in amt_send_request()
2609 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in amt_send_advertisement()
/linux-6.1.9/net/ipv4/
Dudp_offload.c406 csum = skb_checksum(skb, 0, skb->len, 0); in udp4_ufo_fragment()
Desp4.c731 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
Dicmp.c1297 csum_fold(skb_checksum(skb, off, skb->len - off, 0))) in ip_icmp_error_rfc4884_validate()
Dip_sockglue.c125 csum = csum_sub(csum, skb_checksum(skb, tend_off, offset, 0)); in ip_cmsg_recv_checksum()
/linux-6.1.9/net/core/
Dgro.c790 wsum = skb_checksum(skb, skb_gro_offset(skb), skb_gro_len(skb), 0); in __skb_gro_checksum_complete()
Dskbuff.c2328 skb_checksum(skb, len, delta, 0), in pskb_trim_rcsum_slow()
3072 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum() function
3082 EXPORT_SYMBOL(skb_checksum);
3175 sum = csum_fold(skb_checksum(skb, 0, len, skb->csum)); in __skb_checksum_complete_head()
3202 csum = skb_checksum(skb, 0, skb->len, 0); in __skb_checksum_complete()
4407 skb_checksum(nskb, doffset, in skb_segment()
Dpktgen.c2970 __wsum csum = skb_checksum(skb, skb_transport_offset(skb), datalen + 8, 0); in fill_packet_ipv4()
3106 __wsum csum = skb_checksum(skb, skb_transport_offset(skb), udplen, 0); in fill_packet_ipv6()
/linux-6.1.9/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c1095 skb->csum = skb_checksum(skb, offset, in pch_gbe_tx_queue()
1107 skb_checksum(skb, offset, in pch_gbe_tx_queue()
/linux-6.1.9/net/mptcp/
Dsubflow.c932 csum = skb_checksum(skb, offset, len, 0); in validate_data_csum()

12