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 void Link_WatchDevice(tAdapter *Adapter);
18 typedef struct sEthernetHeader tEthernetHeader;
19 typedef struct sEthernetFooter tEthernetFooter;
20 struct sEthernetHeader {
27 struct sEthernetFooter {