Lines Matching refs:dstopts
62 struct ip6_dest *dstopts;
67 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), return IPPROTO_DONE);
68 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off);
70 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, sizeof(*dstopts));
71 if (dstopts == NULL)
74 dstoptlen = (dstopts->ip6d_len + 1) << 3;
78 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off);
80 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen);
81 if (dstopts == NULL)
86 opt = (u_int8_t *)dstopts + sizeof(struct ip6_dest);
115 return (dstopts->ip6d_nxt);