Home
last modified time | relevance | path

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

/dragonfly/contrib/tcpdump/
H A Dprint-pppoe.c87 #define PPPOE_HDRLEN 6 macro
105 if (length < PPPOE_HDRLEN) { in pppoe_print()
106 ND_PRINT(" (length %u < %u)", length, PPPOE_HDRLEN); in pppoe_print()
109 length -= PPPOE_HDRLEN; in pppoe_print()
111 ND_TCHECK_LEN(pppoe_packet, PPPOE_HDRLEN); in pppoe_print()
117 pppoe_payload = pppoe_packet + PPPOE_HDRLEN; in pppoe_print()
127 if (pppoe_code == PPPOE_PADI && pppoe_length > 1484 - PPPOE_HDRLEN) { in pppoe_print()
195 return PPPOE_HDRLEN; in pppoe_print()
199 return (PPPOE_HDRLEN + ppp_print(ndo, pppoe_payload, pppoe_length)); in pppoe_print()