Lines Matching refs:top_iph
295 struct ipv6hdr *top_iph = ipv6_hdr(skb); in ah6_output_done() local
308 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output_done()
312 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output_done()
314 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output_done()
334 struct ipv6hdr *top_iph; in ah6_output() local
376 top_iph = ipv6_hdr(skb); in ah6_output()
377 top_iph->payload_len = htons(skb->len - sizeof(*top_iph)); in ah6_output()
385 memcpy(iph_base, top_iph, IPV6HDR_BASELEN); in ah6_output()
389 memcpy(iph_ext, &top_iph->saddr, extlen); in ah6_output()
391 memcpy(iph_ext, &top_iph->daddr, extlen); in ah6_output()
393 err = ipv6_clear_mutable_options(top_iph, in ah6_output()
395 sizeof(*top_iph), in ah6_output()
403 top_iph->priority = 0; in ah6_output()
404 top_iph->flow_lbl[0] = 0; in ah6_output()
405 top_iph->flow_lbl[1] = 0; in ah6_output()
406 top_iph->flow_lbl[2] = 0; in ah6_output()
407 top_iph->hop_limit = 0; in ah6_output()
441 memcpy(top_iph, iph_base, IPV6HDR_BASELEN); in ah6_output()
445 memcpy(&top_iph->saddr, iph_ext, extlen); in ah6_output()
447 memcpy(&top_iph->daddr, iph_ext, extlen); in ah6_output()