Searched refs:nip6h (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/ipv6/netfilter/ |
D | nf_reject_ipv6.c | 68 struct ipv6hdr *nip6h; in nf_reject_skb_v6_tcp_reset() local 85 nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, in nf_reject_skb_v6_tcp_reset() 88 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nf_reject_skb_v6_tcp_reset() 100 struct ipv6hdr *nip6h; in nf_reject_skb_v6_unreach() local 126 nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_ICMPV6, in nf_reject_skb_v6_unreach() 135 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nf_reject_skb_v6_unreach() 138 csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, in nf_reject_skb_v6_unreach()
|
/linux-6.6.21/net/ipv4/ |
D | ip_tunnel_core.c | 292 struct ipv6hdr *nip6h; in iptunnel_pmtud_build_icmpv6() local 304 err = pskb_trim(skb, IPV6_MIN_MTU - sizeof(*nip6h) - sizeof(*icmp6h)); in iptunnel_pmtud_build_icmpv6() 309 err = skb_cow(skb, sizeof(*nip6h) + sizeof(*icmp6h) + ETH_HLEN); in iptunnel_pmtud_build_icmpv6() 322 nip6h = skb_push(skb, sizeof(*nip6h)); in iptunnel_pmtud_build_icmpv6() 323 *nip6h = (struct ipv6hdr) { in iptunnel_pmtud_build_icmpv6() 336 icmp6h->icmp6_cksum = csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, len, in iptunnel_pmtud_build_icmpv6()
|