Searched refs:hoplen (Results 1 - 1 of 1) sorted by last modified time

/freebsd-11-stable/contrib/tcpdump/
H A Dprint-ip.c177 int hoplen; local
185 hoplen = ((cp[3]&0xF) != IPOPT_TS_TSONLY) ? 8 : 4;
186 if ((length - 4) & (hoplen-1))
191 if (ptr < 4 || ((ptr - 4) & (hoplen-1)) || ptr > length + 1)
219 for (len = 4; len < length; len += hoplen) {
222 ND_TCHECK2(cp[len], hoplen);
223 ND_PRINT((ndo, "%s%d@%s", type, EXTRACT_32BITS(&cp[len+hoplen-4]),
224 hoplen!=8 ? "" : ipaddr_string(ndo, &cp[len])));

Completed in 96 milliseconds