Home
last modified time | relevance | path

Searched refs:vertype (Results 1 – 6 of 6) 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()
/external/syslinux/core/lwip/src/include/netif/
Dppp_oe.h84 PACK_STRUCT_FIELD(u8_t vertype);
/external/syslinux/core/lwip/src/netif/ppp/
Dppp_oe.c327 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()