summaryrefslogtreecommitdiff
path: root/keyexchange/isakmpd-20041012/anytun_key.c
blob: 966e688fe72b759d8b2833411b7330fc0281240a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#include "anytun_key.h"
#include <sys/types.h>

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)
	 {
	 }