Home
last modified time | relevance | path

Searched refs:ip_summed (Results 1 – 25 of 340) sorted by relevance

12345678910>>...14

/Linux-v5.15/net/netfilter/
Dutils.c16 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/
Dudplite.h65 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()
Dgre.h138 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/
Dnet.h28 __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/
Dip_vs_proto_udp.c179 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()
Dip_vs_proto_tcp.c186 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()
Dip_vs_proto_sctp.c87 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/
Dudp_offload.c101 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 …]
Dtcp_offload.c38 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()
Dinet_fragment.c496 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/
Dhns3_trace.h23 __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/
Dtag_ksz.c56 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/
Drmnet_map_data.c194 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/
Dip6_checksum.c96 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()
Dtcpv6_offload.c52 if (unlikely(skb->ip_summed != CHECKSUM_PARTIAL)) { in tcp6_gso_segment()
61 skb->ip_summed = CHECKSUM_PARTIAL; in tcp6_gso_segment()
Dudp_offload.c65 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/
Dutils.c428 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/
Dact_csum.c160 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/
Doffload.c28 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/
Dskbuff.h825 __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 …]
Dvirtio_net.h166 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/
Dskb.c61 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/
Dskb.h107 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/
Drecv_linux.c109 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/
Dtx.h24 if (skb->ip_summed != CHECKSUM_PARTIAL) in efx_tx_csum_type_skb()

12345678910>>...14