Home
last modified time | relevance | path

Searched refs:discoverySocket (Results 1 – 5 of 5) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c292 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 …]
Dpppoe-discovery.c79 conn->discoverySocket = -1; in main()
Dplugin.c110 conn->discoverySocket = -1; in PPPOEInitDevice()
248 close(conn->discoverySocket); in PPPOEDisconnectDevice()
Dcommon.c407 if (conn->discoverySocket < 0) return; in sendPADT()
464 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADT()
Dpppoe.h253 int discoverySocket; /* Raw socket for discovery frames */ member