--- gvpe/src/conf.h 2003/03/01 15:53:03 1.1 +++ gvpe/src/conf.h 2003/03/21 20:33:36 1.5 @@ -31,6 +31,7 @@ #include +#include "slog.h" #include "global.h" #define DEFAULT_REKEY 3600 @@ -46,8 +47,10 @@ char *hostname; // hostname, if known, or NULL. u16 port; // the port to bind to - enum { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode; + enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode; bool compress; + bool inherit_tos; // inherit TOS in packets send to this destination + u32 can_recv, can_send; u32 routerprio; @@ -79,6 +82,7 @@ char *ifname; // the interface name (tap0 ...) bool ifpersist; // should the interface be persistent char *prikeyfile; + loglevel llevel; RSA *rsa_key; // our private rsa key char *script_if_up;