Searched refs:dstoptlen (Results 1 – 2 of 2) sorted by relevance
| /dflybsd-src/sys/netinet6/ |
| H A D | dest6.c | 63 int off = *offp, dstoptlen, optlen; in dest6_input() local 76 dstoptlen = (dstopts->ip6d_len + 1) << 3; in dest6_input() 79 IP6_EXTHDR_CHECK(m, off, dstoptlen, IPPROTO_DONE); in dest6_input() 82 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen); in dest6_input() 86 off += dstoptlen; in dest6_input() 87 dstoptlen -= sizeof(struct ip6_dest); in dest6_input() 91 for (optlen = 0; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) { in dest6_input() 93 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) { in dest6_input()
|
| /dflybsd-src/contrib/tcpdump/ |
| H A D | print-ip6opts.c | 243 u_int dstoptlen = 0; in dstopt_process() local 246 dstoptlen = (GET_U_1(dp->ip6d_len) + 1) << 3; in dstopt_process() 247 ND_TCHECK_LEN(dp, dstoptlen); in dstopt_process() 256 dstoptlen - sizeof(*dp), NULL, NULL) == -1) in dstopt_process() 260 return dstoptlen; in dstopt_process()
|