Home
last modified time | relevance | path

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

/external/tcpdump/
Dprint-pppoe.c97 u_int pppoe_length; in pppoe_print() local
111 pppoe_length = EXTRACT_16BITS(pppoe_packet + 4); in pppoe_print()
122 if (pppoe_code == PPPOE_PADI && pppoe_length > 1484 - PPPOE_HDRLEN) { in pppoe_print()
123 ND_PRINT((ndo, " [len %u!]",pppoe_length)); in pppoe_print()
125 if (pppoe_length > length) { in pppoe_print()
126 ND_PRINT((ndo, " [len %u > %u!]", pppoe_length, length)); in pppoe_print()
127 pppoe_length = length; in pppoe_print()
143 while (tag_type && p < pppoe_payload + pppoe_length) { in pppoe_print()
195 return (PPPOE_HDRLEN + ppp_print(ndo, pppoe_payload, pppoe_length)); in pppoe_print()