job management:

moved job code from thread_pool to job, jobs have an "execute" method now
  added two new jobs: delete_child_sa & rekey_child_sa
kernel interface:
  listens now for ACQUIRE & EXPIRE
  supports hard and soft lifetimes
  fires jobs for delete and rekey child sa
ike sa manager:
  can checkout IKE SAs by requid of owned CHILD SAs
we have now the infrastructure to do the rekeying... :-)
This commit is contained in:
Martin Willi
2006-05-31 14:23:15 +00:00
parent 6f2aba1322
commit 32b6500fbf
31 changed files with 930 additions and 739 deletions
+4 -13
View File
@@ -48,21 +48,12 @@ struct incoming_packet_job_t {
job_t job_interface;
/**
* @brief Returns the assigned packet_t object
*
* @warning Returned packet is not cloned and has to get destroyed by the caller.
* @brief Get associated packet.
*
* @param this calling incoming_packet_job_t object
* @return assigned packet
* @param this calling object
* @return associated packet
*/
packet_t *(*get_packet) (incoming_packet_job_t *this);
/**
* @brief Destroys an incoming_packet_job_t object.
*
* @param this incoming_packet_job_t object to destroy
*/
void (*destroy) (incoming_packet_job_t *this);
packet_t *(*get_packet)(incoming_packet_job_t *this);
};
/**