diff options
author | Anton Kling <anton@kling.gg> | 2023-10-27 22:17:24 +0200 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-10-30 21:49:48 +0100 |
commit | d50d18c9da3a125f0196bec89802dec1c5b0b800 (patch) | |
tree | d9a4e74906c5ab51708d148ad3728cc155a9893d /network/arp.h | |
parent | 4f9ed7087cb58683d9423ab771ad76b31dac5514 (diff) |
Kernel/LibC/Networking: Be able to send UDP messages
Now it can send UDP messages to a specific IP address and libc has
enough to create a basic UDP ECHO server, that is kinda cool.
Diffstat (limited to 'network/arp.h')
-rw-r--r-- | network/arp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/network/arp.h b/network/arp.h index 8efda97..c2beb94 100644 --- a/network/arp.h +++ b/network/arp.h @@ -1,3 +1,4 @@ #include <stdint.h> +int get_mac_from_ip(const uint8_t ip[4], uint8_t mac[6]); void handle_arp(const uint8_t *payload); |