Home
last modified time | relevance | path

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

/freebsd/contrib/tcpdump/
H A Dprint-ip.c171 u_int hoplen; in ip_printts() local
179 hoplen = ((GET_U_1(cp + 3) & 0xF) != IPOPT_TS_TSONLY) ? 8 : 4; in ip_printts()
180 if ((length - 4) & (hoplen-1)) in ip_printts()
184 if (ptr < 4 || ((ptr - 4) & (hoplen-1)) || ptr > length + 1) in ip_printts()
202 for (len = 4; len < length; len += hoplen) { in ip_printts()
205 ND_TCHECK_LEN(cp + len, hoplen); in ip_printts()
206 ND_PRINT("%s%u@%s", type, GET_BE_U_4(cp + len + hoplen - 4), in ip_printts()
207 hoplen!=8 ? "" : GET_IPADDR_STRING(cp + len)); in ip_printts()