diff options
author | Anton Kling <anton@kling.gg> | 2024-06-11 13:33:01 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-06-11 15:18:40 +0200 |
commit | abf9cf5bec2712465400417cc8232fee2d1cce28 (patch) | |
tree | 3e43f9cc8e194aa20de6e2e5a1916a10ced69f44 /kernel/network/udp.c | |
parent | b118759096ef08bfcc003933059de46a7a964ad7 (diff) |
TCP stuff
Diffstat (limited to 'kernel/network/udp.c')
-rw-r--r-- | kernel/network/udp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/network/udp.c b/kernel/network/udp.c index 724c97a..0c8d6e9 100644 --- a/kernel/network/udp.c +++ b/kernel/network/udp.c @@ -24,7 +24,8 @@ void send_udp_packet(struct sockaddr_in *src, const struct sockaddr_in *dst, kfree(packet); } -void handle_udp(ipv4_t src_ip, const u8 *payload, u32 packet_length) { +void handle_udp(ipv4_t src_ip, ipv4_t dst_ip, const u8 *payload, u32 packet_length) { + (void)dst_ip; if (packet_length < sizeof(u16[4])) { return; } |