1163 Commits

Author SHA1 Message Date
Baptiste Wicht
0dbdfd22b7 Fix the ACK of PSH 2016-09-17 16:23:40 +02:00
Baptiste Wicht
29b5a777fb Guard the TCP connections datastructure 2016-09-17 16:21:20 +02:00
Baptiste Wicht
bfa88d4218 Better initialization 2016-09-17 16:20:25 +02:00
Baptiste Wicht
c590f99465 Remove useless include 2016-09-17 16:13:48 +02:00
Baptiste Wicht
3fd2b8d009 Prepare a Readers/Writer lock implementation 2016-09-17 15:12:34 +02:00
Baptiste Wicht
25a0a7859a Rename cv functions 2016-09-17 14:40:33 +02:00
Baptiste Wicht
533235db03 Add try_lock support 2016-09-17 14:30:50 +02:00
Baptiste Wicht
ef5040029c Reformat the code 2016-09-17 14:23:28 +02:00
Baptiste Wicht
7e7f82793b Review naming 2016-09-17 14:22:23 +02:00
Baptiste Wicht
6eb0a44a74 Clean concurrency utilities 2016-09-17 14:16:56 +02:00
Baptiste Wicht
a515261ed4 Cleanup concurrency 2016-09-17 11:34:04 +02:00
Baptiste Wicht
91d194130e Renaming 2016-09-16 23:10:04 +02:00
Baptiste Wicht
54b5141cf3 Basic acknowledge of PSH messages 2016-09-16 22:50:06 +02:00
Baptiste Wicht
d1fc3f1f5d Log assert 2016-09-16 22:08:36 +02:00
Baptiste Wicht
666c32a557 Propagate TCP packets 2016-09-16 18:51:42 +02:00
Baptiste Wicht
7a4b6965da Move headers 2016-09-16 17:58:52 +02:00
Baptiste Wicht
9bb52223a3 More robust system 2016-09-15 23:09:35 +02:00
Baptiste Wicht
303ab91887 Reformat code 2016-09-15 22:42:26 +02:00
Baptiste Wicht
2c7f602545 Use sleep queue 2016-09-15 22:42:02 +02:00
Baptiste Wicht
d7fc1a0c60 Insert the listener only once 2016-09-15 22:37:17 +02:00
Baptiste Wicht
a71551720f Allow to send TCP packets 2016-09-15 22:30:43 +02:00
Baptiste Wicht
91333c808d Handle TCP disconnect 2016-09-15 21:05:22 +02:00
Baptiste Wicht
fbeebfd3cc Remove debug message 2016-09-15 19:51:01 +02:00
Baptiste Wicht
85af2e812e Support for num pad 2016-09-14 22:43:03 +02:00
Baptiste Wicht
8977f17aaa Reformat code 2016-09-14 22:33:23 +02:00
Baptiste Wicht
d3dbcec498 Finalize 2016-09-14 22:32:20 +02:00
Baptiste Wicht
958aaebf72 Complete TCP Handshake 2016-09-14 22:08:51 +02:00
Baptiste Wicht
2f88feb2f7 Prepare more fields for TCP socket 2016-09-14 19:08:02 +02:00
Baptiste Wicht
a32a4a8aad Compute the TCP checksum 2016-09-13 22:50:56 +02:00
Baptiste Wicht
96b48c061f Extract checksum 2016-09-13 22:48:01 +02:00
Baptiste Wicht
4f10e262f2 Prepare TCP connect 2016-09-13 22:41:26 +02:00
Baptiste Wicht
5be0a1a22b Prepare TCP connect 2016-09-13 22:10:08 +02:00
Baptiste Wicht
b9f9b9163a Prepare TCP support 2016-09-13 20:57:18 +02:00
Baptiste Wicht
dd6c90dcac Fix flags mess 2016-09-13 19:17:18 +02:00
Baptiste Wicht
7dddb8d2d2 Correct routing through the gateway 2016-09-13 18:16:12 +02:00
Baptiste Wicht
b72e02f81b Fix the gateway 2016-09-13 18:15:18 +02:00
Baptiste Wicht
850361d811 Comment 2016-09-13 18:12:18 +02:00
Baptiste Wicht
51e23df9e9 Better debugging 2016-09-13 18:11:10 +02:00
Baptiste Wicht
8e272895de Remove excessive locking
send_packet is already synchronized, no need for more
2016-09-13 18:06:33 +02:00
Baptiste Wicht
537842ebb8 Add notion of gateway 2016-09-13 17:31:17 +02:00
Baptiste Wicht
b0f1ead106 Refactor 2016-09-13 17:19:22 +02:00
Baptiste Wicht
bebfa90e83 Refactorings 2016-09-13 17:13:36 +02:00
Baptiste Wicht
4e150e1f65 Better packet propagation for DGRAM sockets 2016-09-12 22:06:19 +02:00
Baptiste Wicht
47756c2778 Auto association of the port 2016-09-12 21:57:42 +02:00
Baptiste Wicht
9cf9448c3f Make port counter atomic 2016-09-12 21:51:34 +02:00
Baptiste Wicht
853ca52dd4 Prepare binding 2016-09-12 21:14:46 +02:00
Baptiste Wicht
eabca269b0 Basic nslookup support 2016-09-12 20:05:40 +02:00
Baptiste Wicht
9f27ad8420 Move some constants to tlib 2016-09-12 18:12:36 +02:00
Baptiste Wicht
034a0f32e1 Cleanup 2016-09-11 21:04:54 +02:00
Baptiste Wicht
760c4fbed9 Reformat code 2016-09-11 21:03:34 +02:00