diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-29 02:49:09 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-29 02:49:09 -0400 |
commit | 81e14b45173bbb0dae73a4dbaaec2d6a300abd8e (patch) | |
tree | a0059eb80dbcbd258c1589940697736df962bbfd /sys/include | |
parent | 71decb670bd84630d3639623891e46f332d58084 (diff) |
kernel: Add SYS_sendmsg and SYS_recvmsg
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/sys/socket.h | 3 | ||||
-rw-r--r-- | sys/include/sys/syscall.h | 2 |
2 files changed, 5 insertions, 0 deletions
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 */ |