diff options
author | Anton Kling <anton@kling.gg> | 2023-10-27 19:41:26 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-30 21:49:48 +0100 |
commit | 4f9ed7087cb58683d9423ab771ad76b31dac5514 (patch) | |
tree | 5364217b7d491c4321830025020ab13513067cb1 /userland | |
parent | 715274d3a77c58510b97c3f87cd604dde9de7a4f (diff) |
Kernel: Expose source information of incoming UDP packets
Diffstat (limited to 'userland')
-rw-r--r-- | userland/libc/include/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |