Home
last modified time | relevance | path

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

/minix/external/bsd/tcpdump/dist/
H A Dprint-ip.c175 int hoplen; in ip_printts() local
183 hoplen = ((cp[3]&0xF) != IPOPT_TS_TSONLY) ? 8 : 4; in ip_printts()
184 if ((length - 4) & (hoplen-1)) in ip_printts()
188 if (ptr < 4 || ((ptr - 4) & (hoplen-1)) || ptr > length + 1) in ip_printts()
215 for (len = 4; len < length; len += hoplen) { in ip_printts()
218 ND_PRINT((ndo, "%s%d@%s", type, EXTRACT_32BITS(&cp[len+hoplen-4]), in ip_printts()
219 hoplen!=8 ? "" : ipaddr_string(ndo, &cp[len]))); in ip_printts()