Home
last modified time | relevance | path

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

/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()
852 skb_checksum(skb, hdrlen, in nf_nat_icmpv6_reply_translation()
Dnft_payload.c630 fsum = skb_checksum(skb, offset, priv->len, 0); in nft_payload_set_eval()
/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()
/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()
775 csumdiff = skb_checksum(skb, skb->len - trimlen, trimlen, 0); in esp_remove_trailer()
Dudp.c1165 skb->csum = skb_checksum(skb, offset, skb->len - offset, 0); in udp6_hwcsum_outgoing()
Dip6mr.c545 csum_fold(skb_checksum(skb, 0, skb->len, 0)))) in pim6_rcv()
/net/ipv4/
Dgre_offload.c105 csum = skb_checksum(skb, gre_offset, in gre_gso_segment()
Dip_tunnel_core.c227 icmph->checksum = csum_fold(skb_checksum(skb, 0, len, 0)); in iptunnel_pmtud_build_icmp()
335 csum = skb_checksum(skb, skb_transport_offset(skb), len, 0); in iptunnel_pmtud_build_icmpv6()
Dudp_offload.c402 csum = skb_checksum(skb, 0, skb->len, 0); in udp4_ufo_fragment()
Dicmp.c1169 csum_fold(skb_checksum(skb, off, skb->len - off, 0))) in ip_icmp_error_rfc4884_validate()
Desp4.c740 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()
Dipmr.c2220 csum_fold(skb_checksum(skb, 0, skb->len, 0)))) in pim_rcv()
Dudp.c853 csum = skb_checksum(skb, offset, hlen, csum); in udp4_hwcsum()
/net/sunrpc/
Dsocklib.c185 csum2 = skb_checksum(skb, desc.offset, skb->len - desc.offset, 0); in csum_partial_copy_to_xdr()
/net/dccp/
Ddccp.h216 skb->csum = skb_checksum(skb, 0, (cov > skb->len)? skb->len : cov, 0); in dccp_csum_outgoing()
Dipv4.c769 skb->csum = skb_checksum(skb, 0, cscov, 0); in dccp_invalid_packet()
/net/core/
Dskbuff.c2059 skb_checksum(skb, len, delta, 0), in pskb_trim_rcsum_slow()
2762 __wsum skb_checksum(const struct sk_buff *skb, int offset, in skb_checksum() function
2772 EXPORT_SYMBOL(skb_checksum);
2865 sum = csum_fold(skb_checksum(skb, 0, len, skb->csum)); in __skb_checksum_complete_head()
2892 csum = skb_checksum(skb, 0, skb->len, 0); in __skb_checksum_complete()
4114 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()
Ddev.c3257 csum = skb_checksum(skb, offset, skb->len - offset, 0); in skb_checksum_help()
6320 wsum = skb_checksum(skb, skb_gro_offset(skb), skb_gro_len(skb), 0); in __skb_gro_checksum_complete()