From 4f9ed7087cb58683d9423ab771ad76b31dac5514 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Fri, 27 Oct 2023 19:41:26 +0200 Subject: Kernel: Expose source information of incoming UDP packets --- userland/libc/include/socket.h | 1 + 1 file changed, 1 insertion(+) (limited to 'userland') diff --git a/userland/libc/include/socket.h b/userland/libc/include/socket.h index c4a3e73..2bf6345 100644 --- a/userland/libc/include/socket.h +++ b/userland/libc/include/socket.h @@ -40,6 +40,7 @@ struct sockaddr_in { sa_family_t sin_family; union { uint32_t s_addr; + uint8_t a[4]; } sin_addr; uint16_t sin_port; }; -- cgit v1.2.3