Lines Matching refs:top_iph
305 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
318 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output_done()
322 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
324 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done()
344 struct ipv6hdr *top_iph; in ah6_output() local
386 top_iph = ipv6_hdr(skb); in ah6_output()
387 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
395 memcpy(iph_base, top_iph, IPV6HDR_BASELEN); in ah6_output()
399 memcpy(iph_ext, &top_iph->saddr, extlen); in ah6_output()
401 memcpy(iph_ext, &top_iph->daddr, extlen); in ah6_output()
403 err = ipv6_clear_mutable_options(top_iph, in ah6_output()
405 sizeof(*top_iph), in ah6_output()
413 top_iph->priority = 0; in ah6_output()
414 top_iph->flow_lbl[0] = 0; in ah6_output()
415 top_iph->flow_lbl[1] = 0; in ah6_output()
416 top_iph->flow_lbl[2] = 0; in ah6_output()
417 top_iph->hop_limit = 0; in ah6_output()
449 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output()
453 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output()
455 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output()