Home
last modified time | relevance | path

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

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