From 595bde1a20067b290cb69cd433bf40148a86d813 Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Thu, 27 Dec 2007 11:52:27 +0000 Subject: added anytun to isakmpd --- keyexchange/isakmpd-20041012/anytun_key.c | 57 +++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 keyexchange/isakmpd-20041012/anytun_key.c (limited to 'keyexchange/isakmpd-20041012/anytun_key.c') diff --git a/keyexchange/isakmpd-20041012/anytun_key.c b/keyexchange/isakmpd-20041012/anytun_key.c new file mode 100644 index 0000000..966e688 --- /dev/null +++ b/keyexchange/isakmpd-20041012/anytun_key.c @@ -0,0 +1,57 @@ +#include "anytun_key.h" +#include + +struct proto; +struct sa; +struct sockaddr; +struct kernel_sa; + +int anytun_key_socket; + +void anytun_key_connection_check(char * conn) +{ +} + +int anytun_key_delete_spi(struct sa *sa, struct proto *proto, int incoming) +{ +} + +int anytun_key_enable_sa(struct sa *sa, struct sa *isakmp_sa) +{ +} + +//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) +// { +// } + +struct sa_kinfo * anytun_key_get_kernel_sa(u_int8_t *spi, size_t spi_sz, u_int8_t proto, + struct sockaddr *dst) +{ + return 0; +} + +u_int8_t *anytun_key_get_spi(ze_t *sz, u_int8_t proto, struct sockaddr *src, + struct sockaddr *dst, u_int32_t seq) + { + } + +int anytun_key_group_spis(struct sa *sa, struct proto *proto1, + struct proto *proto2, int incoming) + { + } + +void anytun_key_handler(int fd) +{ +} + +int anytun_key_open(void) +{ +} + +int anytun_key_set_spi(struct sa *sa, struct proto *proto, int incoming, + struct sa *isakmp_sa) + { + } + + -- cgit v1.2.3