Lines Matching refs:top_iph
307 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
320 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output_done()
324 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
326 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done()
346 struct ipv6hdr *top_iph; in ah6_output() local
388 top_iph = ipv6_hdr(skb); in ah6_output()
389 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
397 memcpy(iph_base, top_iph, IPV6HDR_BASELEN); in ah6_output()
401 memcpy(iph_ext, &top_iph->saddr, extlen); in ah6_output()
403 memcpy(iph_ext, &top_iph->daddr, extlen); in ah6_output()
405 err = ipv6_clear_mutable_options(top_iph, in ah6_output()
407 sizeof(*top_iph), in ah6_output()
415 top_iph->priority = 0; in ah6_output()
416 top_iph->flow_lbl[0] = 0; in ah6_output()
417 top_iph->flow_lbl[1] = 0; in ah6_output()
418 top_iph->flow_lbl[2] = 0; in ah6_output()
419 top_iph->hop_limit = 0; in ah6_output()
453 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output()
457 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output()
459 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output()