Searched refs:vertype (Results 1 – 6 of 6) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | common.c | 51 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()
|
D | pppoe-discovery.c | 268 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()
|
D | pppoe.h | 181 unsigned int vertype:8; /* PPPoE Version and Type (must both be 1) */ member
|
D | discovery.c | 284 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADI() 469 packet.vertype = PPPOE_VER_TYPE(1, 1); in sendPADR()
|
/external/syslinux/core/lwip/src/include/netif/ |
D | ppp_oe.h | 84 PACK_STRUCT_FIELD(u8_t vertype);
|
/external/syslinux/core/lwip/src/netif/ppp/ |
D | ppp_oe.c | 327 if (ph->vertype != PPPOE_VERTYPE) { in pppoe_dispatch_disc_pkt() 328 printf("pppoe: unknown version/type packet: 0x%x\n", ph->vertype); in pppoe_dispatch_disc_pkt() 593 if (ph->vertype != PPPOE_VERTYPE) { in pppoe_data_input() 594 printf("pppoe (data): unknown version/type packet: 0x%x\n", ph->vertype); in pppoe_data_input()
|