4 * Ethernet Packet Interface to NDIS drivers.
6 * Copyright 1998 Equivalence Pty. Ltd.
8 * Original code by William Ingle (address unknown)
11 * Revision 1.4 1998/10/23 04:09:07 robertj
12 * Fixes for NT support.
13 * Allowed both old and new driver by compilation option.
15 * Revision 1.3 1998/10/06 10:24:40 robertj
16 * Fixed hang when using reset command, removed the command!
18 * Revision 1.2 1998/10/01 09:06:29 robertj
19 * NT driver compatibility.
21 * Revision 1.1 1998/09/28 08:10:33 robertj
35 #define FILE_DEVICE_EPACKET 0x8000
37 #define IOCTL_EPACKET_QUERY_OID (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
38 #define IOCTL_EPACKET_SET_OID (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
39 #define IOCTL_EPACKET_STATISTICS (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
40 #define IOCTL_EPACKET_READ (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
41 #define IOCTL_EPACKET_WRITE (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
42 #define IOCTL_EPACKET_BIND (UINT)CTL_CODE(FILE_DEVICE_EPACKET, 7, METHOD_BUFFERED, FILE_ANY_ACCESS)
46 #define FILE_DEVICE_EPACKET 0x1000
48 #define IOCTL_EPACKET_VERSION CTL_CODE(FILE_DEVICE_EPACKET, 0, METHOD_BUFFERED, FILE_ANY_ACCESS)
49 #define IOCTL_EPACKET_BIND CTL_CODE(FILE_DEVICE_EPACKET, 1, METHOD_BUFFERED, FILE_ANY_ACCESS)
50 #define IOCTL_EPACKET_QUERY_OID CTL_CODE(FILE_DEVICE_EPACKET, 2, METHOD_BUFFERED, FILE_ANY_ACCESS)
51 #define IOCTL_EPACKET_SET_OID CTL_CODE(FILE_DEVICE_EPACKET, 3, METHOD_BUFFERED, FILE_ANY_ACCESS)
52 #define IOCTL_EPACKET_READ CTL_CODE(FILE_DEVICE_EPACKET, 4, METHOD_BUFFERED, FILE_ANY_ACCESS)
53 #define IOCTL_EPACKET_WRITE CTL_CODE(FILE_DEVICE_EPACKET, 5, METHOD_BUFFERED, FILE_ANY_ACCESS)
60 typedef struct _EPACKET_OID
{
72 // End of File ////////////////////////////////////////////////////////////////