Lines Matching refs:top_iph
292 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
305 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output_done()
309 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
311 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done()
331 struct ipv6hdr *top_iph; in ah6_output() local
373 top_iph = ipv6_hdr(skb); in ah6_output()
374 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
382 memcpy(iph_base, top_iph, IPV6HDR_BASELEN); in ah6_output()
386 memcpy(iph_ext, &top_iph->saddr, extlen); in ah6_output()
388 memcpy(iph_ext, &top_iph->daddr, extlen); in ah6_output()
390 err = ipv6_clear_mutable_options(top_iph, in ah6_output()
392 sizeof(*top_iph), in ah6_output()
400 top_iph->priority = 0; in ah6_output()
401 top_iph->flow_lbl[0] = 0; in ah6_output()
402 top_iph->flow_lbl[1] = 0; in ah6_output()
403 top_iph->flow_lbl[2] = 0; in ah6_output()
404 top_iph->hop_limit = 0; in ah6_output()
438 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output()
442 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output()
444 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output()