raw: raw sockets

This commit is contained in:
Matheus
2026-09-10 15:59:53 -03:00
parent 895c6d9345
commit 894d9bdaf9
4 changed files with 154 additions and 1 deletions
+3 -1
View File
@@ -1,11 +1,13 @@
#include <kernel/sock.h>
#include <kernel/raw.h>
#include <logging.h>
static socket_t *(*createsocket[])() = {
udp_createsocket,
localsock_createsocket,
tcp_createsocket,
localsock_create_seqpacket_socket
localsock_create_seqpacket_socket,
raw_create_socket
};
socket_t *socket_create(int type) {