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

« back to all changes in this revision

Viewing changes to agent/mibgroup/mibII/mibII_common.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
#if HAVE_STDLIB_H
 
2
#include <stdlib.h>
 
3
#endif
 
4
#if HAVE_UNISTD_H
 
5
#include <unistd.h>
 
6
#endif
 
7
 
 
8
#if HAVE_STRING_H
 
9
#include <string.h>
 
10
#else
 
11
#include <strings.h>
 
12
#endif
 
13
#include <sys/types.h>
 
14
#if HAVE_WINSOCK_H
 
15
#include <winsock.h>
 
16
#endif
 
17
 
 
18
#if HAVE_SYS_PARAM_H
 
19
#include <sys/param.h>
 
20
#endif
 
21
 
 
22
#if HAVE_NETINET_IN_H
 
23
#include <netinet/in.h>
 
24
#endif
 
25
#if HAVE_SYS_SYSMP_H
 
26
#include <sys/sysmp.h>
 
27
#endif
 
28
#if HAVE_SYS_TCPIPSTATS_H
 
29
#include <sys/tcpipstats.h>
 
30
#endif
 
31
#if defined(IFNET_NEEDS_KERNEL) && !defined(_KERNEL)
 
32
#define _KERNEL 1
 
33
#define _I_DEFINED_KERNEL
 
34
#endif
 
35
#if HAVE_SYS_SOCKET_H
 
36
#include <sys/socket.h>
 
37
#endif
 
38
#if HAVE_NET_IF_H
 
39
#include <net/if.h>
 
40
#endif
 
41
#if HAVE_NET_IF_VAR_H
 
42
#include <net/if_var.h>
 
43
#endif
 
44
#ifdef _I_DEFINED_KERNEL
 
45
#undef _KERNEL
 
46
#endif
 
47
 
 
48
#if HAVE_SYS_SYSCTL_H
 
49
#include <sys/sysctl.h>
 
50
#endif
 
51
#if HAVE_SYS_STREAM_H
 
52
#include <sys/stream.h>
 
53
#endif
 
54
#if HAVE_NET_ROUTE_H
 
55
#include <net/route.h>
 
56
#endif
 
57
#if HAVE_NETINET_IN_SYSTM_H
 
58
#include <netinet/in_systm.h>
 
59
#endif
 
60
#if HAVE_NETINET_IP_H
 
61
#include <netinet/ip.h>
 
62
#endif
 
63
#if HAVE_SYS_QUEUE_H
 
64
#include <sys/queue.h>
 
65
#endif
 
66
#if HAVE_SYS_SOCKETVAR_H
 
67
#include <sys/socketvar.h>
 
68
#endif
 
69
#if HAVE_NETINET_IP_VAR_H
 
70
#include <netinet/ip_var.h>
 
71
#endif
 
72
#ifdef INET6
 
73
#if HAVE_NETINET6_IP6_VAR_H
 
74
#include <netinet6/ip6_var.h>
 
75
#endif
 
76
#endif
 
77
#if HAVE_NETINET_IN_PCB_H
 
78
#include <netinet/in_pcb.h>
 
79
#endif
 
80
#if HAVE_INET_MIB2_H
 
81
#include <inet/mib2.h>
 
82
#endif
 
83
#if HAVE_DMALLOC_H
 
84
#include <dmalloc.h>
 
85
#endif
 
86
 
 
87
 
 
88
#ifdef solaris2
 
89
#include "kernel_sunos5.h"
 
90
#else
 
91
#include "kernel.h"
 
92
#endif
 
93
#ifdef linux
 
94
#include "kernel_linux.h"
 
95
#endif
 
96
        /* or MIB_xxxCOUNTER_SYMBOL || hpux11 */
 
97
#ifdef hpux
 
98
#include <sys/mib.h>
 
99
#include <netinet/mib_kern.h>
 
100
#endif
 
101
 
 
102
#ifdef cygwin
 
103
#define WIN32
 
104
#include <windows.h>
 
105
#endif