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.1 by pcg, Sat Mar 1 15:53:03 2003 UTC vs.
Revision 1.2 by pcg, Sat Mar 8 10:48:41 2003 UTC

63 63
64 pkt_queue queue; 64 pkt_queue queue;
65 65
66 crypto_ctx *octx, *ictx; 66 crypto_ctx *octx, *ictx;
67 67
68 enum conf_node::connectmode connectmode;
69
68 void reset_dstaddr (); 70 void reset_dstaddr ();
69 71
70 void shutdown (); 72 void shutdown ();
71 void reset_connection (); 73 void reset_connection ();
72 void establish_connection (); 74 void establish_connection ();
86 connection(struct vpn *vpn_) 88 connection(struct vpn *vpn_)
87 : vpn(vpn_) 89 : vpn(vpn_)
88 { 90 {
89 octx = ictx = 0; 91 octx = ictx = 0;
90 retry_cnt = 0; 92 retry_cnt = 0;
93 connectmode = conf_node::C_ALWAYS; // initial setting
91 reset_connection (); 94 reset_connection ();
92 } 95 }
93 96
94 ~connection () 97 ~connection ()
95 { 98 {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines