Home
last modified time | relevance | path

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

/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c331 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADI()
376 FD_SET(conn->discoverySocket, &readable); in waitForPADO()
379 r = select(conn->discoverySocket+1, &readable, NULL, NULL, &tv); in waitForPADO()
391 receivePacket(conn->discoverySocket, &packet, &len); in waitForPADO()
524 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADR()
561 FD_SET(conn->discoverySocket, &readable); in waitForPADS()
564 r = select(conn->discoverySocket+1, &readable, NULL, NULL, &tv); in waitForPADS()
576 receivePacket(conn->discoverySocket, &packet, &len); in waitForPADS()
639 close(conn->discoverySocket); in discovery()
640 conn->discoverySocket = -1; in discovery()
[all …]
Dplugin.c111 conn->discoverySocket = -1; in PPPOEInitDevice()
185 conn->discoverySocket = in PPPOEConnectDevice()
232 if (conn->discoverySocket >= 0) { in PPPOEConnectDevice()
234 close(conn->discoverySocket); in PPPOEConnectDevice()
235 conn->discoverySocket = -1; in PPPOEConnectDevice()
277 if (conn->discoverySocket >= 0) in PPPOEDisconnectDevice()
278 close(conn->discoverySocket); in PPPOEDisconnectDevice()
Dpppoe-discovery.c490 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADI()
531 FD_SET(conn->discoverySocket, &readable); in waitForPADO()
534 r = select(conn->discoverySocket+1, &readable, NULL, NULL, &tv); in waitForPADO()
545 receivePacket(conn->discoverySocket, &packet, &len); in waitForPADO()
619 conn->discoverySocket = in discovery()
626 close(conn->discoverySocket); in discovery()
627 conn->discoverySocket = -1; in discovery()
687 conn->discoverySocket = -1; in main()
Dcommon.c107 if (conn->discoverySocket < 0) return; in sendPADT()
163 sendPacket(conn, conn->discoverySocket, &packet, (int) (plen + HDR_SIZE)); in sendPADT()
Dpppoe.h227 int discoverySocket; /* Raw socket for discovery frames */ member