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

/freebsd-11-stable/sys/netinet6/
H A Ddest6.c66 int off = *offp, dstoptlen, optlen; local
79 dstoptlen = (dstopts->ip6d_len + 1) << 3;
82 IP6_EXTHDR_CHECK(m, off, dstoptlen, IPPROTO_DONE);
85 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen);
89 off += dstoptlen;
90 dstoptlen -= sizeof(struct ip6_dest);
94 for (; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) {
96 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) {
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-ip6opts.c197 int dstoptlen = 0; local
200 dstoptlen = (int)((dp->ip6d_len + 1) << 3);
201 ND_TCHECK2(*dp, dstoptlen);
205 dstoptlen - sizeof(*dp));
208 return(dstoptlen);

Completed in 102 milliseconds