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

Comparing gvpe/src/protocol.h (file contents):
Revision 1.2 by pcg, Sat Mar 8 10:48:41 2003 UTC vs.
Revision 1.3 by pcg, Sun Mar 9 12:40:18 2003 UTC

18 18
19#ifndef VPE_PROTOCOL_H__ 19#ifndef VPE_PROTOCOL_H__
20#define VPE_PROTOCOL_H__ 20#define VPE_PROTOCOL_H__
21 21
22#include <netinet/in.h> 22#include <netinet/in.h>
23#include <netinet/ip.h> // for tos etc.
23 24
24#include <openssl/evp.h> 25#include <openssl/evp.h>
25#include <openssl/rsa.h> 26#include <openssl/rsa.h>
26 27
27#include "conf.h" 28#include "conf.h"
119 typedef vector<connection *> conns_vector; 120 typedef vector<connection *> conns_vector;
120 conns_vector conns; 121 conns_vector conns;
121 122
122 connection *find_router (); 123 connection *find_router ();
123 124
124 void send_vpn_packet (vpn_packet *pkt, SOCKADDR *sa); 125 void send_vpn_packet (vpn_packet *pkt, SOCKADDR *sa, int tos = IPTOS_RELIABILITY);
125 void reconnect_all (); 126 void reconnect_all ();
126 void shutdown_all (); 127 void shutdown_all ();
127 void connect_request (int id); 128 void connect_request (int id);
128 129
129 vpn (); 130 vpn ();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines