… | |
… | |
74 | struct configuration { |
74 | struct configuration { |
75 | typedef vector<conf_node *> node_vector; |
75 | typedef vector<conf_node *> node_vector; |
76 | node_vector nodes; |
76 | node_vector nodes; |
77 | conf_node default_node; |
77 | conf_node default_node; |
78 | conf_node *thisnode; |
78 | conf_node *thisnode; |
79 | int mtu; // the mtu used for outgoing tunnel packets |
79 | int mtu; // the mtu used for outgoing tunnel packets |
80 | int rekey; // rekey interval |
80 | double rekey; // rekey interval |
81 | int keepalive; // keepalive probes interval |
81 | double keepalive; // keepalive probes interval |
82 | char *ifname; // the interface name (tap0 ...) |
82 | char *ifname; // the interface name (tap0 ...) |
83 | bool ifpersist; // should the interface be persistent |
83 | bool ifpersist; // should the interface be persistent |
84 | char *prikeyfile; |
84 | char *prikeyfile; |
85 | loglevel llevel; |
85 | loglevel llevel; |
86 | RSA *rsa_key; // our private rsa key |
86 | RSA *rsa_key; // our private rsa key |
87 | |
87 | |
88 | char *script_if_up; |
88 | char *script_if_up; |
89 | char *script_node_up; |
89 | char *script_node_up; |
90 | char *script_node_down; |
90 | char *script_node_down; |
91 | |
91 | |