Searched refs:dstoptlen (Results 1 – 2 of 2) sorted by relevance
66 int off, dstoptlen, optlen; in dest6_input() local83 dstoptlen = (dstopts->ip6d_len + 1) << 3; in dest6_input()85 if (m->m_len < off + dstoptlen) { in dest6_input()86 m = m_pullup(m, off + dstoptlen); in dest6_input()94 off += dstoptlen; in dest6_input()95 dstoptlen -= sizeof(struct ip6_dest); in dest6_input()99 for (; dstoptlen > 0; dstoptlen -= optlen, opt += optlen) { in dest6_input()101 (dstoptlen < IP6OPT_MINLEN || *(opt + 1) + 2 > dstoptlen)) { in dest6_input()
241 u_int dstoptlen = 0; in dstopt_process() local244 dstoptlen = (GET_U_1(dp->ip6d_len) + 1) << 3; in dstopt_process()245 ND_TCHECK_LEN(dp, dstoptlen); in dstopt_process()254 dstoptlen - sizeof(*dp), NULL, NULL) == -1) in dstopt_process()258 return dstoptlen; in dstopt_process()