ReactOS  0.4.14-dev-606-g14ebc0b
ipmib.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2003 Juan Lang
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17  */
18 #ifndef __WINE_IPMIB_H
19 #define __WINE_IPMIB_H
20 
21 #include <ifmib.h>
22 #include <nldef.h>
23 
24 /* Flags used in the wType field from MIB_IPADDRROW */
25 
26 #define MIB_IPADDR_PRIMARY 0x0001
27 #define MIB_IPADDR_DYNAMIC 0x0004
28 #define MIB_IPADDR_DISCONNECTED 0x0008
29 #define MIB_IPADDR_DELETED 0x0040
30 #define MIB_IPADDR_TRANSIENT 0x0080
31 
32 /* IPADDR table */
33 
34 typedef struct _MIB_IPADDRROW
35 {
41  unsigned short unused1;
42  unsigned short wType;
44 
45 typedef struct _MIB_IPADDRTABLE
46 {
50 
51 
52 /* IPFORWARD table */
53 
54 typedef struct _MIB_IPFORWARDNUMBER
55 {
58 
59 typedef enum
60 {
66 
68 
69 typedef struct _MIB_IPFORWARDROW
70 {
76  union
77  {
81  union
82  {
94 
95 typedef struct _MIB_IPFORWARDTABLE
96 {
100 
101 
102 /* IPNET table */
103 
104 typedef enum
105 {
111 
112 typedef struct _MIB_IPNETROW
113 {
118  union
119  {
122  } DUMMYUNIONNAME;
124 
125 typedef struct _MIB_IPNETTABLE
126 {
130 
131 
132 /* IP statistics */
133 
134 typedef enum
135 {
139 
140 typedef struct _MIB_IPSTATS
141 {
142  union
143  {
146  } DUMMYUNIONNAME;
170 
171 
172 /* ICMP statistics */
173 
174 typedef struct _MIBICMPSTATS
175 {
190 
191 typedef struct _MIBICMPINFO
192 {
195 } MIBICMPINFO;
196 
197 typedef struct _MIB_ICMP
198 {
200 } MIB_ICMP, *PMIB_ICMP;
201 
202 typedef enum
203 {
218 
219 typedef enum
220 {
234  ND_REDIRECT = 137,
237 
238 typedef struct _MIBICMPSTATS_EX
239 {
244 
245 typedef struct _MIB_ICMP_EX
246 {
250 
251 #endif /* __WINE_IPMIB_H */
struct _MIB_IPSTATS MIB_IPSTATS
DWORD dwEchos
Definition: ipmib.h:183
struct _MIB_IPADDRTABLE MIB_IPADDRTABLE
struct _MIB_IPNETROW * PMIB_IPNETROW
struct _MIB_IPFORWARDNUMBER MIB_IPFORWARDNUMBER
DWORD dwForwardMetric4
Definition: ipmib.h:91
MIBICMPSTATS icmpInStats
Definition: ipmib.h:193
DWORD dwTimestamps
Definition: ipmib.h:185
DWORD dwInReceives
Definition: ipmib.h:148
DWORD dwReasmReqds
Definition: ipmib.h:160
struct _MIBICMPSTATS_EX MIBICMPSTATS_EX
DWORD dwForwardType
Definition: ipmib.h:78
ICMP6_TYPE
Definition: ipmib.h:219
DWORD dwInDiscards
Definition: ipmib.h:153
MIB_IPFORWARD_TYPE
Definition: ipmib.h:59
DWORD dwDefaultTTL
Definition: ipmib.h:147
DWORD dwTimeExcds
Definition: ipmib.h:179
DWORD dwEchoReps
Definition: ipmib.h:184
DWORD dwForwarding
Definition: ipmib.h:144
MIB_IPSTATS_FORWARDING
Definition: ipmib.h:134
struct _MIBICMPINFO MIBICMPINFO
struct _MIB_IPNETTABLE MIB_IPNETTABLE
DWORD dwForwardNextHopAS
Definition: ipmib.h:87
DWORD dwForwardMask
Definition: ipmib.h:72
DWORD dwForwardMetric5
Definition: ipmib.h:92
struct _MIB_IPFORWARDROW * PMIB_IPFORWARDROW
DWORD dwErrors
Definition: ipmib.h:241
NL_ROUTE_PROTOCOL
Definition: nldef.h:56
DWORD dwInHdrErrors
Definition: ipmib.h:149
DWORD dwInDelivers
Definition: ipmib.h:154
struct _MIB_ICMP_EX * PMIB_ICMP_EX
DWORD dwReasmSize
Definition: ipmib.h:40
struct _MIB_IPFORWARDNUMBER * PMIB_IPFORWARDNUMBER
struct _MIB_IPNETTABLE * PMIB_IPNETTABLE
DWORD dwForwDatagrams
Definition: ipmib.h:151
union _MIB_IPFORWARDROW::@2898 DUMMYUNIONNAME2
DWORD dwAddr
Definition: ipmib.h:117
DWORD dwInUnknownProtos
Definition: ipmib.h:152
DWORD dwForwardMetric3
Definition: ipmib.h:90
MIBICMPINFO stats
Definition: ipmib.h:199
DWORD dwNumRoutes
Definition: ipmib.h:168
BYTE bPhysAddr[MAXLEN_PHYSADDR]
Definition: ipmib.h:116
DWORD dwErrors
Definition: ipmib.h:177
MIB_IPNET_TYPE
Definition: ipmib.h:104
DWORD dwForwardAge
Definition: ipmib.h:86
DWORD dwOutDiscards
Definition: ipmib.h:157
DWORD dwNumAddr
Definition: ipmib.h:167
#define MAXLEN_PHYSADDR
Definition: ifmib.h:32
DWORD dwForwardMetric2
Definition: ipmib.h:89
DWORD dwFragCreates
Definition: ipmib.h:165
unsigned short wType
Definition: ipmib.h:42
DWORD dwMsgs
Definition: ipmib.h:240
DWORD dwRoutingDiscards
Definition: ipmib.h:156
DWORD dwTimestampReps
Definition: ipmib.h:186
IF_INDEX dwForwardIfIndex
Definition: ipmib.h:75
DWORD dwParmProbs
Definition: ipmib.h:180
DWORD dwReasmOks
Definition: ipmib.h:161
DWORD dwOutRequests
Definition: ipmib.h:155
MIB_IPFORWARD_PROTO ForwardProto
Definition: ipmib.h:84
MIBICMPSTATS_EX icmpOutStats
Definition: ipmib.h:248
DWORD dwForwardNextHop
Definition: ipmib.h:74
DWORD dwBCastAddr
Definition: ipmib.h:39
DWORD dwReasmFails
Definition: ipmib.h:162
DWORD dwOutNoRoutes
Definition: ipmib.h:158
DWORD dwNumEntries
Definition: ipmib.h:97
struct _MIBICMPSTATS_EX * PMIBICMPSTATS_EX
DWORD dwForwardDest
Definition: ipmib.h:71
unsigned long DWORD
Definition: ntddk_ex.h:95
union _MIB_IPNETROW::@2899 DUMMYUNIONNAME
unsigned short unused1
Definition: ipmib.h:41
struct _MIBICMPSTATS MIBICMPSTATS
enum ICMP6_TYPE * PICMP6_TYPE
DWORD dwRedirects
Definition: ipmib.h:182
struct _MIB_IPADDRROW * PMIB_IPADDRROW
MIBICMPSTATS_EX icmpInStats
Definition: ipmib.h:247
unsigned char BYTE
Definition: mem.h:68
DWORD dwAddrMasks
Definition: ipmib.h:187
MIB_IPSTATS_FORWARDING Forwarding
Definition: ipmib.h:145
struct _MIB_ICMP * PMIB_ICMP
DWORD dwInAddrErrors
Definition: ipmib.h:150
DWORD dwMask
Definition: ipmib.h:38
union _MIB_IPFORWARDROW::@2897 DUMMYUNIONNAME1
struct _MIB_IPNETROW MIB_IPNETROW
struct _MIB_IPFORWARDTABLE * PMIB_IPFORWARDTABLE
MIBICMPSTATS icmpOutStats
Definition: ipmib.h:194
struct _MIBICMPSTATS * PMIBICMPSTATS
DWORD dwForwardPolicy
Definition: ipmib.h:73
enum ICMP4_TYPE * PICMP4_TYPE
struct _MIB_IPADDRROW MIB_IPADDRROW
DWORD dwSrcQuenchs
Definition: ipmib.h:181
struct _MIB_IPADDRTABLE * PMIB_IPADDRTABLE
DWORD dwNumEntries
Definition: ipmib.h:47
NL_ROUTE_PROTOCOL MIB_IPFORWARD_PROTO
Definition: ipmib.h:67
enum MIB_IPSTATS_FORWARDING * PMIB_IPSTATS_FORWARDING
struct _MIB_ICMP MIB_ICMP
union _MIB_IPSTATS::@2900 DUMMYUNIONNAME
struct _MIB_IPFORWARDTABLE MIB_IPFORWARDTABLE
DWORD dwPhysAddrLen
Definition: ipmib.h:115
ICMP4_TYPE
Definition: ipmib.h:202
DWORD dwFragOks
Definition: ipmib.h:163
IF_INDEX dwIndex
Definition: ipmib.h:37
DWORD dwNumIf
Definition: ipmib.h:166
DWORD dwReasmTimeout
Definition: ipmib.h:159
NET_IFINDEX IF_INDEX
Definition: ifdef.h:27
struct _MIB_IPFORWARDROW MIB_IPFORWARDROW
DWORD dwDestUnreachs
Definition: ipmib.h:178
DWORD dwAddrMaskReps
Definition: ipmib.h:188
struct _MIB_IPSTATS * PMIB_IPSTATS
DWORD dwForwardProto
Definition: ipmib.h:83
DWORD dwAddr
Definition: ipmib.h:36
MIB_IPNET_TYPE Type
Definition: ipmib.h:121
DWORD dwFragFails
Definition: ipmib.h:164
struct _MIB_ICMP_EX MIB_ICMP_EX
DWORD dwIndex
Definition: ipmib.h:114
DWORD dwType
Definition: ipmib.h:120
DWORD dwForwardMetric1
Definition: ipmib.h:88
MIB_IPFORWARD_TYPE ForwardType
Definition: ipmib.h:79
DWORD dwNumEntries
Definition: ipmib.h:127
DWORD dwMsgs
Definition: ipmib.h:176
DWORD rgdwTypeCount[256]
Definition: ipmib.h:242