Home
last modified time | relevance | path

Searched refs:icmp_offset (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/net/netfilter/ipvs/
Dip_vs_core.c764 unsigned int icmp_offset = iph->ihl*4; in ip_vs_nat_icmp() local
766 icmp_offset); in ip_vs_nat_icmp()
794 icmph->checksum = ip_vs_checksum_complete(skb, icmp_offset); in ip_vs_nat_icmp()
810 unsigned int icmp_offset = 0; in ip_vs_nat_icmp_v6() local
817 ipv6_find_hdr(skb, &icmp_offset, IPPROTO_ICMPV6, &fragoffs, NULL); in ip_vs_nat_icmp_v6()
818 icmph = (struct icmp6hdr *)(skb_network_header(skb) + icmp_offset); in ip_vs_nat_icmp_v6()
819 offs = icmp_offset + sizeof(struct icmp6hdr); in ip_vs_nat_icmp_v6()
848 skb->len - icmp_offset, in ip_vs_nat_icmp_v6()
850 skb->csum_start = skb_network_header(skb) - skb->head + icmp_offset; in ip_vs_nat_icmp_v6()