mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 20:58:22 +00:00
eth: process function
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user