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.

60 lines
1.7 KiB

  1. /***************************************************************************
  2. *
  3. * ICAIPX.H
  4. *
  5. * This file contains definitions for the ICA 3.0/IPX Protocol (tdipx)
  6. *
  7. **
  8. ****************************************************************************/
  9. #ifndef __ICAIPX_H__
  10. #define __ICAIPX_H__
  11. /*=============================================================================
  12. == Defines
  13. =============================================================================*/
  14. /*
  15. * Initial connection defines
  16. *
  17. * The buffer is 128 bytes big. The first characters are the following
  18. * strings. The version number is returned in byte 64.
  19. */
  20. #define ICA_2_IPX_VERSION 0x01 // ICA 2.0 IPX Connection
  21. #define ICA_3_IPX_VERSION 0x02 // ICA 3.0 IPX Connection
  22. #define CALL_BUFFER_SIZE 128
  23. #define CALL_CLIENT_IPX_VERSION 64
  24. #define CALL_HOST_IPX_VERSION 65
  25. #define CALL_CLIENT_SEQUENCE_ENABLE 66
  26. #define CALL_HOST_SEQUENCE_ENABLE 67
  27. #define CONNECTION_STRING "Citrix IPX Connection Packet"
  28. #define CONNECTION_STRING_REPLY "Reply to Citrix IPX Connection Packet"
  29. /*
  30. * IPX Packet Types
  31. */
  32. #define IPX_TYPE_CONTROL 0x00
  33. #define IPX_TYPE_DATA 0x04
  34. /*
  35. * IPX Control Packet Types.
  36. */
  37. #define IPX_CTRL_PACKET_HANGUP 0xff
  38. #define IPX_CTRL_PACKET_CANCEL 0x01
  39. #define IPX_CTRL_PACKET_PING 0x02
  40. #define IPX_CTRL_PACKET_PING_RESP 0x03
  41. /*
  42. * SAP ID - Citrix Application Server for NT
  43. */
  44. #define CITRIX_APPLICATION_SERVER 0x083d
  45. #define CITRIX_APPLICATION_SERVER_SWAP 0x3d08 // byte swapped
  46. #endif //__ICAIPX_H__