introduced refcounting on policy and connections
authorMartin Willi <martin@strongswan.org>
Thu, 20 Jul 2006 10:09:32 +0000 (10:09 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 20 Jul 2006 10:09:32 +0000 (10:09 -0000)
commit8dfbe71b34badd4a277b46e4bfd9a70cfa9db06b
treec85c7059d723cb76a0db9dd51f9cb984c3ad7f8f
parent92ee45a0eedfa4b58d5814d7ffad0671165f3f06
introduced refcounting on policy and connections
aren't stored in the IKE_SA anymore, they are queried on the fly
are immutable now, allows it to share them
policy selection based on traffic selectors, leads to valid lookup results
rekeying queries the policy based on its traffic selectors
28 files changed:
src/charon/config/connections/connection.c
src/charon/config/connections/connection.h
src/charon/config/connections/local_connection_store.c
src/charon/config/policies/local_policy_store.c
src/charon/config/policies/policy.c
src/charon/config/policies/policy.h
src/charon/config/policies/policy_store.h
src/charon/config/traffic_selector.c
src/charon/queues/jobs/initiate_ike_sa_job.c
src/charon/queues/jobs/initiate_ike_sa_job.h
src/charon/sa/authenticator.c
src/charon/sa/authenticator.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/transactions/create_child_sa.c
src/charon/sa/transactions/create_child_sa.h
src/charon/sa/transactions/dead_peer_detection.c
src/charon/sa/transactions/delete_child_sa.c
src/charon/sa/transactions/delete_ike_sa.c
src/charon/sa/transactions/ike_auth.c
src/charon/sa/transactions/ike_auth.h
src/charon/sa/transactions/ike_sa_init.c
src/charon/sa/transactions/ike_sa_init.h
src/charon/threads/stroke_interface.c
src/libstrongswan/definitions.h