summaryrefslogtreecommitdiffstats
path: root/private/inc/rnraddrs.h
blob: 7cb76003171c62397f738ff85fe62a61cd08cfec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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