Home
last modified time | relevance | path

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

/src/sys/netinet6/
H A Ddest6.c65 int off, dstoptlen, optlen; in dest6_input() local
82 dstoptlen = (dstopts->ip6d_len + 1) << 3; in dest6_input()
84 if (m->m_len < off + dstoptlen) { in dest6_input()
85 m = m_pullup(m, off + dstoptlen); in dest6_input()
93 off += dstoptlen; in dest6_input()
94 dstoptlen -= sizeof(struct ip6_dest); in dest6_input()
98 for (; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) { in dest6_input()
100 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) { in dest6_input()
/src/contrib/tcpdump/
H A Dprint-ip6opts.c211 u_int dstoptlen = 0; in dstopt_process() local
214 dstoptlen = (GET_U_1(dp->ip6d_len) + 1) << 3; in dstopt_process()
215 ND_TCHECK_LEN(dp, dstoptlen); in dstopt_process()
225 dstoptlen - sizeof(*dp), NULL, NULL) == -1) in dstopt_process()
229 return dstoptlen; in dstopt_process()