blob: 4affada2677c1a93c72b52769000566097f2c7e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#define MAX_KEYX_CNT 100
#define KEYX_PERIOD 600 /* key exchange priod (s); can't exceed 1h */
#define VCONN_EXPIRE_TO 7200
#define VLINK_UFLAG_DISCONNECT 0x80
int vlink_open_conn(ECPSocket *sock, ECPNode *node, ECPConnection **_conn);
void vlink_new_node(ECPSocket *sock, ECPDirItem *item);
void vlink_del_node(ECPDirItem *dir_item);
void vlink_keyx(ECPSocket *sock, int keyx_period);
int vlink_start_keyx(ECPSocket *sock);
int vlink_init(ECPSocket *sock);
|