summaryrefslogtreecommitdiffstats
path: root/private/inc/rnraddrs.h
diff options
context:
space:
mode:
authorAdam <you@example.com>2020-05-17 05:51:50 +0200
committerAdam <you@example.com>2020-05-17 05:51:50 +0200
commite611b132f9b8abe35b362e5870b74bce94a1e58e (patch)
treea5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/inc/rnraddrs.h
downloadNT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst
NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip
Diffstat (limited to 'private/inc/rnraddrs.h')
-rw-r--r--private/inc/rnraddrs.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/private/inc/rnraddrs.h b/private/inc/rnraddrs.h
new file mode 100644
index 000000000..7cb760031
--- /dev/null
+++ b/private/inc/rnraddrs.h
@@ -0,0 +1,56 @@
+/***********************************************************************
+* Microsoft RnR Transport location definitions
+*
+* Microsoft Confidential. Copyright 1991-1994 Microsoft Corporation.
+*
+* Component:
+*
+* File: rnraddrs.h
+*
+*
+* Revision History:
+*
+* 26-10-94 Created Arnoldm
+*
+***********************************************************************/
+
+#ifndef __RNRADDRS_H__
+#define __RNRADDRS_H__
+
+//
+// Define the IP multicast address and TTL values
+//
+
+#define IP_S_MEMBERSHIP "224.0.1.24" // the address
+
+//
+// Macro to render the string form into an inet_addr form
+//
+
+#define INET_ADDR_MEMBERSHIP (inet_addr(IP_S_MEMBERSHIP))
+
+//
+// The port we use for locating naming information
+//
+
+#define IPMEMBERWKP 445
+
+//
+// TTL definitions used for locating names
+//
+
+#define TTL_SUBNET_ONLY 1 // no routing
+#define TTL_REASONABLE_REACH 2 // across one router
+#define TTL_MAX_REACH 6 // Default max diameter. This may
+ // be overriden via the Registry.
+
+#define TIMEOUT_MAX_MAX 15000 // max wait time for responses. As with
+ // TTL_MAX_REACH, the registry can supply
+ // a different value
+
+//
+// Definitions for IPX SAP IDs
+//
+
+#define RNRCLASSSAPTYPE 0x64F // official SAP ID
+#endif