Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-ip.c170 int hoplen; in ip_printts() local
178 hoplen = ((cp[3]&0xF) != IPOPT_TS_TSONLY) ? 8 : 4; in ip_printts()
179 if ((length - 4) & (hoplen-1)) in ip_printts()
183 if (ptr < 4 || ((ptr - 4) & (hoplen-1)) || ptr > length + 1) in ip_printts()
210 for (len = 4; len < length; len += hoplen) { in ip_printts()
213 printf("%s%d@%s", type, EXTRACT_32BITS(&cp[len+hoplen-4]), in ip_printts()
214 hoplen!=8 ? "" : ipaddr_string(&cp[len])); in ip_printts()