/openbmc/linux/net/netfilter/ |
H A D | utils.c | 16 switch (skb->ip_summed) { in nf_ip_checksum() 25 skb->ip_summed = CHECKSUM_UNNECESSARY; in nf_ip_checksum() 50 switch (skb->ip_summed) { in nf_ip_checksum_partial() 58 skb->ip_summed = CHECKSUM_NONE; in nf_ip_checksum_partial() 70 switch (skb->ip_summed) { in nf_ip6_checksum() 79 skb->ip_summed = CHECKSUM_UNNECESSARY; in nf_ip6_checksum() 105 switch (skb->ip_summed) { in nf_ip6_checksum_partial() 117 skb->ip_summed = CHECKSUM_NONE; in nf_ip6_checksum_partial()
|
/openbmc/linux/include/trace/events/ |
H A D | net.h | 28 __field( u8, ip_summed ) 48 __entry->ip_summed = skb->ip_summed; 65 __entry->protocol, __entry->ip_summed, __entry->len, 180 __field( u8, ip_summed ) 206 __entry->ip_summed = skb->ip_summed; 222 __entry->vlan_tci, __entry->protocol, __entry->ip_summed,
|
/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() 60 final_csum_none = (kskb->ip_summed == CHECKSUM_NONE); in decap_sanity() 61 if (kskb->ip_summed == CHECKSUM_PARTIAL && in decap_sanity()
|
/openbmc/linux/include/net/ |
H A D | udplite.h | 58 if (skb->ip_summed == CHECKSUM_COMPLETE) in udplite_checksum_init() 59 skb->ip_summed = CHECKSUM_NONE; in udplite_checksum_init() 82 skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */ in udplite_csum()
|
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/net/netfilter/ipvs/ |
H A D | ip_vs_proto_udp.c | 179 if (skb->ip_summed == CHECKSUM_PARTIAL) { in udp_snat_handler() 187 if (skb->ip_summed == CHECKSUM_COMPLETE) in udp_snat_handler() 188 skb->ip_summed = cp->app ? in udp_snat_handler() 209 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp_snat_handler() 263 if (skb->ip_summed == CHECKSUM_PARTIAL) { in udp_dnat_handler() 271 if (skb->ip_summed == CHECKSUM_COMPLETE) in udp_dnat_handler() 272 skb->ip_summed = cp->app ? in udp_dnat_handler() 293 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp_dnat_handler() 317 switch (skb->ip_summed) { in udp_csum_check()
|
H A D | ip_vs_proto_tcp.c | 186 if (skb->ip_summed == CHECKSUM_PARTIAL) { in tcp_snat_handler() 194 if (skb->ip_summed == CHECKSUM_COMPLETE) in tcp_snat_handler() 195 skb->ip_summed = cp->app ? in tcp_snat_handler() 214 skb->ip_summed = CHECKSUM_UNNECESSARY; in tcp_snat_handler() 269 if (skb->ip_summed == CHECKSUM_PARTIAL) { in tcp_dnat_handler() 277 if (skb->ip_summed == CHECKSUM_COMPLETE) in tcp_dnat_handler() 278 skb->ip_summed = cp->app ? in tcp_dnat_handler() 297 skb->ip_summed = CHECKSUM_UNNECESSARY; in tcp_dnat_handler() 315 switch (skb->ip_summed) { in tcp_csum_check()
|
H A D | ip_vs_proto_sctp.c | 87 skb->ip_summed = CHECKSUM_UNNECESSARY; in sctp_nat_csum() 127 skb->ip_summed == CHECKSUM_PARTIAL) { in sctp_snat_handler() 132 skb->ip_summed = CHECKSUM_UNNECESSARY; 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() 181 skb->ip_summed = CHECKSUM_UNNECESSARY; in sctp_dnat_handler()
|
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_trace.h | 23 __field(__u8, ip_summed) 41 __entry->ip_summed = skb->ip_summed; 49 __entry->ip_summed, __entry->gso_size, __entry->gso_segs,
|
/openbmc/linux/net/ipv4/ |
H A D | udp_offload.c | 103 skb->ip_summed = CHECKSUM_NONE; in __skb_udp_tunnel_segment() 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() 442 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp4_ufo_fragment() 554 if ((skb->ip_summed != p->ip_summed) || in udp_gro_receive_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 | 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 | inet_fragment.c | 528 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare() 584 if (head->ip_summed != fp->ip_summed) in inet_frag_reasm_finish() 585 head->ip_summed = CHECKSUM_NONE; in inet_frag_reasm_finish() 586 else if (head->ip_summed == CHECKSUM_COMPLETE) in inet_frag_reasm_finish()
|
/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 | 96 if (skb->ip_summed == CHECKSUM_COMPLETE && !skb->csum_valid) { in udp6_csum_init() 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/core/ |
H A D | gso.c | 69 return skb->ip_summed != CHECKSUM_PARTIAL && in skb_needs_check() 70 skb->ip_summed != CHECKSUM_UNNECESSARY; in skb_needs_check() 72 return skb->ip_summed == CHECKSUM_NONE; in skb_needs_check()
|
H A D | utils.c | 428 if (skb->ip_summed != CHECKSUM_PARTIAL) { in inet_proto_csum_replace4() 430 if (skb->ip_summed == CHECKSUM_COMPLETE && pseudohdr) 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() 480 if (skb->ip_summed == CHECKSUM_COMPLETE && pseudohdr) in inet_proto_csum_replace_by_diff()
|
/openbmc/linux/net/sctp/ |
H A D | offload.c | 29 skb->ip_summed = CHECKSUM_NONE; in sctp_gso_make_checksum() 79 if (skb->ip_summed == CHECKSUM_PARTIAL) { in sctp_gso_segment()
|
/openbmc/linux/drivers/net/can/dev/ |
H A D | skb.c | 73 skb->ip_summed = CHECKSUM_UNNECESSARY; in can_put_echo_skb() 198 skb->ip_summed = CHECKSUM_UNNECESSARY; in init_can_skb_reserve() 312 if (skb->ip_summed == CHECKSUM_NONE) { in can_skb_headroom_valid() 317 skb->ip_summed = CHECKSUM_UNNECESSARY; in can_skb_headroom_valid()
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 932 __u8 ip_summed:2; 3798 skb->ip_summed = CHECKSUM_NONE; in __skb_postpull_rcsum() 3819 skb->ip_summed = CHECKSUM_NONE; in skb_postpull_rcsum() 3887 skb->ip_summed = CHECKSUM_NONE; in __skb_trim_rcsum() 3895 skb->ip_summed = CHECKSUM_NONE; in __skb_grow_rcsum() 4437 skb->ip_summed = CHECKSUM_NONE; in __skb_decr_checksum_unnecessary() 4457 skb->ip_summed = CHECKSUM_NONE; in __skb_reset_checksum_unnecessary() 4494 skb->ip_summed = CHECKSUM_NONE; in skb_checksum_complete_unset() 4592 skb->ip_summed = CHECKSUM_PARTIAL; in skb_remcsum_adjust_partial() 4962 skb->ip_summed = CHECKSUM_NONE; in skb_forward_csum() [all …]
|
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() 238 skb->ip_summed == CHECKSUM_UNNECESSARY) { in virtio_net_hdr_from_skb()
|
/openbmc/linux/net/sched/ |
H A D | act_csum.c | 160 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv4_icmp() 178 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv4_igmp() 200 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv6_icmp() 224 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv4_tcp() 249 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv6_tcp() 304 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv4_udp() 359 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_ipv6_udp()
|
/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()
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | recv_linux.c | 109 skb->ip_summed = CHECKSUM_UNNECESSARY; in r8712_recv_indicatepkt() 111 skb->ip_summed = CHECKSUM_NONE; in r8712_recv_indicatepkt()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_data.c | 195 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_ipv4_ul_csum_header() 230 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_ipv6_ul_csum_header() 255 if (skb->ip_summed == CHECKSUM_PARTIAL) { in rmnet_map_v5_checksum_uplink_packet() 279 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_v5_checksum_uplink_packet() 445 if (skb->ip_summed != CHECKSUM_PARTIAL) in rmnet_map_v4_checksum_uplink_packet() 512 skb->ip_summed = CHECKSUM_UNNECESSARY; in rmnet_map_process_next_hdr_packet()
|
/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()
|