Leaked source code of windows server 2003
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.

66 lines
1.2 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. clustdi.h
  5. Abstract:
  6. TDI definitions for the Cluster Network Protocol suite.
  7. Author:
  8. Mike Massa (mikemas) 21-Feb-1997
  9. Environment:
  10. User Mode.
  11. Revision History:
  12. --*/
  13. #ifndef _CLUSTDI_INCLUDED
  14. #define _CLUSTDI_INCLUDED
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif // __cplusplus
  18. #define TDI_ADDRESS_TYPE_CLUSTER ((USHORT) 24)
  19. #include <packon.h>
  20. typedef struct _TDI_ADDRESS_CLUSTER {
  21. USHORT Port;
  22. ULONG Node;
  23. ULONG ReservedMBZ;
  24. } TDI_ADDRESS_CLUSTER, *PTDI_ADDRESS_CLUSTER;
  25. #define TDI_ADDRESS_LENGTH_CLUSTER sizeof(TDI_ADDRESS_CLUSTER)
  26. typedef struct _TA_ADDRESS_CLUSTER {
  27. LONG TAAddressCount;
  28. struct _AddrCluster {
  29. USHORT AddressLength; // length in bytes of this address == 8
  30. USHORT AddressType; // this will == TDI_ADDRESS_TYPE_CLUSTER
  31. TDI_ADDRESS_CLUSTER Address[1];
  32. } Address [1];
  33. } TA_CLUSTER_ADDRESS, *PTA_CLUSTER_ADDRESS;
  34. #include <packoff.h>
  35. #ifdef __cplusplus
  36. }
  37. #endif // __cplusplus
  38. #endif // ifndef _CLUSTDI_INCLUDED