Home
last modified time | relevance | path

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

/freebsd/sys/netinet6/
H A Ddest6.c66 int off, dstoptlen, optlen; in dest6_input() local
83 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()
/freebsd/contrib/tcpdump/
H A Dprint-ip6opts.c241 u_int dstoptlen = 0; in dstopt_process() local
244 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()