1 /***********************************************************************\
2 *                               ipifcons.d                              *
3 *                                                                       *
4 *                       Windows API header module                       *
5 *                                                                       *
6 *                 Translated from MinGW Windows headers                 *
7 *                           by Stewart Gordon                           *
8 *                                                                       *
9 *                       Placed into public domain                       *
10 \***********************************************************************/
11 module win32.ipifcons;
12 
13 // FIXME: check types of constants
14 
15 enum {
16 	MIB_IF_ADMIN_STATUS_UP = 1,
17 	MIB_IF_ADMIN_STATUS_DOWN,
18 	MIB_IF_ADMIN_STATUS_TESTING,
19 }
20 
21 enum {
22 	MIB_IF_OPER_STATUS_NON_OPERATIONAL,
23 	MIB_IF_OPER_STATUS_UNREACHABLE,
24 	MIB_IF_OPER_STATUS_DISCONNECTED,
25 	MIB_IF_OPER_STATUS_CONNECTING,
26 	MIB_IF_OPER_STATUS_CONNECTED,
27 	MIB_IF_OPER_STATUS_OPERATIONAL // = 5
28 }
29 
30 enum {
31 	MIB_IF_TYPE_OTHER     =  1,
32 	MIB_IF_TYPE_ETHERNET  =  6,
33 	MIB_IF_TYPE_TOKENRING =  9,
34 	MIB_IF_TYPE_FDDI      = 15,
35 	MIB_IF_TYPE_PPP       = 23,
36 	MIB_IF_TYPE_LOOPBACK  = 24,
37 	MIB_IF_TYPE_SLIP      = 28
38 }