Changeset 4624
- Timestamp:
- 11/11/08 14:11:44 (2 months ago)
- Files:
-
- trunk/src/charon/control/controller.h (modified) (3 diffs)
- trunk/src/charon/sa/ike_sa_manager.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/charon/control/controller.h
r4434 r4624 43 43 * Empty callback function for controller_t functions. 44 44 * 45 * If you want to do a sync rhonous call, but don't need a callback, pass45 * If you want to do a synchronous call, but don't need a callback, pass 46 46 * this function to the controllers methods. 47 47 */ … … 58 58 * 59 59 * Passing NULL as callback to the managers function calls them asynchronously. 60 * If a callback is specified, they are called synchronou lsy. There is a default60 * If a callback is specified, they are called synchronously. There is a default 61 61 * callback "controller_cb_empty" if you wan't to call a function 62 62 * synchronously, but don't need a callback. … … 77 77 * Initiate a CHILD_SA, and if required, an IKE_SA. 78 78 * 79 * The initi tate() function is synchronous and thus blocks until the79 * The initiate() function is synchronous and thus blocks until the 80 80 * IKE_SA is established or failed. Because of this, the initiate() function 81 81 * contains a thread cancellation point. trunk/src/charon/sa/ike_sa_manager.h
r3819 r4624 60 60 * 61 61 * @param initiator TRUE for initiator, FALSE otherwise 62 * @returns created and checked out IKE_SA62 * @returns created and checked out IKE_SA 63 63 */ 64 64 ike_sa_t* (*checkout_new) (ike_sa_manager_t* this, bool initiator); … … 68 68 * 69 69 * In some situations, it is necessary that the manager knows the 70 * message to use for the checkout. This has the follo ing reasons:70 * message to use for the checkout. This has the following reasons: 71 71 * 72 72 * 1. If the targeted IKE_SA is already processing a message, we do not … … 74 74 * 2. If it is an IKE_SA_INIT request, we have to check if it is a 75 75 * retransmission. If so, we have to drop the message, we would 76 * create another unne ded IKE_SA for each retransmitted packet.76 * create another unneeded IKE_SA for each retransmitted packet. 77 77 * 78 78 * A call to checkout_by_message() returns a (maybe new created) IKE_SA.
