/* include this file along with amipx_protos.h and amipx_pragmas.h,
   if you need them
*/
#ifndef _AMIPX_H_
#define _AMIPX_H_


#include <exec/libraries.h>

struct AMIPX_Address {
 BYTE Network[4];
 BYTE Node[6];
 BYTE Socket[2];
};

struct AMIPX_PacketHeader {
 BYTE Checksum[2];
 BYTE Length[2];
 BYTE Tc;
 BYTE Type;
 struct AMIPX_Address Dst;
 struct AMIPX_Address Src;
};

struct AMIPX_Fragment {
 BYTE *FragData;
 UWORD FragSize;
};

struct AMIPX_ECB {
 APTR Link;             /* Amipx does not use this   */
 APTR ESR;
 BYTE InUse;
 BYTE CompletionCode;   /* non-zero in case of error */
 WORD Socket;
 BYTE IPXWork[4];	/* private! */
 BYTE DWork[12];        /* private! */
 BYTE ImmedAddr[6];
 WORD FragCount;
 struct AMIPX_Fragment Fragment[1]; // first fragment - more than one allowed
};


struct AMIPX_Library {                  
 struct Library ml_Lib;
};
   


#endif
