summaryrefslogtreecommitdiff
path: root/keyexchange/isakmpd-20041012/anytun_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyexchange/isakmpd-20041012/anytun_key.h')
-rw-r--r--keyexchange/isakmpd-20041012/anytun_key.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/keyexchange/isakmpd-20041012/anytun_key.h b/keyexchange/isakmpd-20041012/anytun_key.h
index e2e23c4..4b0cc68 100644
--- a/keyexchange/isakmpd-20041012/anytun_key.h
+++ b/keyexchange/isakmpd-20041012/anytun_key.h
@@ -14,11 +14,11 @@ extern int anytun_key_socket;
extern void anytun_key_connection_check(char *);
extern int anytun_key_delete_spi(struct sa *, struct proto *, int);
extern int anytun_key_enable_sa(struct sa *, struct sa *);
-extern int anytun_key_enable_spi(in_addr_t, in_addr_t, in_addr_t,
- in_addr_t, u_int8_t *, u_int8_t, in_addr_t);
+//extern int anytun_key_enable_spi(in_addr_t, in_addr_t, in_addr_t,
+// in_addr_t, u_int8_t *, u_int8_t, in_addr_t);
extern struct sa_kinfo *anytun_key_get_kernel_sa(u_int8_t *, size_t, u_int8_t, struct sockaddr *);
-extern u_int8_t *anytun_key_get_spi(size_t *, u_int8_t, struct sockaddr *,
- struct sockaddr *, u_int32_t);
+extern u_int8_t *anytun_key_get_spi(size_t *sz, u_int8_t proto, struct sockaddr *src,
+ struct sockaddr *dst, u_int32_t seq);
extern int anytun_key_group_spis(struct sa *, struct proto *,
struct proto *, int);
extern void anytun_key_handler(int);