Lines Matching refs:ipv6hdr
55 struct ipv6hdr *hdr; in ipv6_rcv()
71 if (skb->len < sizeof(struct ipv6hdr)) in ipv6_rcv()
74 if (!pskb_may_pull(skb, sizeof(struct ipv6hdr))) in ipv6_rcv()
86 if (pkt_len + sizeof(struct ipv6hdr) > skb->len) in ipv6_rcv()
88 if (pkt_len + sizeof(struct ipv6hdr) < skb->len) { in ipv6_rcv()
89 if (__pskb_trim(skb, pkt_len + sizeof(struct ipv6hdr))) in ipv6_rcv()
99 if (ipv6_parse_hopopts(skb, offsetof(struct ipv6hdr, nexthdr)) < 0) { in ipv6_rcv()
124 struct ipv6hdr *hdr = skb->nh.ipv6h; in ip6_input_finish()
132 skb->h.raw = skb->nh.raw + sizeof(struct ipv6hdr); in ip6_input_finish()
139 nhoff = offsetof(struct ipv6hdr, nexthdr); in ip6_input_finish()
143 nhoff = sizeof(struct ipv6hdr); in ip6_input_finish()
217 struct ipv6hdr *hdr; in ip6_mc_input()