Lines Matching refs:ipv6hdr
141 struct ipv6hdr *iph = skb->nh.ipv6h; in ip6_route_me_harder()
193 struct ipv6hdr *hdr; in ip6_xmit()
206 head_room += sizeof(struct ipv6hdr) + ((dst->dev->hard_header_len + 15)&~15); in ip6_xmit()
223 hdr = skb->nh.ipv6h = (struct ipv6hdr*)skb_push(skb, sizeof(struct ipv6hdr)); in ip6_xmit()
268 struct ipv6hdr *hdr; in ip6_nd_hdr()
274 totlen = len + sizeof(struct ipv6hdr); in ip6_nd_hdr()
276 hdr = (struct ipv6hdr *) skb_put(skb, sizeof(struct ipv6hdr)); in ip6_nd_hdr()
291 static struct ipv6hdr * ip6_bld_1(struct sock *sk, struct sk_buff *skb, struct flowi *fl, in ip6_bld_1()
294 struct ipv6hdr *hdr; in ip6_bld_1()
296 skb->nh.raw = skb_put(skb, sizeof(struct ipv6hdr)); in ip6_bld_1()
301 hdr->payload_len = htons(pktlength - sizeof(struct ipv6hdr)); in ip6_bld_1()
332 struct ipv6hdr *hdr; in ip6_frag_xmit()
356 unfrag_len = sizeof(struct ipv6hdr) + sizeof(struct frag_hdr); in ip6_frag_xmit()
490 hdr->payload_len = htons(unfrag_len + last_len - sizeof(struct ipv6hdr)); in ip6_frag_xmit()
592 pktlength += sizeof(struct ipv6hdr); in ip6_build_xmit()
596 if (pktlength > 0xFFFF + sizeof(struct ipv6hdr)) { in ip6_build_xmit()
602 jumbolen = pktlength - sizeof(struct ipv6hdr); in ip6_build_xmit()
628 struct ipv6hdr *hdr; in ip6_build_xmit()
648 hdr = (struct ipv6hdr *) skb->tail; in ip6_build_xmit()
653 jumbolen ? sizeof(struct ipv6hdr) : pktlength); in ip6_build_xmit()
732 struct ipv6hdr *hdr = skb->nh.ipv6h; in ip6_forward()