and added files
[bcm963xx.git] / userapps / opensource / net-snmp / include / net-snmp / system / dynix.h
1 /*
2  * dynix.h
3  * 
4  * Date Created: Sat Jan 12 10:50:50 BST 2002
5  * Author:       Patrick Hess  <phess@hds.com>
6  */
7
8 #include "generic.h"
9
10 /*
11  * from s/sysv.h 
12  */
13 #define SYSV 1
14
15 /*
16  * to make these changes work... 
17  */
18 /*
19  * maybe I should have used _SEQUENT_ in all this code..  dunno 
20  */
21 #define dynix 1
22
23 #undef TOTAL_MEMORY_SYMBOL
24 #undef MBSTAT_SYMBOL
25
26 /*
27  * Not enough alcohool in bloodstream [fmc] 
28  */
29 #ifdef NPROC_SYMBOL
30 #undef NPROC_SYMBOL
31 #endif
32 /*
33  * there might be a way to get NPROC...  this might work..  might not 
34  */
35 /*
36  * #define NPROC_SYMBOL "procNPROC" 
37  */
38 #ifdef PROC_SYMBOL
39 #undef PROC_SYMBOL
40 #endif
41
42 /*
43  * stole these from Solaris... 
44  */
45 #ifndef TCPTV_MIN
46 #define TCPTV_MIN       (1*PR_SLOWHZ)   /* minimum allowable value */
47 #endif
48 #ifndef TCPTV_REXMTMAX
49 #define TCPTV_REXMTMAX  (64*PR_SLOWHZ)  /* max allowable REXMT value */
50 #endif
51
52 /*
53  * some of the system headers wanna include asm code...  let's not 
54  */
55 #define __NO_ASM_MACRO 1
56
57 /*
58  * Dynix doesn't seem to set this.  Guess I'll set it here 
59  */
60 #ifndef L_SET
61 #define L_SET   SEEK_SET
62 #endif
63
64
65 /*
66  * configure fails to detect these properly 
67  */
68 /*
69  * lives in libnsl.so 
70  */
71 #define HAVE_GETHOSTNAME 1
72
73 /*
74  * outta place...  lives in /usr/include/sys 
75  */
76 #define  HAVE_NET_IF_DL_H 1
77
78 /*
79  * got this library...  dunno why configure didn't find it 
80  */
81 #define HAVE_LIBNSL 1
82
83 /*
84  * My Dynix box has nearly 400 filesystems and well over 50 disks 
85  */
86 /*
87  * #define MAXDISKS 500  
88  */
89
90 /*
91  * lives in libsocket.so 
92  */
93 #define HAVE_GETHOSTBYNAME 1
94
95 /*
96  * lives in libsocket.so 
97  */
98 #define HAVE_GETSERVBYNAME 1
99
100 /*
101  * Might as well include this here, since a significant
102  * number of files seem to need it.  DTS 
103  */
104 #if HAVE_SYS_SELECT_H
105 #include <sys/select.h>
106 #endif