Commit Graph

45 Commits

Author SHA1 Message Date
K. Lange
0db8e34627 net: Handle signals, disconnects while waiting to recv in tcp 2023-04-18 19:40:52 +09:00
K. Lange
b8b69255e3 net: Support ioctl FIONBIO to set non-blocking 2023-04-18 19:40:52 +09:00
K. Lange
df25724fcc net: Support getsockname, getpeername for tcp 2023-04-18 19:40:52 +09:00
K. Lange
18b802d7ee net: Support recvfrom on udp sockets 2022-03-22 15:40:25 +09:00
K. Lange
f6ea45f60e net: Make ICMP sockets more normal 2022-03-22 15:33:59 +09:00
K. Lange
de0bda736a kernel: at least add full lead comments to everything 2021-11-26 11:31:10 +09:00
K. Lange
49342b7996 net: try to actually track received packet sizes... 2021-10-25 18:27:08 +09:00
K. Lange
1ed5ea6404 net: net_udp_send() should return size of data sent 2021-10-22 15:39:21 +09:00
K. Lange
f300386d13 net: initial loopback interface support 2021-10-22 15:36:03 +09:00
K. Lange
7ce16a005d net: Oops, we broke UDP sends 2021-10-13 10:50:05 +09:00
K Lange
751f78ef2f net: don't explode without a network 2021-10-12 21:15:44 +09:00
K Lange
62368bbf44 tcp: Fixup socket receive buffers 2021-09-27 21:09:28 +09:00
K. Lange
aabbde7877 net: another batch of rewrites 2021-09-17 21:03:53 +09:00
K. Lange
88bcaba5e7 ping: shoddy implementation 2021-09-17 12:39:04 +09:00
K. Lange
37df43dcaf tcp: Time out connection after 3 attempts, reduce time between resends 2021-09-09 20:17:29 +09:00
K. Lange
b96af51342 tcp: handle connection refused 2021-09-09 20:13:48 +09:00
K. Lange
ab7e89baa7 net: Handle signals 2021-09-09 20:04:20 +09:00
K. Lange
8269614da7 net: Maybe allow udp binds? 2021-09-09 20:03:58 +09:00
K. Lange
c0cb37f971 net: ongoing network work 2021-09-09 19:42:19 +09:00
K. Lange
e842cd6aa2 ipv4: Don't wait so long for initial arp response 2021-09-09 12:23:11 +09:00
K. Lange
3af34cce04 ipv4: try to arp local stuff? 2021-09-08 19:33:20 +09:00
K. Lange
fd10920585 net: e1000 receive fixes? 2021-09-08 19:11:28 +09:00
K. Lange
2891185341 net: disable debug prints during TCP connection 2021-07-07 19:13:33 +09:00
K. Lange
3fb82c1e85 net: return eof when socket is closed and no data is available 2021-06-19 15:50:14 +09:00
K. Lange
653d6a7035 net: select random sequence number to start 2021-06-19 13:11:43 +09:00
K. Lange
8b6d3784ea tcp: fixup connect retry 2021-06-18 21:42:52 +09:00
K. Lange
ac7c4cd2c5 net: don't dynamically allocate hashmaps and lists? 2021-06-18 21:42:35 +09:00
K. Lange
d5358b7e97 net: fix bad copy in ICMP ECHO 2021-06-18 21:41:17 +09:00
K. Lange
886d1afe9e net: various 2021-06-18 20:08:33 +09:00
K. Lange
71bd62d516 net: actually try to figure out destination hardware addresses 2021-06-18 18:54:34 +09:00
K. Lange
1467ec050e net: various improvements to still terrible network stack 2021-06-16 23:14:58 +09:00
K. Lange
87d6784633 net: silence the network stack unless MISAKA_DEBUG_NET is defined 2021-06-15 19:29:57 +09:00
K. Lange
a4436581ed net: hack up some fin packets 2021-06-15 19:19:54 +09:00
K. Lange
c38143fa81 net: silence more debug messages 2021-06-15 17:16:09 +09:00
K. Lange
fc9ca3d955 net: try to get the package manager working 2021-06-15 17:04:02 +09:00
K. Lange
ef1026fb40 net: complete most of a TCP stream? 2021-06-14 21:35:28 +09:00
K. Lange
23e1b8811e net: we really need some proper blocking queue primitives 2021-06-14 20:13:14 +09:00
K. Lange
ccc6379c39 net: tcp: basic syn/ack receipt? 2021-06-14 18:55:03 +09:00
K. Lange
fdc1f653d6 net: more tcp; timeout nameserver lookups 2021-06-14 15:00:46 +09:00
K. Lange
4d8ee9840a net: hacked up udp stuff, dns resolver 2021-06-14 14:18:23 +09:00
K. Lange
f1efda9e2a net: respond to pings? 2021-06-10 20:48:48 +09:00
K. Lange
394e4e3e0c net: more cleanup 2021-06-10 20:20:55 +09:00
K. Lange
72968ed85c net: arp fixups 2021-06-10 09:09:52 +09:00
K. Lange
edc06e5f0c net: initial raw socket implementation 2021-06-09 08:23:34 +09:00
K. Lange
b35f7ac8c9 misaka: initial merge 2021-05-31 10:54:11 +09:00