Searched refs:PPPoEPacket (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | pppoe.h | 219 } PPPoEPacket; typedef 282 UINT16_t etherType(PPPoEPacket *packet); 284 int sendPacket(PPPoEConnection *conn, int sock, PPPoEPacket *pkt, int size); 285 int receivePacket(int sock, PPPoEPacket *pkt, int *size); 290 void dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir); 292 int parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra); 294 void syncReadFromPPP(PPPoEConnection *conn, PPPoEPacket *packet); 295 void asyncReadFromPPP(PPPoEConnection *conn, PPPoEPacket *packet); 301 PPPoEPacket *packet, int len); 303 void clampMSS(PPPoEPacket *packet, char const *dir, int clampMss); [all …]
|
D | common.c | 46 parsePacket(PPPoEPacket *packet, ParseFunc *func, void *extra) in parsePacket() 101 findTag(PPPoEPacket *packet, UINT16_t type, PPPoETag *tag) in findTag() 243 clampMSS(PPPoEPacket *packet, char const *dir, int clampMss) in clampMSS() 398 PPPoEPacket packet; in sendPADT()
|
D | discovery.c | 81 packetIsForMe(PPPoEConnection *conn, PPPoEPacket *packet) in packetIsForMe() 246 PPPoEPacket packet; in sendPADI() 316 PPPoEPacket packet; in waitForPADO() 416 PPPoEPacket packet; in sendPADR() 500 PPPoEPacket packet; in waitForPADS()
|
D | if.c | 126 etherType(PPPoEPacket *packet) in etherType() 526 sendPacket(PPPoEConnection *conn, int sock, PPPoEPacket *pkt, int size) in sendPacket() 607 clearPacketHeader(PPPoEPacket *pkt) in clearPacketHeader() 626 receivePacket(int sock, PPPoEPacket *pkt, int *size) in receivePacket() 659 *size = copylen = ((hdr.bh_caplen < sizeof(PPPoEPacket)) ? in receivePacket() 660 hdr.bh_caplen : sizeof(PPPoEPacket)); in receivePacket() 686 if ((*size = recv(sock, pkt, sizeof(PPPoEPacket), 0)) < 0) { in receivePacket()
|
D | debug.c | 86 dumpPacket(FILE *fp, PPPoEPacket *packet, char const *dir) in dumpPacket()
|