1413 Commits

Author SHA1 Message Date
Baptiste Wicht
467bbcf1b7 Fix deferred locking 2016-09-22 17:29:53 +02:00
Baptiste Wicht
bee71fc071 Fix the keymap 2016-09-20 20:47:04 +02:00
Baptiste Wicht
caf8d97abf Fix TCP disconnection 2016-09-20 20:32:26 +02:00
Baptiste Wicht
8ff35de098 Fix handle of \r 2016-09-20 19:29:18 +02:00
Baptiste Wicht
af7ee6ca78 Fix window size 2016-09-20 19:26:19 +02:00
Baptiste Wicht
bac55fd366 Make ACK more restrictive 2016-09-20 18:28:52 +02:00
Baptiste Wicht
48950530dd Fix process selection
RUNNING processes must be selected as well
2016-09-20 17:41:32 +02:00
Baptiste Wicht
52d02c100e Avoid switching a process from RUNNING to READY 2016-09-20 17:41:29 +02:00
Baptiste Wicht
64b21e10ac Make condition variable stricter
Normally unblock_process_hint should only be used by IRQ handlers
2016-09-20 17:03:32 +02:00
Baptiste Wicht
b4d121f5ba Improve concurrency from IRQ 2016-09-20 16:50:03 +02:00
Baptiste Wicht
a6d4b627a2 Add notes 2016-09-20 16:49:06 +02:00
Baptiste Wicht
5c4061a941 Fix some concurrency issues
In IRQ handlers, the process that we wake up can still be running
Therefore, must use a hint only
2016-09-19 22:42:16 +02:00
Baptiste Wicht
6f10cd5212 Fix memory issues 2016-09-19 22:30:55 +02:00
Baptiste Wicht
90847560e0 Fix retry of transmission 2016-09-19 22:22:41 +02:00
Baptiste Wicht
683e17f3d0 Enhance UDP support 2016-09-19 21:43:11 +02:00
Baptiste Wicht
28dc3fff33 Allow binding to arbitrary port 2016-09-19 20:42:18 +02:00
Baptiste Wicht
eb98f9f472 Fix TCP header length handling 2016-09-19 20:14:44 +02:00
Baptiste Wicht
bb433ba9ba Fix IP header length 2016-09-19 20:13:12 +02:00
Baptiste Wicht
4afeb82c4e Better handling of variable IP header length 2016-09-19 19:59:48 +02:00
Baptiste Wicht
26abd1fd6a Add receive function to stream sockets 2016-09-19 18:43:57 +02:00
Baptiste Wicht
54baef231d Fix warnings 2016-09-19 10:22:48 +02:00
Baptiste Wicht
283e743eb9 Documentation 2016-09-19 10:19:51 +02:00
Baptiste Wicht
ee7914c9e2 Documentation of the network interface 2016-09-19 10:10:14 +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
90b389c1ea Add note 2016-09-18 21:27:49 +02:00
Baptiste Wicht
1e671d61f1 Refactor TCP layer a bit 2016-09-18 21:23:13 +02:00
Baptiste Wicht
2ac2e27fd1 Restore TCP disconnect 2016-09-18 21:22:46 +02:00
Baptiste Wicht
08d4219d4e Cleanup 2016-09-18 21:10:07 +02:00
Baptiste Wicht
ad7a4f41cf Review initialization of local ports 2016-09-18 21:03:13 +02:00
Baptiste Wicht
76b4264192 Cleanup 2016-09-18 20:51:12 +02:00
Baptiste Wicht
0422e1fed8 Continue cleanup network suport 2016-09-18 20:26:37 +02:00
Baptiste Wicht
bbd2f31093 Handle UDP unbind 2016-09-18 19:59:05 +02:00
Baptiste Wicht
623772062b Improve UDP support 2016-09-18 19:46:50 +02:00
Baptiste Wicht
ef8182271e Store the UDP "connections" 2016-09-18 11:24:55 +02:00
Baptiste Wicht
0e5e27c9bb Extract the datastructure for connections 2016-09-18 11:14:24 +02:00
Baptiste Wicht
900b6d3e46 Prepare UDP "connection" handling 2016-09-18 11:04:24 +02:00
Baptiste Wicht
03ee69e9a6 Cleanup 2016-09-17 22:43:48 +02:00
Baptiste Wicht
f2833a522b Remove kernel_prepare_packet from DNS layer
The kernel does not need to send DNS packets. This is up to the user
space.
2016-09-17 22:34:07 +02:00
Baptiste Wicht
0ca2d96100 Disable alpha for now
Everything has been implemented in nslookup / resolve (tlib)
2016-09-17 22:31:41 +02:00
Baptiste Wicht
bf78df3dcf Prepare HTTP support 2016-09-17 22:23:49 +02:00
Baptiste Wicht
7d57d2a019 Cleanup 2016-09-17 21:57:13 +02:00
Baptiste Wicht
f9d9b40920 Review prepare_packet functions 2016-09-17 21:46:46 +02:00
Baptiste Wicht
ddb4486afc Remove legacy alpha functions 2016-09-17 20:37:28 +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
42cb0a97a8 Fix the fix 2016-09-17 20:16:55 +02:00
Baptiste Wicht
0d2c2746b2 Fix possible invalid memory access 2016-09-17 20:01:28 +02:00
Baptiste Wicht
9884934146 Fix bug in fat32::clear 2016-09-17 20:00:27 +02:00
Baptiste Wicht
9d5da4769d Delete all TCP work to the TCP layer 2016-09-17 17:34:13 +02:00