net: Implement shutdown() interface and tcp shutdown

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
This commit is contained in:
Zhe Weng
2023-01-18 18:28:32 +08:00
committed by Xiang Xiao
parent fcdba7a3ef
commit 8819eeaf15
14 changed files with 413 additions and 82 deletions
+1
View File
@@ -366,6 +366,7 @@ SYSCALL_LOOKUP(munmap, 2)
SYSCALL_LOOKUP(sendto, 6)
SYSCALL_LOOKUP(sendmsg, 3)
SYSCALL_LOOKUP(setsockopt, 5)
SYSCALL_LOOKUP(shutdown, 2)
SYSCALL_LOOKUP(socket, 3)
SYSCALL_LOOKUP(socketpair, 4)
#endif