Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_core.c752 unsigned int icmp_offset = iph->ihl*4; in ip_vs_nat_icmp() local
754 icmp_offset); in ip_vs_nat_icmp()
782 icmph->checksum = ip_vs_checksum_complete(skb, icmp_offset); in ip_vs_nat_icmp()
798 unsigned int icmp_offset = 0; in ip_vs_nat_icmp_v6() local
805 ipv6_find_hdr(skb, &icmp_offset, IPPROTO_ICMPV6, &fragoffs, NULL); in ip_vs_nat_icmp_v6()
806 icmph = (struct icmp6hdr *)(skb_network_header(skb) + icmp_offset); in ip_vs_nat_icmp_v6()
807 offs = icmp_offset + sizeof(struct icmp6hdr); in ip_vs_nat_icmp_v6()
836 skb->len - icmp_offset, in ip_vs_nat_icmp_v6()
838 skb->csum_start = skb_network_header(skb) - skb->head + icmp_offset; in ip_vs_nat_icmp_v6()