jiangjianfeng
|
83b6e2da5c
|
Add basic namespace framework
|
2025-09-02 09:47:41 +08:00 |
Ruihan Li
|
a6d37f0e79
|
Mark all kernel modules as private
|
2025-08-26 18:02:56 +08:00 |
Chen Chengjun
|
b1bbd6c3fe
|
Optimize the initialization logic during Asterinas init phase
|
2025-08-26 14:36:59 +08:00 |
Ruihan Li
|
20893be80e
|
Allow to receive empty SEQPACKET packets
|
2025-08-06 17:17:34 +08:00 |
Chen Chengjun
|
c6a6e66aac
|
Rename Dentry to Path in the other modules and rename some local variables
|
2025-08-06 14:06:39 +08:00 |
jiangjianfeng
|
de97644b4c
|
Move `ThreadFsInfo` from `PosixThread` to `ThreadLocal`
|
2025-08-06 13:38:42 +08:00 |
jiangjianfeng
|
28d5d94c8c
|
Support setting reuseaddr for UDP socket
|
2025-07-28 10:20:50 +08:00 |
jiangjianfeng
|
ff39f6df75
|
Correct the reuseaddr behavior
|
2025-07-28 10:20:50 +08:00 |
Ruihan Li
|
5ccadb6253
|
Support SOCK_SEQPACKET
|
2025-07-23 20:02:15 +08:00 |
Ruihan Li
|
c3572e9548
|
Support SCM_CREDENTIALS
|
2025-07-23 20:02:15 +08:00 |
Ruihan Li
|
ab897ccd2f
|
Support SO_PASSCRED
Co-authored-by: Jianfeng Jiang <jiangjianfeng.jjf@antgroup.com>
|
2025-07-23 20:02:15 +08:00 |
Ruihan Li
|
4d8078166e
|
Send and receive UNIX control messages
|
2025-07-21 10:46:08 +08:00 |
Ruihan Li
|
079be2f30f
|
Enable syscall tests for UNIX sockets
|
2025-06-26 11:11:03 +08:00 |
Ruihan Li
|
bef9304c85
|
Fix minor problems of UNIX sockets
|
2025-06-26 11:11:03 +08:00 |
jiangjianfeng
|
e4c5c36be9
|
Support SO_PEERCRED & SO_PEERGROUPS
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
d7e88f93bd
|
Support SO_ACCEPTCONN
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
ec8beab540
|
Support SO_PRIORITY
|
2025-06-24 17:25:44 +08:00 |
jiangjianfeng
|
8f6bc07b23
|
Support SO_SNDBUFFORCE & SO_RCVBUFFORCE
|
2025-06-24 17:25:44 +08:00 |
Ruihan Li
|
b891d7d215
|
Introduce `Endpoint` and `EndpointState`
|
2025-06-24 15:41:53 +08:00 |
Ruihan Li
|
4a9977d9a7
|
Make zero reads/writes' behavior right
|
2025-06-17 16:09:33 +08:00 |
Ruihan Li
|
837f908690
|
Fix some pollee mistakes
|
2025-06-17 16:06:48 +08:00 |
Marsman1996
|
5a514f6163
|
Check `VSOCK_GLOBAL` when creating `VsockStreamSocket`
|
2025-06-16 14:43:17 +08:00 |
Ruihan Li
|
796635486c
|
Handle broken netlink attributes
|
2025-06-13 11:27:22 +08:00 |
Ruihan Li
|
deab9b6f72
|
Truncate netlink messages
|
2025-06-13 11:27:22 +08:00 |
Ruihan Li
|
0e8106abfa
|
Restrict visibility for TCP internals
|
2025-06-13 11:07:11 +08:00 |
Ruihan Li
|
639bc91e31
|
Clean up public re-exports under `net/`
|
2025-06-13 11:07:11 +08:00 |
jiangjianfeng
|
f0957d2f54
|
Fix clippy warnings in kernel crate
|
2025-06-06 18:22:09 +08:00 |
jiangjianfeng
|
f946f09ee4
|
Implement netlink uevent socket
|
2025-06-06 11:33:09 +08:00 |
Ruihan Li
|
26253829bb
|
Use `datagram_common` in netlink
|
2025-04-23 20:37:40 +08:00 |
Ruihan Li
|
c9f939bcc4
|
Create `datagram_common` and use it in UDP
|
2025-04-23 20:37:40 +08:00 |
Ruihan Li
|
96e62b8fa5
|
Reorder socket locks
|
2025-04-23 20:37:40 +08:00 |
jiangjianfeng
|
961ad73847
|
Poll the correct iface in irq handler
|
2025-04-23 00:32:37 +08:00 |
jiangjianfeng
|
5d84ac7775
|
Generate kernel response to user request
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
3e66732889
|
Parse netlink message
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
ac42e83387
|
Add basic structure for netlink route socket
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
2c41055470
|
Expose more methods on bigtcp iface
|
2025-04-15 17:20:12 +08:00 |
jiangjianfeng
|
7d24e63216
|
Move network polling code to bottom half
|
2025-04-15 14:54:51 +08:00 |
Ruihan Li
|
0bbd56ecf3
|
Don't panic for missing virtio-net
|
2025-04-02 11:33:51 +08:00 |
Ruihan Li
|
d40d452e9d
|
Receive RST packets as `ECONNRESET` errors
|
2025-03-10 18:08:08 +08:00 |
Ruihan Li
|
aa29640ed7
|
Send RST packets when appropriate
|
2025-03-10 18:08:08 +08:00 |
Ruihan Li
|
eef56c770b
|
Simplify the TCP state check
|
2025-03-10 18:08:08 +08:00 |
jiangjianfeng
|
388eec449a
|
Add ip level socket option
|
2025-03-07 13:38:02 +08:00 |
Ruihan Li
|
d37e60d082
|
Report socket errors in `send`/`recv`
|
2025-03-05 19:48:28 +08:00 |
Ruihan Li
|
68cf99993e
|
Remove socket errors from `SocketOptionSet`
|
2025-03-05 19:48:28 +08:00 |
Ruihan Li
|
8187fa2f1b
|
Fix timeout mechanism in `wait_events`
|
2025-02-23 23:11:05 +08:00 |
Zejun Zhao
|
d71771e49a
|
Re-enable CFS
|
2025-02-11 10:51:12 +08:00 |
jiangjianfeng
|
3f951e0c0c
|
Enable gVisor tcp_socket_test
|
2025-02-11 10:50:20 +08:00 |
Ruihan Li
|
418f58ec89
|
Avoid locking twice in UDP `send`
|
2025-02-08 15:44:44 +08:00 |
Ruihan Li
|
6a13787c49
|
Implementing `FileLike` for all `Socket`s
|
2025-02-08 15:44:44 +08:00 |
Ruihan Li
|
3c6737a4ca
|
Revise doc comments for `Socket`
|
2025-02-08 15:44:44 +08:00 |