summaryrefslogtreecommitdiff
path: root/keyexchange/isakmpd-20041012/anytun_key.h
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-05-25 09:50:42 +0000
committerOthmar Gsenger <otti@anytun.org>2008-05-25 09:50:42 +0000
commit71da41451212389bea25d67bc5da696b6d194bff (patch)
treea3b20decbd8bc9e47640af5fa4b39f731477955a /keyexchange/isakmpd-20041012/anytun_key.h
parentimproved presentation again (diff)
moved keyexchange to http://anytun.org/svn/keyexchange
Diffstat (limited to 'keyexchange/isakmpd-20041012/anytun_key.h')
-rw-r--r--keyexchange/isakmpd-20041012/anytun_key.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/keyexchange/isakmpd-20041012/anytun_key.h b/keyexchange/isakmpd-20041012/anytun_key.h
deleted file mode 100644
index 4b0cc68..0000000
--- a/keyexchange/isakmpd-20041012/anytun_key.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef _ANYTUN_KEY_H_
-#define _ANYTUN_KEY_H_
-
-#include <sys/types.h>
-#include <sys/queue.h>
-
-struct proto;
-struct sa;
-struct sockaddr;
-struct kernel_sa;
-
-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 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 *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);
-extern int anytun_key_open(void);
-extern int anytun_key_set_spi(struct sa *, struct proto *, int,
- struct sa *);
-
-#endif /* _ANYTUN_KEY_H_ */