From 5026f823fa2708404302aa59d03401635a435c0b Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Fri, 27 Oct 2023 00:48:21 +0200 Subject: Kernel/Networking/LibC: Add syscalls and libc functions for UDP This allows a UDP server to be created in userland and read data. Currently it can't send data and is very very simplistic. Code is horrible and probably needs some fixing until it can be further built upon. --- network/udp.h | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 network/udp.h (limited to 'network/udp.h') diff --git a/network/udp.h b/network/udp.h new file mode 100644 index 0000000..c6ac753 --- /dev/null +++ b/network/udp.h @@ -0,0 +1,3 @@ +#include + +void handle_udp(const uint8_t *payload, uint32_t packet_length); -- cgit v1.2.3