ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/gvpe/src/conf.h
(Generate patch)

Comparing gvpe/src/conf.h (file contents):
Revision 1.1 by pcg, Sat Mar 1 15:53:03 2003 UTC vs.
Revision 1.4 by pcg, Sun Mar 9 12:40:18 2003 UTC

29# include <rsa.h> 29# include <rsa.h>
30#endif 30#endif
31 31
32#include <vector> 32#include <vector>
33 33
34#include "slog.h"
34#include "global.h" 35#include "global.h"
35 36
36#define DEFAULT_REKEY 3600 37#define DEFAULT_REKEY 3600
37#define DEFAULT_KEEPALIVE 60 // one keepalive/minute (it's just 48 bytes...) 38#define DEFAULT_KEEPALIVE 60 // one keepalive/minute (it's just 48 bytes...)
38#define DEFAULT_PORT 655 // same as tinc, conflicts would be rara 39#define DEFAULT_PORT 655 // same as tinc, conflicts would be rara
44 char *nodename; // nodename, an internal nickname. 45 char *nodename; // nodename, an internal nickname.
45 46
46 char *hostname; // hostname, if known, or NULL. 47 char *hostname; // hostname, if known, or NULL.
47 u16 port; // the port to bind to 48 u16 port; // the port to bind to
48 49
49 enum { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode; 50 enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode;
50 bool compress; 51 bool compress;
52 bool inherit_tos; // inherit TOS in packets send to this destination
51 53
52 u32 routerprio; 54 u32 routerprio;
53 55
54 void print (); 56 void print ();
55 57
77 int rekey; // rekey interval 79 int rekey; // rekey interval
78 int keepalive; // keepalive probes interval 80 int keepalive; // keepalive probes interval
79 char *ifname; // the interface name (tap0 ...) 81 char *ifname; // the interface name (tap0 ...)
80 bool ifpersist; // should the interface be persistent 82 bool ifpersist; // should the interface be persistent
81 char *prikeyfile; 83 char *prikeyfile;
84 loglevel llevel;
82 RSA *rsa_key; // our private rsa key 85 RSA *rsa_key; // our private rsa key
83 86
84 char *script_if_up; 87 char *script_if_up;
85 char *script_node_up; 88 char *script_node_up;
86 char *script_node_down; 89 char *script_node_down;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines