Make socket port binding a separate step with ipc_netsockbindport() syscall

This commit is contained in:
2025-10-29 22:33:41 +01:00
parent 4417141216
commit d947192475
10 changed files with 54 additions and 15 deletions

View File

@ -5,9 +5,10 @@
#include <stdint.h>
#include "syscall.h"
int32_t SYSCALL3(sys_ipc_netsockmake, net1, proto1, port1);
int32_t SYSCALL2(sys_ipc_netsockmake, net1, proto1);
int32_t SYSCALL2(sys_ipc_netsocklisten, socknum1, maxlisteners1);
int32_t SYSCALL1(sys_ipc_netsockpollev, socknum1);
int32_t SYSCALL1(sys_ipc_netsockdelete, socknum1);
int32_t SYSCALL2(sys_ipc_netsockbindport, socknum1, port1);
#endif // SYSCALL_IPC_NETSOCK_H_