From f8e15da04472f5ed6a26e588de4a23cb3e1ba20b Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Thu, 26 Oct 2023 22:35:58 +0200 Subject: Kernel: Fixup rtl8139, add basic ARP and ethernet support Currently the ARP appears to be able to respond to requests. --- network/bytes.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 network/bytes.h (limited to 'network/bytes.h') diff --git a/network/bytes.h b/network/bytes.h new file mode 100644 index 0000000..c291589 --- /dev/null +++ b/network/bytes.h @@ -0,0 +1,5 @@ +#include + +uint16_t ntohs(uint16_t net); +uint16_t htons(uint16_t net); +uint32_t htonl(uint32_t net); -- cgit v1.2.3