#ifndef _NET_ETHERNET_H #define _NET_ETHERNET_H #include <stdint.h> #define ETH_ALEN 6 struct ether_header { uint8_t ether_dhost[ETH_ALEN]; uint8_t ether_shost[ETH_ALEN]; uint16_t ether_type; }; #endif