summaryrefslogtreecommitdiff
path: root/src/include/if_ether.h
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-09-25 14:23:36 -0400
committerIan Moffett <ian@osmora.org>2025-09-25 14:23:36 -0400
commitafcdcf6ae6d95eb828733994c7de30f8ab095dcc (patch)
treee45ee28dc7bff6da7ab0d5f6a3e2b27c6ac36aa8 /src/include/if_ether.h
parent25872d593fc4f9d2845ef6f676ce4ec3d55e9aac (diff)
dgram: Add support for data reception
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/include/if_ether.h')
-rw-r--r--src/include/if_ether.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/if_ether.h b/src/include/if_ether.h
index 0cdf2fa..4da9b7a 100644
--- a/src/include/if_ether.h
+++ b/src/include/if_ether.h
@@ -33,8 +33,8 @@
#include <stdint.h>
#define HW_ADDR_LEN 6
-#define PROTO_IPV4 0x0800
-#define PROTO_ARP 0x0806
+#define PROTO_ID 0x88B5
+#define MAC_BROADCAST 0xFFFFFFFFFFFF
typedef uint64_t mac_addr_t;