Commit Graph
27 Commits
Author SHA1 Message Date
Tobias Brunner 26d77eb3e6 Centralized thread cancellation in processor_t
This ensures that no threads are active when plugins and the rest of the
daemon are unloaded.

callback_job_t was simplified a lot in the process as its main
functionality is now contained in processor_t.  The parent-child
relationships were abandoned as these were only needed to simplify job
cancellation.
2012-06-25 17:38:59 +02:00
Tobias Brunner 42500c274a Use name from initialization to access settings in libcharon.
Also fixes several whitespace errors.
2012-05-03 13:57:04 +02:00
Martin Willi 14bf2f689d Use CRITICAL job priority class for long running dispatcher jobs 2011-05-16 15:24:15 +02:00
Martin Willi 2b3c87b49a Set broadcast flag in DHCP requests when sending broadcasts 2011-04-15 13:00:23 +02:00
Martin Willi c55818ebb0 Added a (not yet implemented) plugin_t method to reload plugin configuration 2011-04-15 10:07:13 +02:00
Martin Willi 787b5884aa Added a get_name() function to plugin_t, create_plugin_enumerator enumerates over plugin_t 2011-04-15 10:07:12 +02:00
Martin Willi 9bac426bf3 Fixed memory cleanup if no DHCP transaction found for an OFFER 2011-01-13 10:36:16 +01:00
Martin Willi e3bde0ef82 Prefer the 'server identifier' attribute address to send DHCP requests to 2010-10-18 12:32:16 +02:00
Tobias Brunner bb381e26c6 Refer to scheduler and processor via lib and not hydra. 2010-09-02 19:04:18 +02:00
Tobias Brunner f6659688ab Refer to kernel interface via hydra and not charon. 2010-09-02 19:01:25 +02:00
Tobias Brunner c5f7146b17 Refer to processor via hydra and not charon. 2010-09-02 19:01:22 +02:00
Martin Willi ba31fe1fd6 Use a seperate section for each nested struct member in INIT macro 2010-08-18 12:15:03 +02:00
Tobias Brunner af7b34b13b Added missing pool parameter in DHCP attribute provider. 2010-07-12 12:27:49 +02:00
Andreas Steffen 12821bd674 include dhcp-client-identifier in the DHCP request 2010-04-23 12:57:43 +02:00
Andreas Steffen 19d49af539 make DHCP debug messages consistent 2010-04-23 07:37:16 +02:00
Andreas Steffen 500a6d38ee fixed typo 2010-04-23 00:02:13 +02:00
Martin Willi f0212e8837 Accept DHCP replies on bootps port, as we act as a relay agent if server address configured 2010-04-19 11:18:58 +02:00
Tobias Brunner 18c68f22c7 Revert "Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier."
This reverts commit e91b116a62. Missed to
notice commit 89bf11d204.
2010-03-26 10:47:09 +01:00
Tobias Brunner e91b116a62 Use the same formatting as in the Makefiles of the other plugins. Makes refactorings easier. 2010-03-26 10:40:14 +01:00
Martin Willi 0e1689e98f Migrated dhcp plugin to moved attribute manager 2010-03-25 14:33:22 +01:00
Martin Willi b262429e0b Include configuration payloads for DNS/WINS server received via DHCP 2010-03-25 14:29:10 +01:00
Martin Willi 913eb69692 Send DHCP RELEASE on virtual IP release 2010-03-25 14:29:10 +01:00
Martin Willi e06a6154e2 Added identity_lease option to create random or identity based DHCP leases 2010-03-25 14:28:29 +01:00
Martin Willi 4f0932ecfe Added DHCP request construction, ACK processing 2010-03-25 14:28:29 +01:00
Martin Willi 20ee54d06f Added reception of DHCP responses via PACKET socket 2010-03-25 14:28:29 +01:00
Martin Willi ddc93db612 DHCP plugin framework, send DHCP Discover upon IP request 2010-03-25 14:28:28 +01:00
Martin Willi beaa048eed Added DHCP plugin stub. 2010-03-25 14:28:28 +01:00