aboutsummaryrefslogtreecommitdiff
path: root/libc/inc/sys.h
diff options
context:
space:
mode:
authorMarvin Borner2020-11-18 13:49:19 +0100
committerMarvin Borner2020-11-18 13:49:19 +0100
commit431c88102153b8b41a15a1105e291ecf161c030e (patch)
tree63063babd988284871db7c27dbb96025d00f2444 /libc/inc/sys.h
parentcc85ffd8a1c4703051655c7f5727157e7e1ce96a (diff)
Started libnet
Diffstat (limited to 'libc/inc/sys.h')
-rw-r--r--libc/inc/sys.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/inc/sys.h b/libc/inc/sys.h
index 86f530b..4e52ac1 100644
--- a/libc/inc/sys.h
+++ b/libc/inc/sys.h
@@ -21,7 +21,11 @@ enum sys {
SYS_UNREGISTER, // Unregister event
SYS_SEND, // Send message to process
SYS_RECEIVE, // Receive message (non-blocking/sync)
- SYS_GETPID // Get the process ID
+ SYS_GETPID, // Get the process ID
+ SYS_NET_OPEN, // Open network socket
+ SYS_NET_CLOSE, // Close network socket
+ SYS_NET_CONNECT, // Connect to destination
+ SYS_NET_SEND, // Send to socket
};
enum event_type { EVENT_KEYBOARD, EVENT_MOUSE, EVENT_MAX };