/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | decap_sanity.c | 55 init_csum_partial = (kskb->ip_summed == CHECKSUM_PARTIAL); in decap_sanity() 61 if (kskb->ip_summed == CHECKSUM_PARTIAL && in decap_sanity()
|
H A D | bpf_tracing_net.h | 57 #define CHECKSUM_PARTIAL 3 macro
|
/openbmc/linux/net/ipv4/ |
H A D | tcp_offload.c | 40 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp4_gso_segment() 49 skb->ip_summed = CHECKSUM_PARTIAL; in tcp4_gso_segment() 132 if (skb->ip_summed == CHECKSUM_PARTIAL) in tcp_gso_segment() 176 if (skb->ip_summed == CHECKSUM_PARTIAL) in tcp_gso_segment() 308 skb->ip_summed = CHECKSUM_PARTIAL; in tcp_gro_complete()
|
H A D | udp_offload.c | 106 if (skb->ip_summed == CHECKSUM_PARTIAL) { in __skb_udp_tunnel_segment() 144 skb->ip_summed = CHECKSUM_PARTIAL; in __skb_udp_tunnel_segment() 301 gso_skb->ip_summed = CHECKSUM_PARTIAL; in __udp_gso_segment() 360 if (seg->ip_summed == CHECKSUM_PARTIAL) in __udp_gso_segment() 378 if (seg->ip_summed == CHECKSUM_PARTIAL) in __udp_gso_segment() 613 (uh->check && skb->ip_summed != CHECKSUM_PARTIAL && in udp_gro_receive() 703 skb->ip_summed = CHECKSUM_PARTIAL; in udp_gro_complete_segment()
|
H A D | gre_offload.c | 75 if (skb->ip_summed == CHECKSUM_PARTIAL) { in gre_gso_segment() 113 skb->ip_summed = CHECKSUM_PARTIAL; in gre_gso_segment()
|
/openbmc/linux/net/ipv6/ |
H A D | tcpv6_offload.c | 54 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp6_gso_segment() 63 skb->ip_summed = CHECKSUM_PARTIAL; in tcp6_gso_segment()
|
H A D | ip6_checksum.c | 125 else if (skb->ip_summed == CHECKSUM_PARTIAL) { in udp6_set_csum() 131 skb->ip_summed = CHECKSUM_PARTIAL; in udp6_set_csum()
|
/openbmc/linux/net/dsa/ |
H A D | tag_ksz.c | 126 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz8795_xmit() 280 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz9477_xmit() 343 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz9893_xmit() 410 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in lan937x_xmit()
|
H A D | tag_hellcreek.c | 30 if (skb->ip_summed == CHECKSUM_PARTIAL && in hellcreek_xmit()
|
H A D | tag_ocelot_8021q.c | 43 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ocelot_defer_xmit()
|
H A D | tag_rtl8_4.c | 142 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in rtl8_4t_tag_xmit()
|
/openbmc/linux/include/net/ |
H A D | gre.h | 138 if (skb->ip_summed == CHECKSUM_PARTIAL) { in gre_build_header() 141 skb->ip_summed = CHECKSUM_PARTIAL; in gre_build_header()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | tx.h | 17 if (skb->ip_summed != CHECKSUM_PARTIAL) in efx_tx_csum_type_skb()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tx.h | 24 if (skb->ip_summed != CHECKSUM_PARTIAL) in efx_tx_csum_type_skb()
|
/openbmc/linux/net/core/ |
H A D | utils.c | 428 if (skb->ip_summed != CHECKSUM_PARTIAL) { in inet_proto_csum_replace4() 466 if (skb->ip_summed != CHECKSUM_PARTIAL) { in inet_proto_csum_replace16() 478 if (skb->ip_summed != CHECKSUM_PARTIAL) { in inet_proto_csum_replace_by_diff()
|
/openbmc/linux/include/linux/ |
H A D | virtio_net.h | 178 if (skb->ip_summed == CHECKSUM_PARTIAL && in virtio_net_hdr_to_skb() 231 if (skb->ip_summed == CHECKSUM_PARTIAL) { in virtio_net_hdr_from_skb()
|
/openbmc/linux/net/netfilter/ |
H A D | nf_nat_proto.c | 131 if (skb->ip_summed != CHECKSUM_PARTIAL) { in sctp_manip_pkt() 503 if (skb->ip_summed != CHECKSUM_PARTIAL) { in nf_nat_ipv4_csum_recalc() 506 skb->ip_summed = CHECKSUM_PARTIAL; in nf_nat_ipv4_csum_recalc() 523 if (skb->ip_summed != CHECKSUM_PARTIAL) { in nf_nat_ipv6_csum_recalc() 526 skb->ip_summed = CHECKSUM_PARTIAL; in nf_nat_ipv6_csum_recalc() 605 if (skb->ip_summed != CHECKSUM_PARTIAL) { in nf_nat_icmp_reply_translation() 882 if (skb->ip_summed != CHECKSUM_PARTIAL) { in nf_nat_icmpv6_reply_translation()
|
H A D | xt_CHECKSUM.c | 28 if (skb->ip_summed == CHECKSUM_PARTIAL && !skb_is_gso(skb)) in checksum_tg()
|
/openbmc/linux/net/sctp/ |
H A D | offload.c | 79 if (skb->ip_summed == CHECKSUM_PARTIAL) { in sctp_gso_segment()
|
/openbmc/linux/net/netfilter/ipvs/ |
H A D | ip_vs_xmit.c | 390 skb->ip_summed == CHECKSUM_PARTIAL) in __ip_vs_get_out_rt() 553 skb->ip_summed == CHECKSUM_PARTIAL) in __ip_vs_get_out_rt_v6() 1018 skb->ip_summed == CHECKSUM_PARTIAL) { in ipvs_gue_encap() 1161 skb->ip_summed == CHECKSUM_PARTIAL) { in ip_vs_tunnel_xmit() 1194 skb->ip_summed == CHECKSUM_PARTIAL) { in ip_vs_tunnel_xmit() 1306 skb->ip_summed == CHECKSUM_PARTIAL) { in ip_vs_tunnel_xmit_v6() 1337 skb->ip_summed == CHECKSUM_PARTIAL) { in ip_vs_tunnel_xmit_v6()
|
H A D | ip_vs_proto_sctp.c | 127 skb->ip_summed == CHECKSUM_PARTIAL) { in sctp_snat_handler() 175 (skb->ip_summed == CHECKSUM_PARTIAL && in sctp_dnat_handler() 180 } else if (skb->ip_summed != CHECKSUM_PARTIAL) { in sctp_dnat_handler()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ipsec_rxtx.h | 132 } else if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) { in mlx5e_ipsec_txwqe_build_eseg_csum()
|
H A D | en_accel.h | 188 if (skb->encapsulation && skb->ip_summed == CHECKSUM_PARTIAL) in mlx5e_accel_tx_eseg()
|
/openbmc/linux/net/ipv6/ila/ |
H A D | ila_common.c | 97 if (uh->check || skb->ip_summed == CHECKSUM_PARTIAL) { in ila_csum_adjust_transport()
|
/openbmc/linux/net/tls/ |
H A D | tls_device_fallback.c | 189 if (likely(skb->ip_summed == CHECKSUM_PARTIAL)) in update_chksum() 192 skb->ip_summed = CHECKSUM_PARTIAL; in update_chksum()
|