From 81e14b45173bbb0dae73a4dbaaec2d6a300abd8e Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 29 Jul 2025 02:49:09 -0400 Subject: kernel: Add SYS_sendmsg and SYS_recvmsg Signed-off-by: Ian Moffett --- sys/include/sys/socket.h | 3 +++ sys/include/sys/syscall.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'sys/include') diff --git a/sys/include/sys/socket.h b/sys/include/sys/socket.h index de5ab61..5ce1ec6 100644 --- a/sys/include/sys/socket.h +++ b/sys/include/sys/socket.h @@ -164,6 +164,9 @@ scret_t sys_bind(struct syscall_args *scargs); scret_t sys_recv(struct syscall_args *scargs); scret_t sys_send(struct syscall_args *scargs); + +scret_t sys_recvmsg(struct syscall_args *scargs); +scret_t sys_sendmsg(struct syscall_args *scargs); #endif /* _KERNEL */ int socket(int domain, int type, int protocol); diff --git a/sys/include/sys/syscall.h b/sys/include/sys/syscall.h index 51a1016..d79a697 100644 --- a/sys/include/sys/syscall.h +++ b/sys/include/sys/syscall.h @@ -63,6 +63,8 @@ #define SYS_bind 22 #define SYS_recv 23 #define SYS_send 24 +#define SYS_sendmsg 25 +#define SYS_recvmsg 26 #if defined(_KERNEL) /* Syscall return value and arg type */ -- cgit v1.2.3