Lines Matching refs:ip6_hdr
358 struct ip6_hdr *ip6;
359 int off = sizeof(struct ip6_hdr), nest;
373 ip6 = mtod(m, struct ip6_hdr *);
452 IP6_EXTHDR_CHECK(m, 0, sizeof(struct ip6_hdr),
456 if (m->m_len < sizeof(struct ip6_hdr)) {
459 if ((m = m_pullup(m, sizeof(struct ip6_hdr))) == 0) {
467 ip6 = mtod(m, struct ip6_hdr *);
791 ip6 = mtod(m, struct ip6_hdr *);
817 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
842 if (m->m_pkthdr.len - sizeof(struct ip6_hdr) < plen) {
847 if (m->m_pkthdr.len > sizeof(struct ip6_hdr) + plen) {
849 m->m_len = sizeof(struct ip6_hdr) + plen;
850 m->m_pkthdr.len = sizeof(struct ip6_hdr) + plen;
852 m_adj(m, sizeof(struct ip6_hdr) + plen - m->m_pkthdr.len);
884 ip6 = mtod(m, struct ip6_hdr *);
1057 sizeof(struct ip6_hdr), sizeof(struct ip6_hbh));
1063 IP6_EXTHDR_GET(hbh, struct ip6_hbh *, m, sizeof(struct ip6_hdr),
1101 struct ip6_hdr *ip6;
1106 const int erroff = sizeof(struct ip6_hdr) + sizeof(struct ip6_hbh);
1160 ip6 = mtod(m, struct ip6_hdr *);
1249 struct ip6_hdr *ip6;
1267 ip6 = mtod(m, struct ip6_hdr *);
1300 struct ip6_hdr *ip6;
1361 ip6 = mtod(m, struct ip6_hdr *);
1373 ext = ip6_pullexthdr(m, sizeof(struct ip6_hdr),
1437 ip6 = mtod(m, struct ip6_hdr *);
1438 int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr);
1623 struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *);
1625 if (off == sizeof(struct ip6_hdr))
1632 len = sizeof(struct ip6_hdr);
1666 struct ip6_hdr ip6;