3 * - Link/Media Layer Header
8 #include "include/buffer.h"
11 typedef void (*tPacketCallback)(tAdapter *Interface, tMacAddr From, int Length, void *Buffer);
13 extern void Link_RegisterType(Uint16 Type, tPacketCallback Callback);
14 extern void Link_SendPacket(tAdapter *Interface, Uint16 Type, tMacAddr To, tIPStackBuffer *Buffer);
15 extern int Link_HandlePacket(tAdapter *Adapter, tIPStackBuffer *Buffer);
16 extern void Link_WatchDevice(tAdapter *Adapter);
19 typedef struct sEthernetHeader tEthernetHeader;
20 typedef struct sEthernetFooter tEthernetFooter;
21 struct sEthernetHeader {
28 struct sEthernetFooter {