… | |
… | |
153 | sockinfo si; // the current(!) destination ip to send packets to |
153 | sockinfo si; // the current(!) destination ip to send packets to |
154 | int retry_cnt; |
154 | int retry_cnt; |
155 | |
155 | |
156 | tstamp last_activity; // time of last packet received |
156 | tstamp last_activity; // time of last packet received |
157 | tstamp last_establish_attempt; |
157 | tstamp last_establish_attempt; |
|
|
158 | //tstamp last_si_change; // time we last changed the socket address |
158 | |
159 | |
159 | u32 oseqno; |
160 | u32 oseqno; |
160 | sliding_window iseqno; |
161 | sliding_window iseqno; |
161 | |
162 | |
162 | u8 protocol; |
163 | u8 protocol; |
163 | u8 features; |
164 | u8 features; |
|
|
165 | bool is_direct; // current connection (si) is direct? |
164 | |
166 | |
165 | pkt_queue data_queue, vpn_queue; |
167 | pkt_queue data_queue, vpn_queue; |
166 | |
168 | |
167 | crypto_ctx *octx, *ictx; |
169 | crypto_ctx *octx, *ictx; |
168 | |
170 | |