Searched refs:dstoptlen (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/sys/netinet6/ |
H A D | dest6.c | 65 int off = *offp, dstoptlen, optlen; local 78 dstoptlen = (dstopts->ip6d_len + 1) << 3; 81 IP6_EXTHDR_CHECK(m, off, dstoptlen, IPPROTO_DONE); 84 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen); 88 off += dstoptlen; 89 dstoptlen -= sizeof(struct ip6_dest); 93 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) { 95 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) { [all...] |
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-ip6opts.c | 315 int dstoptlen = 0; local 318 dstoptlen = (int)((dp->ip6d_len + 1) << 3); 319 TCHECK2(*dp, dstoptlen); 323 dstoptlen - sizeof(*dp)); 326 return(dstoptlen);
|
Completed in 67 milliseconds