Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Dcommon.c51 if (PPPOE_VER(packet->vertype) != 1) { in parsePacket()
52 error("Invalid PPPoE version (%d)", PPPOE_VER(packet->vertype)); in parsePacket()
55 if (PPPOE_TYPE(packet->vertype) != 1) { in parsePacket()
56 error("Invalid PPPoE type (%d)", PPPOE_TYPE(packet->vertype)); in parsePacket()
113 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADT()
178 printer(arg, "PPPOE Discovery V%dT%d ", PPPOE_VER(packet->vertype), in pppoe_printpkt()
179 PPPOE_TYPE(packet->vertype)); in pppoe_printpkt()
202 printer(arg, "PPPOE Session V%dT%d", PPPOE_VER(packet->vertype), in pppoe_printpkt()
203 PPPOE_TYPE(packet->vertype)); in pppoe_printpkt()
Dpppoe-discovery.c268 if (PPPOE_VER(packet->vertype) != 1) { in parsePacket()
270 PPPOE_VER(packet->vertype)); in parsePacket()
273 if (PPPOE_TYPE(packet->vertype) != 1) { in parsePacket()
275 PPPOE_TYPE(packet->vertype)); in parsePacket()
462 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADI()
Dpppoe.h181 unsigned int vertype:8; /* PPPoE Version and Type (must both be 1) */ member
Ddiscovery.c284 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADI()
469 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADR()