job management:
authorMartin Willi <martin@strongswan.org>
Wed, 31 May 2006 14:23:15 +0000 (14:23 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 31 May 2006 14:23:15 +0000 (14:23 -0000)
commit32b6500fbfe063f3efb5589facd027f4c6cf08ed
treec434114b344ff3a134ebf245a6865ff2794da590
parent6f2aba1322ce0061c56b9faeb979c236da926c3f
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... :-)
31 files changed:
src/charon/Makefile.am
src/charon/encoding/message.c
src/charon/queues/event_queue.c
src/charon/queues/job_queue.c
src/charon/queues/jobs/delete_child_sa_job.c [new file with mode: 0644]
src/charon/queues/jobs/delete_child_sa_job.h [new file with mode: 0644]
src/charon/queues/jobs/delete_established_ike_sa_job.c
src/charon/queues/jobs/delete_established_ike_sa_job.h
src/charon/queues/jobs/delete_half_open_ike_sa_job.c
src/charon/queues/jobs/delete_half_open_ike_sa_job.h
src/charon/queues/jobs/incoming_packet_job.c
src/charon/queues/jobs/incoming_packet_job.h
src/charon/queues/jobs/initiate_ike_sa_job.c
src/charon/queues/jobs/initiate_ike_sa_job.h
src/charon/queues/jobs/job.h
src/charon/queues/jobs/rekey_child_sa_job.c [new file with mode: 0644]
src/charon/queues/jobs/rekey_child_sa_job.h [new file with mode: 0644]
src/charon/queues/jobs/retransmit_request_job.c
src/charon/queues/jobs/retransmit_request_job.h
src/charon/sa/child_sa.c
src/charon/sa/child_sa.h
src/charon/sa/ike_sa.c
src/charon/sa/ike_sa.h
src/charon/sa/ike_sa_manager.c
src/charon/sa/ike_sa_manager.h
src/charon/testing/Makefile.am
src/charon/testing/kernel_interface_test.c
src/charon/testing/testcases.c
src/charon/threads/kernel_interface.c
src/charon/threads/kernel_interface.h
src/charon/threads/thread_pool.c