1857 Commits

Author SHA1 Message Date
Baptiste Wicht
5fd3959eee emplace support for list 2016-09-14 20:45:25 +02:00
Baptiste Wicht
56fd5773fd Improve std::atomic interface 2016-09-14 20:41:51 +02:00
Baptiste Wicht
552ed92da3 Test suite for std::list 2016-09-14 20:16:33 +02:00
Baptiste Wicht
071c2b8131 Finalize std::list implementation 2016-09-14 20:16:21 +02:00
Baptiste Wicht
6a1f3ceb3b Fix 2016-09-14 20:15:22 +02:00
Baptiste Wicht
be987c0c2b Improve traits 2016-09-14 20:06:23 +02:00
Baptiste Wicht
0d58817435 Cleanup 2016-09-14 20:02:24 +02:00
Baptiste Wicht
9de8550b4e Support for std::add_const 2016-09-14 20:00:12 +02:00
Baptiste Wicht
3e0f4e7f7a Cleanup 2016-09-14 19:59:50 +02:00
Baptiste Wicht
2f88feb2f7 Prepare more fields for TCP socket 2016-09-14 19:08:02 +02:00
Baptiste Wicht
b144b1c5cb Prepare std::atomic<bool> 2016-09-14 19:07:38 +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
26fabfd6f1 Fix program name 2016-09-13 22:01:41 +02:00
Baptiste Wicht
af16bd246c Prepare simple netcat program 2016-09-13 21:08:31 +02:00
Baptiste Wicht
ebbc38838b New features for network 2016-09-13 21:08:16 +02:00
Baptiste Wicht
b9f9b9163a Prepare TCP support 2016-09-13 20:57:18 +02:00
Baptiste Wicht
77c705308e Fix the damn flags 2016-09-13 19:19:24 +02:00
Baptiste Wicht
dd6c90dcac Fix flags mess 2016-09-13 19:17:18 +02:00
Baptiste Wicht
223f40820a Cleanup 2016-09-13 19:16:01 +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
13ce3e4e33 Resolve domain names in ping 2016-09-12 22:36:42 +02:00
Baptiste Wicht
6bc6580bb3 Basic resolve support in tlib 2016-09-12 22:26:47 +02:00
Baptiste Wicht
a0b6e07ac2 Ask only for A record for now 2016-09-12 22:06:49 +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
1c1f56f567 Improve nslookup 2016-09-12 20:35:33 +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
Baptiste Wicht
d654a7a3ab Use the new emplace_back 2016-09-11 21:03:16 +02:00
Baptiste Wicht
823b946a08 Improve emplace_back to return reference
This is done in C++17
2016-09-11 21:00:35 +02:00
Baptiste Wicht
c01d9b799a Use RAII for packet memory 2016-09-11 20:48:37 +02:00
Baptiste Wicht
08f846dcb4 Fix std::expected for non-trivial types 2016-09-11 20:47:26 +02:00
Baptiste Wicht
c510b6fa89 New TSTL tests 2016-09-11 20:31:44 +02:00
Baptiste Wicht
e9a3b78a9c Fix is_trivially_destructible for void 2016-09-11 20:31:25 +02:00
Baptiste Wicht
a77b976002 Support for std::conditional_t 2016-09-11 20:30:47 +02:00
Baptiste Wicht
0567908a05 Reformat code 2016-09-11 20:08:41 +02:00