#ifndef _ADPTIF_H
#define _ADPTIF_H

/* Router interface with IPX stack */

#define  GetNicIdx(pReserved)   ((ULONG)*((USHORT*)(pReserved+2)))

typedef struct _ADDRESS_RESERVED {
    UCHAR Reserved[28];
} ADDRESS_RESERVED, *PADDRESS_RESERVED;

HANDLE WINAPI CreateSocketPort(USHORT);
DWORD WINAPI DeleteSocketPort(HANDLE);
DWORD WINAPI IpxRecvPacket(HANDLE,PUCHAR,ULONG,PADDRESS_RESERVED,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);
DWORD WINAPI IpxSendPacket(HANDLE,ULONG,PUCHAR,ULONG,PADDRESS_RESERVED,LPOVERLAPPED,LPOVERLAPPED_COMPLETION_ROUTINE);

#endif /* _ADPTIF_H */
