Lines Matching full:pppoe
5 * Implementation of user-space PPPoE redirector for Linux.
7 * Common functions used by PPPoE client and server
20 #include "pppoe.h"
35 * packet -- the PPPoE discovery packet to parse
41 * Parses a PPPoE discovery packet, calling "func" for each tag in the packet.
52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype));
56 error("Invalid PPPoE type (%d)", PPPOE_TYPE(packet->vertype));
61 if (len > ETH_JUMBO_LEN - PPPOE_OVERHEAD) { /* 6-byte overhead for PPPoE header */
62 error("Invalid PPPoE packet length (%u)", len);
76 error("Invalid PPPoE tag length (%u)", tagLen);
88 * conn -- PPPoE connection
169 /* Print out a PPPOE packet for debugging */
178 printer(arg, "PPPOE Discovery V%dT%d ", PPPOE_VER(packet->vertype),
202 printer(arg, "PPPOE Session V%dT%d", PPPOE_VER(packet->vertype),