/Linux-v5.15/net/netfilter/ |
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()
|
/Linux-v5.15/include/net/ |
D | udplite.h | 65 if (skb->ip_summed == CHECKSUM_COMPLETE) in udplite_checksum_init() 66 skb->ip_summed = CHECKSUM_NONE; in udplite_checksum_init() 102 skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */ in udplite_csum_outgoing() 128 skb->ip_summed = CHECKSUM_NONE; /* no HW support for checksumming */ in udplite_csum()
|
D | gre.h | 138 if (skb->ip_summed == CHECKSUM_PARTIAL) { in gre_build_header() 141 skb->ip_summed = CHECKSUM_PARTIAL; in gre_build_header()
|
/Linux-v5.15/include/trace/events/ |
D | net.h | 28 __field( u8, ip_summed ) 48 __entry->ip_summed = skb->ip_summed; 64 __entry->protocol, __entry->ip_summed, __entry->len, 179 __field( u8, ip_summed ) 205 __entry->ip_summed = skb->ip_summed; 221 __entry->vlan_tci, __entry->protocol, __entry->ip_summed,
|
/Linux-v5.15/net/netfilter/ipvs/ |
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()
|
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()
|
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() 131 skb->ip_summed = CHECKSUM_UNNECESSARY; in sctp_snat_handler() 174 (skb->ip_summed == CHECKSUM_PARTIAL && in sctp_dnat_handler() 178 } else if (skb->ip_summed != CHECKSUM_PARTIAL) { in sctp_dnat_handler() 179 skb->ip_summed = CHECKSUM_UNNECESSARY; in sctp_dnat_handler()
|
/Linux-v5.15/net/ipv4/ |
D | udp_offload.c | 101 skb->ip_summed = CHECKSUM_NONE; in __skb_udp_tunnel_segment() 104 if (skb->ip_summed == CHECKSUM_PARTIAL) { in __skb_udp_tunnel_segment() 142 skb->ip_summed = CHECKSUM_PARTIAL; in __skb_udp_tunnel_segment() 328 if (seg->ip_summed == CHECKSUM_PARTIAL) in __udp_gso_segment() 346 if (seg->ip_summed == CHECKSUM_PARTIAL) in __udp_gso_segment() 410 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp4_ufo_fragment() 484 if ((skb->ip_summed != p->ip_summed) || in udp_gro_receive_segment() 535 (uh->check && skb->ip_summed != CHECKSUM_PARTIAL && in udp_gro_receive() 623 skb->ip_summed = CHECKSUM_PARTIAL; in udp_gro_complete_segment() 686 if (skb->ip_summed == CHECKSUM_UNNECESSARY) { in udp4_gro_complete() [all …]
|
D | tcp_offload.c | 38 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp4_gso_segment() 47 skb->ip_summed = CHECKSUM_PARTIAL; in tcp4_gso_segment() 128 if (skb->ip_summed == CHECKSUM_PARTIAL) in tcp_gso_segment() 172 if (skb->ip_summed == CHECKSUM_PARTIAL) in tcp_gso_segment() 294 skb->ip_summed = CHECKSUM_PARTIAL; in tcp_gro_complete()
|
D | inet_fragment.c | 496 clone->ip_summed = head->ip_summed; in inet_frag_reasm_prepare() 535 if (head->ip_summed != fp->ip_summed) in inet_frag_reasm_finish() 536 head->ip_summed = CHECKSUM_NONE; in inet_frag_reasm_finish() 537 else if (head->ip_summed == CHECKSUM_COMPLETE) in inet_frag_reasm_finish()
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/ |
D | hns3_trace.h | 23 __field(__u8, ip_summed) 42 __entry->ip_summed = skb->ip_summed; 50 __entry->ip_summed, __entry->gso_size, __entry->gso_segs,
|
/Linux-v5.15/net/dsa/ |
D | tag_ksz.c | 56 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz8795_xmit() 119 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz9477_xmit() 171 if (skb->ip_summed == CHECKSUM_PARTIAL && skb_checksum_help(skb)) in ksz9893_xmit()
|
/Linux-v5.15/drivers/net/ethernet/qualcomm/rmnet/ |
D | rmnet_map_data.c | 194 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_ipv4_ul_csum_header() 229 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_ipv6_ul_csum_header() 254 if (skb->ip_summed == CHECKSUM_PARTIAL) { in rmnet_map_v5_checksum_uplink_packet() 278 skb->ip_summed = CHECKSUM_NONE; in rmnet_map_v5_checksum_uplink_packet() 446 if (skb->ip_summed != CHECKSUM_PARTIAL) in rmnet_map_v4_checksum_uplink_packet() 513 skb->ip_summed = CHECKSUM_UNNECESSARY; in rmnet_map_process_next_hdr_packet()
|
/Linux-v5.15/net/ipv6/ |
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()
|
D | tcpv6_offload.c | 52 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp6_gso_segment() 61 skb->ip_summed = CHECKSUM_PARTIAL; in tcp6_gso_segment()
|
D | udp_offload.c | 65 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp6_ufo_fragment() 173 if (skb->ip_summed == CHECKSUM_UNNECESSARY) { in udp6_gro_complete() 177 skb->ip_summed = CHECKSUM_UNNECESSARY; in udp6_gro_complete()
|
/Linux-v5.15/net/core/ |
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()
|
/Linux-v5.15/net/sched/ |
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() 379 skb->ip_summed = CHECKSUM_NONE; in tcf_csum_sctp()
|
/Linux-v5.15/net/sctp/ |
D | offload.c | 28 skb->ip_summed = CHECKSUM_NONE; in sctp_gso_make_checksum() 78 if (skb->ip_summed == CHECKSUM_PARTIAL) { in sctp_gso_segment()
|
/Linux-v5.15/include/linux/ |
D | skbuff.h | 825 __u8 ip_summed:2; member 3354 if (skb->ip_summed == CHECKSUM_NONE) { in skb_add_data() 3429 if (skb->ip_summed == CHECKSUM_COMPLETE) in __skb_postpull_rcsum() 3432 else if (skb->ip_summed == CHECKSUM_PARTIAL && in __skb_postpull_rcsum() 3434 skb->ip_summed = CHECKSUM_NONE; in __skb_postpull_rcsum() 3457 if (skb->ip_summed == CHECKSUM_COMPLETE) in __skb_postpush_rcsum() 3517 if (skb->ip_summed == CHECKSUM_COMPLETE) in __skb_trim_rcsum() 3518 skb->ip_summed = CHECKSUM_NONE; in __skb_trim_rcsum() 3525 if (skb->ip_summed == CHECKSUM_COMPLETE) in __skb_grow_rcsum() 3526 skb->ip_summed = CHECKSUM_NONE; in __skb_grow_rcsum() [all …]
|
D | virtio_net.h | 166 if (skb->ip_summed == CHECKSUM_PARTIAL) { in virtio_net_hdr_from_skb() 173 skb->ip_summed == CHECKSUM_UNNECESSARY) { in virtio_net_hdr_from_skb()
|
/Linux-v5.15/drivers/net/can/dev/ |
D | skb.c | 61 skb->ip_summed = CHECKSUM_UNNECESSARY; in can_put_echo_skb() 194 skb->ip_summed = CHECKSUM_UNNECESSARY; in alloc_can_skb() 225 skb->ip_summed = CHECKSUM_UNNECESSARY; in alloc_canfd_skb()
|
/Linux-v5.15/include/linux/can/ |
D | skb.h | 107 if (skb->ip_summed == CHECKSUM_NONE) { in can_skb_headroom_valid() 112 skb->ip_summed = CHECKSUM_UNNECESSARY; in can_skb_headroom_valid()
|
/Linux-v5.15/drivers/staging/rtl8712/ |
D | recv_linux.c | 109 skb->ip_summed = CHECKSUM_UNNECESSARY; in r8712_recv_indicatepkt() 111 skb->ip_summed = CHECKSUM_NONE; in r8712_recv_indicatepkt()
|
/Linux-v5.15/drivers/net/ethernet/sfc/ |
D | tx.h | 24 if (skb->ip_summed != CHECKSUM_PARTIAL) in efx_tx_csum_type_skb()
|