2033 Commits

Author SHA1 Message Date
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
Baptiste Wicht
b89bc2770f Use the new API 2016-09-11 20:07:25 +02:00
Baptiste Wicht
510a3ef6c7 New socket API 2016-09-11 20:07:19 +02:00
Baptiste Wicht
3b38aed314 Start socket fd at 1 2016-09-11 20:06:37 +02:00
Baptiste Wicht
897497c9d4 Reformat code 2016-09-11 19:13:51 +02:00
Baptiste Wicht
0a9442aeb9 Improve VFS interface 2016-09-11 18:12:25 +02:00
Baptiste Wicht
9374fded2d Full DNS decoding
"Full" :)
2016-09-11 16:18:30 +02:00
Baptiste Wicht
f34b92ff36 Simple bitfield utility 2016-09-11 15:26:10 +02:00
Baptiste Wicht
283b7a460e Fix tags handling 2016-09-11 15:24:41 +02:00
Baptiste Wicht
b20b689d17 Improve decoding 2016-09-11 15:04:55 +02:00
Baptiste Wicht
12bf0aba4c Propagate packet from IP -> UDP 2016-09-11 14:49:42 +02:00
Baptiste Wicht
294bab5c58 Fix the checksum 2016-09-11 14:47:49 +02:00
Baptiste Wicht
c30d95714c Complete DNS query 2016-09-11 13:33:43 +02:00
Baptiste Wicht
c258de32ad Use alpha to test DNS 2016-09-11 11:58:01 +02:00
Baptiste Wicht
6b69ecb94b Move alpha system call 2016-09-11 11:32:10 +02:00
Baptiste Wicht
f4e5c43bf9 Prepare DNS encoding 2016-09-11 11:21:32 +02:00
Baptiste Wicht
3eef5e0699 Prepare DNS decoding 2016-09-11 11:05:46 +02:00
Baptiste Wicht
5eeed9b206 UDP Checksum 2016-09-11 10:40:10 +02:00
Baptiste Wicht
a7b3b45f38 Prepare UDP encoding 2016-09-10 20:52:06 +02:00
Baptiste Wicht
cc475a7e28 Prepare DNS decoding 2016-09-10 20:43:47 +02:00
Baptiste Wicht
9b064fe6b9 Prepare UDP support 2016-09-10 20:40:41 +02:00
Baptiste Wicht
e0dc61693e Review odin mouse support 2016-09-10 20:18:08 +02:00
Baptiste Wicht
bc460e91c5 Support for reverse iterators 2016-09-10 20:09:18 +02:00
Baptiste Wicht
7e62659471 push_front support 2016-09-10 19:44:01 +02:00
Baptiste Wicht
a80297f2ce Remove the default window 2016-09-10 19:24:27 +02:00