Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Loggers specify what log messages they want to receive during registration. | Tobias Brunner | 2012-05-02 | 1 | -4/+15 |
| | | | | | | | This also allows us to generate the log message only once for all loggers that need it (avoids calls to custom printf specifier callbacks). To update the log levels loggers can simply be registered again. | ||||
* | Use a separate interface for loggers. | Tobias Brunner | 2012-05-02 | 1 | -22/+60 |
| | | | | | | | | The new interface does not allow loggers to unregister themselves from the bus. This allows us to use a rwlock_t for them. The latter also means that loggers can now be called concurrently by multiple threads. | ||||
* | Fixed return value of controller_t functions if callback returns FALSE. | Tobias Brunner | 2012-05-02 | 1 | -0/+1 |
| | |||||
* | Implement wait_for_listener in controller_t with semaphores. | Tobias Brunner | 2012-05-02 | 1 | -53/+17 |
| | | | | This eliminates even the slightest chance of a deadlock. | ||||
* | Implement bus_t.listen() directly in controller_t (the only user). | Tobias Brunner | 2012-05-02 | 1 | -12/+110 |
| | | | | This will hopefully allow us to later simplify bus_t. | ||||
* | Do not query CHILD_SA during delete if they already expired | Martin Willi | 2012-03-20 | 1 | -1/+1 |
| | |||||
* | Handle initiation of not supported IKE versions properly | Martin Willi | 2012-03-20 | 1 | -0/+11 |
| | |||||
* | bus->listen() and the controller wrappers accept a timeout to wait for callbacks | Martin Willi | 2011-08-26 | 1 | -6/+19 |
| | |||||
* | Fixed common misspellings. | Tobias Brunner | 2011-07-20 | 1 | -2/+2 |
| | | | | Mostly found by 'codespell'. | ||||
* | Replaced ike_sa_t.create_child_sa_iterator with enumerator. | Tobias Brunner | 2011-07-06 | 1 | -4/+4 |
| | | | | | This required two new methods on ike_sa_t. One returns the number of CHILD_SAs and one allows to remove a CHILD_SA. | ||||
* | Migrated controller_t to INIT/METHOD macros | Martin Willi | 2011-05-16 | 1 | -98/+97 |
| | |||||
* | Provide get_priority() method in controller jobs | Martin Willi | 2011-05-16 | 1 | -0/+9 |
| | |||||
* | Added a non-blocking, skipping variant of IKE_SA enumerator | Martin Willi | 2011-05-16 | 1 | -3/+4 |
| | |||||
* | Fixed a possible segfault after termination of IKE and child SAs. | Tobias Brunner | 2011-02-28 | 1 | -0/+4 |
| | | | | | | | Because the thread that is actually terminating the SA and thus checking it in again is not be the same thread that previously checked it out and queued the termination job, the thread local SA on the bus has to be reset manually, similar to how it is set in the job which is executing the job. | ||||
* | Moving charon to libcharon. | Tobias Brunner | 2010-03-19 | 1 | -0/+455 |