Commit Graph

35 Commits

Author SHA1 Message Date
Mark 894c2de44c Support for select() on Unix sockets 2020-08-05 01:58:21 +03:00
Mark f22591ad93 Move to cmake build system 2020-07-11 22:41:23 +03:00
Mark a6ccddd695 Add (sketchy) unix domain sockets 2020-07-07 15:42:51 +03:00
Mark ecf4262646 Separate notions of "thread" and "process" 2020-07-05 23:16:10 +03:00
Mark f05e7d2640 Remove old networking stack 2020-06-13 00:33:10 +03:00
Mark 30f027fd2d Proper port support for UDP 2020-06-01 18:41:13 +03:00
Mark c66f205712 Bring back TCP reset code 2020-06-01 12:38:50 +03:00
Mark 5d239311d7 Fix huge delays in packet rx handling 2020-06-01 12:24:40 +03:00
Mark 3621a567a8 Move amd64_* memory functions to mm_ namespace 2020-04-07 15:13:37 +03:00
Mark 31f124f45b inet: filter accepted packets - only accept broad/unicast 2020-03-31 12:23:35 +03:00
Mark 522a5cc9d6 Add select() on sockets 2020-03-31 11:30:26 +03:00
Mark 55d2efda8e Reworked how waiting/select()ing FDs works 2020-03-30 18:08:23 +03:00
Mark 37ed963272 Clean implementation of socket classes 2020-03-30 10:59:25 +03:00
Mark 3da77fbc1a Add packet queueing for tx 2020-03-26 17:04:23 +02:00
Mark f03676c500 tcp: treat ACKs as data, too 2020-03-25 10:48:29 +02:00
Mark 3905d0ca1a Clean up TCP code 2020-03-24 17:03:19 +02:00
Mark 282ebe0e5e tcp: Test socket establishing, no data transfer yet 2020-03-23 14:05:57 +02:00
Mark fd235dbb86 Add "connection reset" TCP handler for incoming SYN frames 2020-03-23 13:04:49 +02:00
Mark 7be54602f5 Add queue locks, fix raw socket close not cleaning up properly 2020-03-21 00:26:11 +02:00
Mark 874dd362ba Raw socket recv 2020-03-21 00:01:04 +02:00
Mark 8954fa8fef Split packet queues 2020-03-20 22:12:51 +02:00
Mark 7002562146 Rename "family" field in socket 2020-03-20 21:36:19 +02:00
Mark 65b663af11 Add socket close() 2020-03-20 21:28:03 +02:00
Mark 3162ab64aa Fix invalid packet size (rx) from rtl8139 due to padding 2020-03-20 21:01:02 +02:00
Mark 5ebea3ca13 Report inaddr via netctl() 2020-03-20 19:46:51 +02:00
Mark 22b201c6c0 Add UDP broadcast and setsockopt() 2020-03-20 18:51:22 +02:00
Mark f01a5c79ed arp: queue packets for sending while pending resolution 2020-03-20 17:04:11 +02:00
Mark 1ef3a5d248 Add sockets and UDP sendto() 2020-03-20 16:37:52 +02:00
Mark 857a443c2e Add icmp reply and echo handling 2020-03-20 14:07:43 +02:00
Mark 425dbdc114 Add ARP tables and reply function 2020-03-20 12:52:30 +02:00
Mark 1be037f3c6 Add netctl() 2020-03-20 12:08:48 +02:00
Mark 44e2372fa8 Add "network interface" structure 2020-03-20 11:44:26 +02:00
Mark 8d6ecc7134 Add ARP stub 2020-03-20 11:11:14 +02:00
Mark 8c6a8beeaf Add packet (Rx) queueing 2020-03-20 10:42:02 +02:00
Mark 86eb7c9282 Add RTL8139 receive and network daemon with stub handler 2020-03-19 16:41:05 +02:00