summaryrefslogtreecommitdiff
path: root/network/udp.h
diff options
context:
space:
mode:
authorAnton Kling <anton@kling.gg>2023-10-27 19:41:26 +0200
committerAnton Kling <anton@kling.gg>2023-10-30 21:49:48 +0100
commit4f9ed7087cb58683d9423ab771ad76b31dac5514 (patch)
tree5364217b7d491c4321830025020ab13513067cb1 /network/udp.h
parent715274d3a77c58510b97c3f87cd604dde9de7a4f (diff)
Kernel: Expose source information of incoming UDP packets
Diffstat (limited to 'network/udp.h')
-rw-r--r--network/udp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/udp.h b/network/udp.h
index c6ac753..8278b87 100644
--- a/network/udp.h
+++ b/network/udp.h
@@ -1,3 +1,3 @@
#include <stdint.h>
-void handle_udp(const uint8_t *payload, uint32_t packet_length);
+void handle_udp(uint8_t src_ip[4], const uint8_t *payload, uint32_t packet_length);