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.10 by pcg, Fri Mar 28 16:21:09 2003 UTC vs.
Revision 1.11 by pcg, Wed Apr 2 03:25:17 2003 UTC

17*/ 17*/
18 18
19#ifndef VPE_CONF_H__ 19#ifndef VPE_CONF_H__
20#define VPE_CONF_H__ 20#define VPE_CONF_H__
21 21
22#include <sys/types.h>
23#include <sys/socket.h>
24#include <netdb.h>
25
26#ifdef HAVE_OPENSSL_RSA_H
27# include <openssl/rsa.h> 22#include <openssl/rsa.h>
28#else
29# include <rsa.h>
30#endif
31 23
32#include <vector> 24#include <vector>
33 25
34#include "slog.h" 26#include "slog.h"
35#include "global.h" 27#include "global.h"
55 char *nodename; // nodename, an internal nickname. 47 char *nodename; // nodename, an internal nickname.
56 48
57 char *hostname; // hostname, if known, or NULL. 49 char *hostname; // hostname, if known, or NULL.
58 50
59 u8 protocols; // protocols this host can send & receive 51 u8 protocols; // protocols this host can send & receive
60 u16 udp_port; // the port to bind to 52 u16 udp_port, tcp_port; // the port to bind to
61 53
62 enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode; 54 enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode;
63 bool compress; 55 bool compress;
64 bool inherit_tos; // inherit TOS in packets send to this destination 56 bool inherit_tos; // inherit TOS in packets send to this destination
65 57

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines