--- gvpe/src/conf.h 2003/03/09 12:40:18 1.4 +++ gvpe/src/conf.h 2003/03/22 02:35:57 1.7 @@ -47,9 +47,10 @@ char *hostname; // hostname, if known, or NULL. u16 port; // the port to bind to - enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode; + enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode; bool compress; bool inherit_tos; // inherit TOS in packets send to this destination + u32 can_recv, can_send; u32 routerprio; @@ -75,14 +76,14 @@ node_vector nodes; conf_node default_node; conf_node *thisnode; - int mtu; // the mtu used for outgoing tunnel packets - int rekey; // rekey interval - int keepalive; // keepalive probes interval - char *ifname; // the interface name (tap0 ...) - bool ifpersist; // should the interface be persistent + int mtu; // the mtu used for outgoing tunnel packets + double rekey; // rekey interval + double keepalive; // keepalive probes interval + char *ifname; // the interface name (tap0 ...) + bool ifpersist; // should the interface be persistent char *prikeyfile; loglevel llevel; - RSA *rsa_key; // our private rsa key + RSA *rsa_key; // our private rsa key char *script_if_up; char *script_node_up;