aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/kernel/kernel_interface.h
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-03-26 10:06:45 +0000
committerMartin Willi <martin@strongswan.org>2008-03-26 10:06:45 +0000
commit3c7e72f5b0ed36cc3e0d70216d89b21d2ec806fb (patch)
tree87b18284f583b7327ea84ed94f0e4fa10f008378 /src/charon/kernel/kernel_interface.h
parenta852928a6f2b625d03bb2e94b0a6f8f6aa4be896 (diff)
downloadstrongswan-3c7e72f5b0ed36cc3e0d70216d89b21d2ec806fb.tar.bz2
strongswan-3c7e72f5b0ed36cc3e0d70216d89b21d2ec806fb.tar.xz
added equals() method to peer_cfg, ike_cfg, proposals, auth_info
allows easier merging of ipsec.conf connections replaced some iterators through enumerators made proposals algorithm_t private using enumerator
Diffstat (limited to 'src/charon/kernel/kernel_interface.h')
-rw-r--r--src/charon/kernel/kernel_interface.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/charon/kernel/kernel_interface.h b/src/charon/kernel/kernel_interface.h
index 624316d97..5e2bff5d8 100644
--- a/src/charon/kernel/kernel_interface.h
+++ b/src/charon/kernel/kernel_interface.h
@@ -96,7 +96,9 @@ struct kernel_interface_t {
* @param expire_soft lifetime in seconds before rekeying
* @param expire_hard lieftime in seconds before delete
* @param enc_alg Algorithm to use for encryption (ESP only)
+ * @param enc_size key length of encryption algorithm, if dynamic
* @param int_alg Algorithm to use for integrity protection
+ * @param int_size key length of integrity algorithm, if dynamic
* @param prf_plus PRF to derive keys from
* @param mode mode of the SA (tunnel, transport)
* @param encap enable UDP encapsulation for NAT traversal
@@ -107,7 +109,8 @@ struct kernel_interface_t {
host_t *src, host_t *dst, u_int32_t spi,
protocol_id_t protocol, u_int32_t reqid,
u_int64_t expire_soft, u_int64_t expire_hard,
- algorithm_t *enc_alg, algorithm_t *int_alg,
+ u_int16_t enc_alg, u_int16_t enc_size,
+ u_int16_t int_alg, u_int16_t int_size,
prf_plus_t *prf_plus, mode_t mode, bool encap,
bool update);