Lines Matching refs:discoverySocket
331 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()
655 close(conn->discoverySocket); in discovery()
656 conn->discoverySocket = -1; in discovery()