~ubuntu-branches/ubuntu/trusty/net-snmp/trusty

« back to all changes in this revision

Viewing changes to include/net-snmp/system/hpux.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "sysv.h"
 
2
 
 
3
#ifdef hpux11
 
4
#define DONT_USE_NLIST 1
 
5
#endif
 
6
 
 
7
#undef TCP_TTL_SYMBOL
 
8
#ifndef hpux11
 
9
#define TCP_TTL_SYMBOL "ipDefaultTTL"
 
10
#endif
 
11
 
 
12
#ifndef hpux11
 
13
/*
 
14
 * hpux specific 
 
15
 */
 
16
#define MIB_IPCOUNTER_SYMBOL "MIB_ipcounter"
 
17
#define MIB_TCPCOUNTER_SYMBOL "MIB_tcpcounter"
 
18
#define MIB_UDPCOUNTER_SYMBOL "MIB_udpcounter"
 
19
#endif
 
20
 
 
21
#undef ARPTAB_SYMBOL
 
22
#ifndef hpux11
 
23
#define ARPTAB_SYMBOL "arphd"
 
24
#endif
 
25
#undef ARPTAB_SIZE_SYMBOL
 
26
#ifndef hpux11
 
27
#define ARPTAB_SIZE_SYMBOL "arptab_nb"
 
28
#endif
 
29
 
 
30
#if defined(hpux10) || defined(hpux11)
 
31
#undef SWDEVT_SYMBOL
 
32
#undef FSWDEVT_SYMBOL
 
33
#undef NSWAPFS_SYMBOL
 
34
#undef NSWAPDEV_SYMBOL
 
35
#undef LOADAVE_SYMBOL
 
36
#undef PROC_SYMBOL
 
37
#undef NPROC_SYMBOL
 
38
#undef TOTAL_MEMORY_SYMBOL
 
39
#undef MBSTAT_SYMBOL
 
40
#endif
 
41
 
 
42
#ifdef hpux11
 
43
#undef IPSTAT_SYMBOL
 
44
#undef TCP_SYMBOL
 
45
#undef TCPSTAT_SYMBOL
 
46
#undef UDB_SYMBOL
 
47
#undef UDPSTAT_SYMBOL
 
48
#undef ICMPSTAT_SYMBOL
 
49
#undef IP_FORWARDING_SYMBOL
 
50
#undef RTTABLES_SYMBOL
 
51
#undef RTHASHSIZE_SYMBOL
 
52
#undef RTHOST_SYMBOL
 
53
#undef RTNET_SYMBOL
 
54
 
 
55
#undef PHYSMEM_SYMBOL
 
56
#endif
 
57
 
 
58
/*
 
59
 * ARP_Scan_Next needs a 4th ifIndex argument 
 
60
 */
 
61
#define ARP_SCAN_FOUR_ARGUMENTS
 
62
 
 
63
#define rt_pad1 rt_refcnt
 
64
 
 
65
#define hpux 1
 
66
 
 
67
/*
 
68
 * disable inline for non-gcc compiler
 
69
 */
 
70
#ifndef __GNUC__
 
71
#  undef NETSNMP_ENABLE_INLINE
 
72
#  define NETSNMP_ENABLE_INLINE 0
 
73
#endif