Commit Graph

27 Commits

Author SHA1 Message Date
ad140cec3c Implement vsock socket layer 2024-06-11 17:51:36 +08:00
9107a1771e Allow dead_code and unused_variables at file level 2024-06-04 10:25:45 +08:00
b226928349 Remove the timer module from the aster-frame and adjust the related code 2024-05-20 16:09:27 +08:00
d019de29f9 Add abstractions for Clock and Timer 2024-05-20 16:09:27 +08:00
8bcadee540 Extract dentry.rs and mount.rs to path module, rename Dentry and DentryMnt and check usage of pub.
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-05-16 13:30:52 +08:00
8d18a12385 Refactor DentryMnt and fix some issues
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-05-16 13:30:52 +08:00
60fa4d104a Rename struct Path to struct DentryMnt
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-05-16 13:30:52 +08:00
6d486c6c01 Add struct Path for VFS
Signed-off-by: Zhenchen Wang <m202372036@hust.edu.cn>
2024-05-16 13:30:52 +08:00
4e1d98a323 Poll interfaces at the right time 2024-05-15 18:32:02 +08:00
ab87f473c4 Remove pointless error codes in unregister_observer 2024-05-08 15:48:55 +08:00
698e748150 Set socket errors after connecting 2024-04-25 18:40:08 +08:00
27c5c27fd0 Implement non-blocking connect 2024-04-25 18:40:08 +08:00
9211061181 Add proper IO events for unbound sockets 2024-04-25 18:40:08 +08:00
8628543067 Implement (un)register_observer for TCP/UDP 2024-04-25 18:40:08 +08:00
dac41e9a2f Support T:?Sized as type parameter for Mutex, SpinLock, RwLock, and RwMutex 2024-04-17 08:51:59 +08:00
92a9f5616e Fix error codes in bind, listen, and accept 2024-04-12 14:39:54 +08:00
346887ace5 Fix error codes in UDP sendto and recvfrom 2024-04-12 14:39:54 +08:00
00cfdf86c8 Fix error codes in TCP sendto and recvfrom 2024-04-12 14:39:54 +08:00
51080c1925 Fix error codes in get{sock,peer}name 2024-04-12 14:39:54 +08:00
8b094454aa Use From<IpEndpoint> for SockAddr (not TryFrom) 2024-04-12 14:39:54 +08:00
30a2553a70 Fix observer missing in socket for mongoose support 2024-03-27 11:06:17 +08:00
a2e9b0aaae Make background polling thread sleep 2024-03-25 18:32:11 +08:00
c88d10524c Remove AlwaysSome 2024-03-21 10:49:47 +08:00
b49e11a25e Fix all doc warnings 2024-03-17 19:12:33 +08:00
595c6ab288 Replace Poisoned state by takeable crate 2024-03-14 21:22:44 +08:00
a10d04c5f9 Remove Arcs in TCP and UDP states 2024-03-14 21:22:44 +08:00
e3c227ae06 Refactor project structure 2024-02-28 16:30:48 +08:00