Searched refs:discoverySocket (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | discovery.c | 292 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADI() 332 FD_SET(conn->discoverySocket, &readable); in waitForPADO() 335 r = select(conn->discoverySocket+1, &readable, NULL, NULL, &tv); in waitForPADO() 345 receivePacket(conn->discoverySocket, &packet, &len); in waitForPADO() 476 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADR() 509 FD_SET(conn->discoverySocket, &readable); in waitForPADS() 512 r = select(conn->discoverySocket+1, &readable, NULL, NULL, &tv); in waitForPADS() 522 receivePacket(conn->discoverySocket, &packet, &len); in waitForPADS() 589 conn->discoverySocket = in discovery() 602 close(conn->discoverySocket); in discovery() [all …]
|
D | plugin.c | 110 conn->discoverySocket = -1; in PPPOEInitDevice() 248 close(conn->discoverySocket); in PPPOEDisconnectDevice()
|
D | pppoe-discovery.c | 79 conn->discoverySocket = -1; in main()
|
D | common.c | 407 if (conn->discoverySocket < 0) return; in sendPADT() 464 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADT()
|
D | pppoe.h | 253 int discoverySocket; /* Raw socket for discovery frames */ member
|