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.

56 lines
1.3 KiB

  1. /***********************************************************************
  2. * Microsoft RnR Transport location definitions
  3. *
  4. * Microsoft Confidential. Copyright 1991-1994 Microsoft Corporation.
  5. *
  6. * Component:
  7. *
  8. * File: rnraddrs.h
  9. *
  10. *
  11. * Revision History:
  12. *
  13. * 26-10-94 Created Arnoldm
  14. *
  15. ***********************************************************************/
  16. #ifndef __RNRADDRS_H__
  17. #define __RNRADDRS_H__
  18. //
  19. // Define the IP multicast address and TTL values
  20. //
  21. #define IP_S_MEMBERSHIP "224.0.1.24" // the address
  22. //
  23. // Macro to render the string form into an inet_addr form
  24. //
  25. #define INET_ADDR_MEMBERSHIP (inet_addr(IP_S_MEMBERSHIP))
  26. //
  27. // The port we use for locating naming information
  28. //
  29. #define IPMEMBERWKP 445
  30. //
  31. // TTL definitions used for locating names
  32. //
  33. #define TTL_SUBNET_ONLY 1 // no routing
  34. #define TTL_REASONABLE_REACH 2 // across one router
  35. #define TTL_MAX_REACH 6 // Default max diameter. This may
  36. // be overriden via the Registry.
  37. #define TIMEOUT_MAX_MAX 15000 // max wait time for responses. As with
  38. // TTL_MAX_REACH, the registry can supply
  39. // a different value
  40. //
  41. // Definitions for IPX SAP IDs
  42. //
  43. #define RNRCLASSSAPTYPE 0x64F // official SAP ID
  44. #endif