1 | /* WINE ipifcons.h
|
---|
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 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef WINE_IPIFCONS_H__
|
---|
29 | #define WINE_IPIFCONS_H__
|
---|
30 |
|
---|
31 | #define IF_TYPE_OTHER 1
|
---|
32 | #define IF_TYPE_REGULAR_1822 2
|
---|
33 | #define IF_TYPE_HDH_1822 3
|
---|
34 | #define IF_TYPE_DDN_X25 4
|
---|
35 | #define IF_TYPE_RFC877_X25 5
|
---|
36 | #define IF_TYPE_ETHERNET_CSMACD 6
|
---|
37 | #define IF_TYPE_IS088023_CSMACD 7
|
---|
38 | #define IF_TYPE_ISO88024_TOKENBUS 8
|
---|
39 | #define IF_TYPE_ISO88025_TOKENRING 9
|
---|
40 | #define IF_TYPE_ISO88026_MAN 10
|
---|
41 | #define IF_TYPE_STARLAN 11
|
---|
42 | #define IF_TYPE_PROTEON_10MBIT 12
|
---|
43 | #define IF_TYPE_PROTEON_80MBIT 13
|
---|
44 | #define IF_TYPE_HYPERCHANNEL 14
|
---|
45 | #define IF_TYPE_FDDI 15
|
---|
46 | #define IF_TYPE_LAP_B 16
|
---|
47 | #define IF_TYPE_SDLC 17
|
---|
48 | #define IF_TYPE_DS1 18
|
---|
49 | #define IF_TYPE_E1 19
|
---|
50 | #define IF_TYPE_BASIC_ISDN 20
|
---|
51 | #define IF_TYPE_PRIMARY_ISDN 21
|
---|
52 | #define IF_TYPE_PROP_POINT2POINT_SERIAL 22
|
---|
53 | #define IF_TYPE_PPP 23
|
---|
54 | #define IF_TYPE_SOFTWARE_LOOPBACK 24
|
---|
55 | #define IF_TYPE_EON 25
|
---|
56 | #define IF_TYPE_ETHERNET_3MBIT 26
|
---|
57 | #define IF_TYPE_NSIP 27
|
---|
58 | #define IF_TYPE_SLIP 28
|
---|
59 |
|
---|
60 | #define MIB_IF_TYPE_OTHER 1
|
---|
61 | #define MIB_IF_TYPE_ETHERNET 6
|
---|
62 | #define MIB_IF_TYPE_TOKENRING 9
|
---|
63 | #define MIB_IF_TYPE_FDDI 15
|
---|
64 | #define MIB_IF_TYPE_PPP 23
|
---|
65 | #define MIB_IF_TYPE_LOOPBACK 24
|
---|
66 | #define MIB_IF_TYPE_SLIP 28
|
---|
67 |
|
---|
68 | #define MIB_IF_ADMIN_STATUS_UP 1
|
---|
69 | #define MIB_IF_ADMIN_STATUS_DOWN 2
|
---|
70 | #define MIB_IF_ADMIN_STATUS_TESTING 3
|
---|
71 |
|
---|
72 | #define MIB_IF_OPER_STATUS_NON_OPERATIONAL 0
|
---|
73 | #define MIB_IF_OPER_STATUS_UNREACHABLE 1
|
---|
74 | #define MIB_IF_OPER_STATUS_DISCONNECTED 2
|
---|
75 | #define MIB_IF_OPER_STATUS_CONNECTING 3
|
---|
76 | #define MIB_IF_OPER_STATUS_CONNECTED 4
|
---|
77 | #define MIB_IF_OPER_STATUS_OPERATIONAL 5
|
---|
78 |
|
---|
79 | #endif /* WINE_ROUTING_IPIFCONS_H__ */
|
---|