Searched refs:dstoptlen (Results 1 - 1 of 1) sorted by relevance

/xnu-2422.115.4/bsd/netinet6/
H A Ddest6.c61 int off = *offp, dstoptlen, optlen; local
74 dstoptlen = (dstopts->ip6d_len + 1) << 3;
77 IP6_EXTHDR_CHECK(m, off, dstoptlen, return IPPROTO_DONE);
80 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen);
84 off += dstoptlen;
85 dstoptlen -= sizeof(struct ip6_dest);
89 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) {
91 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) {
[all...]

Completed in 18 milliseconds