eth: process function

This commit is contained in:
Matheus
2024-03-30 18:40:25 -03:00
parent 52ab80bc9a
commit 0a96bcf68d
4 changed files with 48 additions and 13 deletions
+3
View File
@@ -2,6 +2,7 @@
#define _ETH_H
#include <stdint.h>
#include <kernel/net.h>
typedef struct {
uint8_t destination[6];
@@ -12,4 +13,6 @@ typedef struct {
#define ETH_PROTO_IP 0x0800
#define ETH_PROTO_ARP 0x0806
void eth_process(netdev_t *netdev, void *buffer);
#endif