ReactOS  0.4.13-dev-249-gcba1a2f
ifmib.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_IFMIB_H
19 #define __WINE_IFMIB_H
20 
21 #include <ifdef.h>
22 
23 typedef struct _MIB_IFNUMBER
24 {
27 
28 
29 /* Interface table */
30 
31 #define MAX_INTERFACE_NAME_LEN 256
32 #define MAXLEN_PHYSADDR 8
33 #define MAXLEN_IFDESCR 256
34 
35 typedef struct _MIB_IFROW
36 {
62 
63 typedef struct _MIB_IFTABLE
64 {
68 
69 
70 #endif /* __WINE_IFMIB_H */
DWORD dwDescrLen
Definition: ifmib.h:59
DWORD dwLastChange
Definition: ifmib.h:46
DWORD dwInOctets
Definition: ifmib.h:47
WCHAR wszName[MAX_INTERFACE_NAME_LEN]
Definition: ifmib.h:37
DWORD dwAdminStatus
Definition: ifmib.h:44
DWORD dwInUcastPkts
Definition: ifmib.h:48
DWORD dwInNUcastPkts
Definition: ifmib.h:49
DWORD dwType
Definition: ifmib.h:39
DWORD dwInDiscards
Definition: ifmib.h:50
#define MAXLEN_IFDESCR
Definition: ifmib.h:33
DWORD dwInUnknownProtos
Definition: ifmib.h:52
struct _MIB_IFNUMBER MIB_IFNUMBER
DWORD dwSpeed
Definition: ifmib.h:41
DWORD dwOutDiscards
Definition: ifmib.h:56
#define MAXLEN_PHYSADDR
Definition: ifmib.h:32
DWORD dwValue
Definition: ifmib.h:25
UCHAR bPhysAddr[MAXLEN_PHYSADDR]
Definition: ifmib.h:43
__wchar_t WCHAR
Definition: xmlstorage.h:180
struct _MIB_IFTABLE MIB_IFTABLE
unsigned long DWORD
Definition: ntddk_ex.h:95
BYTE bDescr[MAXLEN_IFDESCR]
Definition: ifmib.h:60
DWORD dwOutUcastPkts
Definition: ifmib.h:54
DWORD dwInErrors
Definition: ifmib.h:51
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _MIB_IFROW * PMIB_IFROW
#define MAX_INTERFACE_NAME_LEN
Definition: ifmib.h:31
DWORD dwPhysAddrLen
Definition: ifmib.h:42
unsigned char BYTE
Definition: mem.h:68
struct _MIB_IFTABLE * PMIB_IFTABLE
DWORD dwOutOctets
Definition: ifmib.h:53
DWORD dwOutQLen
Definition: ifmib.h:58
DWORD dwNumEntries
Definition: ifmib.h:65
enum _INTERNAL_IF_OPER_STATUS INTERNAL_IF_OPER_STATUS
DWORD dwIndex
Definition: ifmib.h:38
INTERNAL_IF_OPER_STATUS dwOperStatus
Definition: ifmib.h:45
struct _MIB_IFNUMBER * PMIB_IFNUMBER
DWORD dwMtu
Definition: ifmib.h:40
DWORD dwOutErrors
Definition: ifmib.h:57
struct _MIB_IFROW MIB_IFROW
DWORD dwOutNUcastPkts
Definition: ifmib.h:55