Home
last modified time | relevance | path

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

/Linux-v5.10/net/bridge/netfilter/
Dnft_reject_bridge.c193 struct ipv6hdr *nip6h; in nft_reject_br_send_v6_tcp_reset() local
208 nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_TCP, in nft_reject_br_send_v6_tcp_reset()
211 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nft_reject_br_send_v6_tcp_reset()
249 struct ipv6hdr *nip6h; in nft_reject_br_send_v6_unreach() local
273 nip6h = nf_reject_ip6hdr_put(nskb, oldskb, IPPROTO_ICMPV6, in nft_reject_br_send_v6_unreach()
282 nip6h->payload_len = htons(nskb->len - sizeof(struct ipv6hdr)); in nft_reject_br_send_v6_unreach()
285 csum_ipv6_magic(&nip6h->saddr, &nip6h->daddr, in nft_reject_br_send_v6_unreach()
/Linux-v5.10/net/ipv4/
Dip_tunnel_core.c292 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()