Searched refs:csum_offset (Results 1 – 20 of 20) sorted by relevance
/net/netfilter/ |
D | nft_payload.c | 175 int offset, csum_offset; in nft_payload_set_eval() local 197 csum_offset = offset + priv->csum_offset; in nft_payload_set_eval() 203 if (skb_copy_bits(skb, csum_offset, &sum, sizeof(sum)) < 0) in nft_payload_set_eval() 213 if (!skb_make_writable(skb, csum_offset + sizeof(sum)) || in nft_payload_set_eval() 214 skb_store_bits(skb, csum_offset, &sum, sizeof(sum)) < 0) in nft_payload_set_eval() 242 priv->csum_offset = in nft_payload_set_init() 266 htonl(priv->csum_offset))) in nft_payload_set_dump()
|
/net/ipv6/ |
D | ip6_checksum.c | 116 skb->csum_offset = offsetof(struct udphdr, check); in udp6_set_csum()
|
D | udp.c | 908 skb->csum_offset = offsetof(struct udphdr, check); in udp6_hwcsum_outgoing()
|
/net/ipv4/netfilter/ |
D | nf_reject_ipv4.c | 99 nskb->csum_offset = offsetof(struct tcphdr, check); in nf_reject_ip_tcphdr_put()
|
D | nf_nat_l3proto_ipv4.c | 136 skb->csum_offset = (void *)check - data; in nf_nat_ipv4_csum_recalc()
|
D | ipt_SYNPROXY.c | 52 nskb->csum_offset = offsetof(struct tcphdr, check); in synproxy_send_tcp()
|
/net/ipv4/ |
D | tcp_offload.c | 287 skb->csum_offset = offsetof(struct tcphdr, check); in tcp_gro_complete()
|
D | udp_offload.c | 146 skb->csum_offset = offsetof(struct udphdr, check); in __skb_udp_tunnel_segment()
|
D | fou.c | 967 pd[1] = htons(csum_start + skb->csum_offset); in __gue_build_header()
|
D | udp.c | 738 skb->csum_offset = offsetof(struct udphdr, check); in udp4_hwcsum() 784 skb->csum_offset = offsetof(struct udphdr, check); in udp_set_csum()
|
D | tcp_ipv4.c | 558 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v4_send_check()
|
/net/ipv6/netfilter/ |
D | nf_nat_l3proto_ipv6.c | 144 skb->csum_offset = (void *)check - data; in nf_nat_ipv6_csum_recalc()
|
D | ip6t_SYNPROXY.c | 53 nskb->csum_offset = offsetof(struct tcphdr, check); in synproxy_send_tcp()
|
/net/sctp/ |
D | output.c | 662 head->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_transmit()
|
/net/packet/ |
D | af_packet.c | 2424 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2 > in __packet_snd_vnet_parse() 2428 __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset) + 2); in __packet_snd_vnet_parse() 2480 u16 o = __virtio16_to_cpu(vio_le(), vnet_hdr->csum_offset); in packet_snd_vnet_gso()
|
/net/core/ |
D | dev.c | 2506 offset += skb->csum_offset; in skb_checksum_help() 2618 skb->csum_offset != offsetof(struct tcphdr, check)) in __skb_csum_offload_chk() 2623 skb->csum_offset != offsetof(struct udphdr, check)) in __skb_csum_offload_chk() 2628 skb->csum_offset != offsetof(struct sctphdr, checksum)) in __skb_csum_offload_chk()
|
D | skbuff.c | 2359 long csstuff = csstart + skb->csum_offset; in skb_copy_and_csum_dev() 3955 skb->csum_offset = off; in skb_partial_csum_set()
|
D | filter.c | 2129 skb->csum_offset + sizeof(__sum16); in __bpf_skb_min_len()
|
D | pktgen.c | 3050 skb->csum_offset = offsetof(struct udphdr, check); in fill_packet_ipv6()
|
/net/netfilter/ipvs/ |
D | ip_vs_core.c | 826 skb->csum_offset = offsetof(struct icmp6hdr, icmp6_cksum); in ip_vs_nat_icmp_v6()
|