Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
908 B

  1. /*++
  2. Copyright (c) 1989-1993 Microsoft Corporation
  3. Module Name:
  4. mac.h
  5. Abstract:
  6. This header file defines manifest constants and necessary macros for use
  7. by transports dealing with multiple MAC cards through the NDIS interface.
  8. Revision History:
  9. --*/
  10. //
  11. // We need this to define information about the MAC. Note that
  12. // it is a strange structure in that the first four elements
  13. // are for use internally by the mac.c routines, while the
  14. // DeviceContext knows about and uses the last two.
  15. //
  16. typedef struct _NDIS_INFORMATION {
  17. NDIS_MEDIUM MediumType;
  18. NDIS_MEDIUM RealMediumType;
  19. BOOLEAN SourceRouting;
  20. BOOLEAN MediumAsync;
  21. UCHAR BroadcastMask;
  22. ULONG CopyLookahead;
  23. ULONG MacOptions;
  24. ULONG MinHeaderLength;
  25. ULONG MaxHeaderLength;
  26. } NDIS_INFORMATION, * PNDIS_INFORMATION;
  27. #define TR_SOURCE_ROUTE_FLAG 0x80
  28. #define ARCNET_PROTOCOL_ID 0xFA