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

Comparing gvpe/src/connection.h (file contents):
Revision 1.7 by pcg, Sun Apr 6 18:12:18 2003 UTC vs.
Revision 1.8 by pcg, Sun Apr 13 16:53:36 2003 UTC

96//////////////////////////////////////////////////////////////////////////////////////// 96////////////////////////////////////////////////////////////////////////////////////////
97 97
98// a very simple fifo pkt-queue 98// a very simple fifo pkt-queue
99class pkt_queue 99class pkt_queue
100 { 100 {
101 tap_packet *queue[QUEUEDEPTH]; 101 net_packet *queue[QUEUEDEPTH];
102 int i, j; 102 int i, j;
103 103
104 public: 104 public:
105 105
106 void put (tap_packet *p); 106 void put (net_packet *p);
107 tap_packet *get (); 107 net_packet *get ();
108 108
109 pkt_queue (); 109 pkt_queue ();
110 ~pkt_queue (); 110 ~pkt_queue ();
111 }; 111 };
112 112
123 u32 oseqno; 123 u32 oseqno;
124 sliding_window iseqno; 124 sliding_window iseqno;
125 125
126 u8 protocol; 126 u8 protocol;
127 127
128 pkt_queue queue; 128 pkt_queue data_queue, vpn_queue;
129 129
130 crypto_ctx *octx, *ictx; 130 crypto_ctx *octx, *ictx;
131 131
132 enum conf_node::connectmode connectmode; 132 enum conf_node::connectmode connectmode;
133 u8 prot_minor; // minor number of other side 133 u8 prot_minor; // minor number of other side

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines