28 Commits

Author SHA1 Message Date
Baptiste Wicht
cf8ba31cee
Fix containers of packets 2016-10-04 22:07:33 +02:00
Baptiste Wicht
3231dd56f1
Review TCP
Fixes for indices
Better logging
2016-10-04 21:30:42 +02:00
Baptiste Wicht
1c113afb18
Avoid copies of network packets
Use shared_ptr to count references to network packets
Only copy the shared packets
Change the interface to use only network packets
2016-10-01 14:48:58 +02:00
Baptiste Wicht
fb68f1b27c
Documentation 2016-09-29 12:40:10 +02:00
Baptiste Wicht
56e865c6de
Move packet out of ethernet 2016-09-29 09:47:05 +02:00
Baptiste Wicht
031352ea34
Cleanup headers 2016-09-29 09:43:14 +02:00
Baptiste Wicht
ac3d686bcf
No more need for init functions 2016-09-28 23:25:27 +02:00
Baptiste Wicht
d8a7016d8d
Better encapsulation 2016-09-28 23:24:27 +02:00
Baptiste Wicht
a22b06d1b0
Extract all the network layers 2016-09-28 22:58:30 +02:00
Baptiste Wicht
56badb6843
More TCP server support 2016-09-26 17:34:20 +02:00
Baptiste Wicht
c899471d7d Cleanup 2016-09-25 20:53:03 +02:00
Baptiste Wicht
4d39ee28a4 server_start support for TCP server support 2016-09-25 20:45:14 +02:00
Baptiste Wicht
26abd1fd6a Add receive function to stream sockets 2016-09-19 18:43:57 +02:00
Baptiste Wicht
283e743eb9 Documentation 2016-09-19 10:19:51 +02:00
Baptiste Wicht
d4bc47274c Cleanup of TCP implementation 2016-09-18 23:02:13 +02:00
Baptiste Wicht
a92a5c5784 Add send function to ease send of message 2016-09-18 22:29:23 +02:00
Baptiste Wicht
1e671d61f1 Refactor TCP layer a bit 2016-09-18 21:23:13 +02:00
Baptiste Wicht
ad7a4f41cf Review initialization of local ports 2016-09-18 21:03:13 +02:00
Baptiste Wicht
0422e1fed8 Continue cleanup network suport 2016-09-18 20:26:37 +02:00
Baptiste Wicht
f9d9b40920 Review prepare_packet functions 2016-09-17 21:46:46 +02:00
Baptiste Wicht
6caa59e5af Rename prepare_packet 2016-09-17 20:33:36 +02:00
Baptiste Wicht
2f0ee33ba9 finalize_packet may fail 2016-09-17 20:19:35 +02:00
Baptiste Wicht
9d5da4769d Delete all TCP work to the TCP layer 2016-09-17 17:34:13 +02:00
Baptiste Wicht
7a4b6965da Move headers 2016-09-16 17:58:52 +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
4f10e262f2 Prepare TCP connect 2016-09-13 22:41:26 +02:00
Baptiste Wicht
b9f9b9163a Prepare TCP support 2016-09-13 20:57:18 +02:00