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 | #define IF_TYPE_ULTRA 29
|
---|
60 | #define IF_TYPE_DS3 30
|
---|
61 | #define IF_TYPE_SIP 31
|
---|
62 | #define IF_TYPE_FRAMERELAY 32
|
---|
63 | #define IF_TYPE_RS232 33
|
---|
64 | #define IF_TYPE_PARA 34
|
---|
65 | #define IF_TYPE_ARCNET 35
|
---|
66 | #define IF_TYPE_ARCNET_PLUS 36
|
---|
67 | #define IF_TYPE_ATM 37
|
---|
68 | #define IF_TYPE_MIO_X25 38
|
---|
69 | #define IF_TYPE_SONET 39
|
---|
70 | #define IF_TYPE_X25_PLE 40
|
---|
71 | #define IF_TYPE_ISO88022_LLC 41
|
---|
72 | #define IF_TYPE_LOCALTALK 42
|
---|
73 | #define IF_TYPE_SMDS_DXI 43
|
---|
74 | #define IF_TYPE_FRAMERELAY_SERVICE 44
|
---|
75 | #define IF_TYPE_V35 45
|
---|
76 | #define IF_TYPE_HSSI 46
|
---|
77 | #define IF_TYPE_HIPPI 47
|
---|
78 | #define IF_TYPE_MODEM 48
|
---|
79 | #define IF_TYPE_AAL5 49
|
---|
80 | #define IF_TYPE_SONET_PATH 50
|
---|
81 | #define IF_TYPE_SONET_VT 51
|
---|
82 | #define IF_TYPE_SMDS_ICIP 52
|
---|
83 | #define IF_TYPE_PROP_VIRTUAL 53
|
---|
84 | #define IF_TYPE_PROP_MULTIPLEXOR 54
|
---|
85 | #define IF_TYPE_IEEE80212 55
|
---|
86 | #define IF_TYPE_FIBRECHANNEL 56
|
---|
87 | #define IF_TYPE_HIPPIINTERFACE 57
|
---|
88 | #define IF_TYPE_FRAMERELAY_INTERCONNECT 58
|
---|
89 | #define IF_TYPE_AFLANE_8023 59
|
---|
90 | #define IF_TYPE_AFLANE_8025 60
|
---|
91 | #define IF_TYPE_CCTEMUL 61
|
---|
92 | #define IF_TYPE_FASTETHER 62
|
---|
93 | #define IF_TYPE_ISDN 63
|
---|
94 | #define IF_TYPE_V11 64
|
---|
95 | #define IF_TYPE_V36 65
|
---|
96 | #define IF_TYPE_G703_64K 66
|
---|
97 | #define IF_TYPE_G703_2MB 67
|
---|
98 | #define IF_TYPE_QLLC 68
|
---|
99 | #define IF_TYPE_FASTETHER_FX 69
|
---|
100 | #define IF_TYPE_CHANNEL 70
|
---|
101 | #define IF_TYPE_IEEE80211 71
|
---|
102 | #define IF_TYPE_IBM370PARCHAN 72
|
---|
103 | #define IF_TYPE_ESCON 73
|
---|
104 | #define IF_TYPE_DLSW 74
|
---|
105 | #define IF_TYPE_ISDN_S 75
|
---|
106 | #define IF_TYPE_ISDN_U 76
|
---|
107 | #define IF_TYPE_LAP_D 77
|
---|
108 | #define IF_TYPE_IPSWITCH 78
|
---|
109 | #define IF_TYPE_RSRB 79
|
---|
110 | #define IF_TYPE_ATM_LOGICAL 80
|
---|
111 | #define IF_TYPE_DS0 81
|
---|
112 | #define IF_TYPE_DS0_BUNDLE 82
|
---|
113 | #define IF_TYPE_BSC 83
|
---|
114 | #define IF_TYPE_ASYNC 84
|
---|
115 | #define IF_TYPE_CNR 85
|
---|
116 | #define IF_TYPE_ISO88025R_DTR 86
|
---|
117 | #define IF_TYPE_EPLRS 87
|
---|
118 | #define IF_TYPE_ARAP 88
|
---|
119 | #define IF_TYPE_PROP_CNLS 89
|
---|
120 | #define IF_TYPE_HOSTPAD 90
|
---|
121 | #define IF_TYPE_TERMPAD 91
|
---|
122 | #define IF_TYPE_FRAMERELAY_MPI 92
|
---|
123 | #define IF_TYPE_X213 93
|
---|
124 | #define IF_TYPE_ADSL 94
|
---|
125 | #define IF_TYPE_RADSL 95
|
---|
126 | #define IF_TYPE_SDSL 96
|
---|
127 | #define IF_TYPE_VDSL 97
|
---|
128 | #define IF_TYPE_ISO88025_CRFPRINT 98
|
---|
129 | #define IF_TYPE_MYRINET 99
|
---|
130 | #define IF_TYPE_VOICE_EM 100
|
---|
131 | #define IF_TYPE_VOICE_FXO 101
|
---|
132 | #define IF_TYPE_VOICE_FXS 102
|
---|
133 | #define IF_TYPE_VOICE_ENCAP 103
|
---|
134 | #define IF_TYPE_VOICE_OVERIP 104
|
---|
135 | #define IF_TYPE_ATM_DXI 105
|
---|
136 | #define IF_TYPE_ATM_FUNI 106
|
---|
137 | #define IF_TYPE_ATM_IMA 107
|
---|
138 | #define IF_TYPE_PPPMULTILINKBUNDLE 108
|
---|
139 | #define IF_TYPE_IPOVER_CDLC 109
|
---|
140 | #define IF_TYPE_IPOVER_CLAW 110
|
---|
141 | #define IF_TYPE_STACKTOSTACK 111
|
---|
142 | #define IF_TYPE_VIRTUALIPADDRESS 112
|
---|
143 | #define IF_TYPE_MPC 113
|
---|
144 | #define IF_TYPE_IPOVER_ATM 114
|
---|
145 | #define IF_TYPE_ISO88025_FIBER 115
|
---|
146 | #define IF_TYPE_TDLC 116
|
---|
147 | #define IF_TYPE_GIGABITETHERNET 117
|
---|
148 | #define IF_TYPE_HDLC 118
|
---|
149 | #define IF_TYPE_LAP_F 119
|
---|
150 | #define IF_TYPE_V37 120
|
---|
151 | #define IF_TYPE_X25_MLP 121
|
---|
152 | #define IF_TYPE_X25_HUNTGROUP 122
|
---|
153 | #define IF_TYPE_TRANSPHDLC 123
|
---|
154 | #define IF_TYPE_INTERLEAVE 124
|
---|
155 | #define IF_TYPE_FAST 125
|
---|
156 | #define IF_TYPE_IP 126
|
---|
157 | #define IF_TYPE_DOCSCABLE_MACLAYER 127
|
---|
158 | #define IF_TYPE_DOCSCABLE_DOWNSTREAM 128
|
---|
159 | #define IF_TYPE_DOCSCABLE_UPSTREAM 129
|
---|
160 | #define IF_TYPE_A12MPPSWITCH 130
|
---|
161 | #define IF_TYPE_TUNNEL 131
|
---|
162 | #define IF_TYPE_COFFEE 132
|
---|
163 | #define IF_TYPE_CES 133
|
---|
164 | #define IF_TYPE_ATM_SUBINTERFACE 134
|
---|
165 | #define IF_TYPE_L2_VLAN 135
|
---|
166 | #define IF_TYPE_L3_IPVLAN 136
|
---|
167 | #define IF_TYPE_L3_IPXVLAN 137
|
---|
168 | #define IF_TYPE_DIGITALPOWERLINE 138
|
---|
169 | #define IF_TYPE_MEDIAMAILOVERIP 139
|
---|
170 | #define IF_TYPE_DTM 140
|
---|
171 | #define IF_TYPE_DCN 141
|
---|
172 | #define IF_TYPE_IPFORWARD 142
|
---|
173 | #define IF_TYPE_MSDSL 143
|
---|
174 | #define IF_TYPE_IEEE1394 144
|
---|
175 | #define IF_TYPE_IF_GSN 145
|
---|
176 | #define IF_TYPE_DVBRCC_MACLAYER 146
|
---|
177 | #define IF_TYPE_DVBRCC_DOWNSTREAM 147
|
---|
178 | #define IF_TYPE_DVBRCC_UPSTREAM 148
|
---|
179 | #define IF_TYPE_ATM_VIRTUAL 149
|
---|
180 | #define IF_TYPE_MPLS_TUNNEL 150
|
---|
181 | #define IF_TYPE_SRP 151
|
---|
182 | #define IF_TYPE_VOICEOVERATM 152
|
---|
183 | #define IF_TYPE_VOICEOVERFRAMERELAY 153
|
---|
184 | #define IF_TYPE_IDSL 154
|
---|
185 | #define IF_TYPE_COMPOSITELINK 155
|
---|
186 | #define IF_TYPE_SS7_SIGLINK 156
|
---|
187 | #define IF_TYPE_PROP_WIRELESS_P2P 157
|
---|
188 | #define IF_TYPE_FR_FORWARD 158
|
---|
189 | #define IF_TYPE_RFC1483 159
|
---|
190 | #define IF_TYPE_USB 160
|
---|
191 | #define IF_TYPE_IEEE8023AD_LAG 161
|
---|
192 | #define IF_TYPE_BGP_POLICY_ACCOUNTING 162
|
---|
193 | #define IF_TYPE_FRF16_MFR_BUNDLE 163
|
---|
194 | #define IF_TYPE_H323_GATEKEEPER 164
|
---|
195 | #define IF_TYPE_H323_PROXY 165
|
---|
196 | #define IF_TYPE_MPLS 166
|
---|
197 | #define IF_TYPE_MF_SIGLINK 167
|
---|
198 | #define IF_TYPE_HDSL2 168
|
---|
199 | #define IF_TYPE_SHDSL 169
|
---|
200 | #define IF_TYPE_DS1_FDL 170
|
---|
201 | #define IF_TYPE_POS 171
|
---|
202 | #define IF_TYPE_DVB_ASI_IN 172
|
---|
203 | #define IF_TYPE_DVB_ASI_OUT 173
|
---|
204 | #define IF_TYPE_PLC 175
|
---|
205 | #define IF_TYPE_NFAS 175
|
---|
206 | #define IF_TYPE_TR008 176
|
---|
207 | #define IF_TYPE_GR303_RDT 177
|
---|
208 | #define IF_TYPE_GR303_IDT 178
|
---|
209 | #define IF_TYPE_ISUP 179
|
---|
210 | #define IF_TYPE_PROP_DOCS_WIRELESS_MACLAYER 180
|
---|
211 | #define IF_TYPE_PROP_DOCS_WIRELESS_DOWNSTREAM 181
|
---|
212 | #define IF_TYPE_PROP_DOCS_WIRELESS_UPSTREAM 182
|
---|
213 | #define IF_TYPE_HIPERLAN2 183
|
---|
214 | #define IF_TYPE_PROP_BWA_P2MP 184
|
---|
215 | #define IF_TYPE_SONET_OVERHEAD_CHANNEL 185
|
---|
216 | #define IF_TYPE_DIGITAL_WRAPPER_OVERHEAD_CHANNEL 186
|
---|
217 | #define IF_TYPE_AAL2 187
|
---|
218 | #define IF_TYPE_RADIO_MAC 188
|
---|
219 | #define IF_TYPE_ATM_RADIO 189
|
---|
220 | #define IF_TYPE_IMT 190
|
---|
221 | #define IF_TYPE_MVL 191
|
---|
222 | #define IF_TYPE_REACH_DSL 192
|
---|
223 | #define IF_TYPE_FR_DLCI_ENDPT 193
|
---|
224 | #define IF_TYPE_ATM_VCI_ENDPT 194
|
---|
225 | #define IF_TYPE_OPTICAL_CHANNEL 195
|
---|
226 | #define IF_TYPE_OPTICAL_TRANSPORT 196
|
---|
227 | #define IF_TYPE_IEEE80216_WANN 237
|
---|
228 | #define IF_TYPE_WWANPP 243
|
---|
229 | #define IF_TYPE_WWANPP2 244
|
---|
230 | #define MAX_IF_TYPE 244
|
---|
231 |
|
---|
232 | #define MIB_IF_TYPE_OTHER 1
|
---|
233 | #define MIB_IF_TYPE_ETHERNET 6
|
---|
234 | #define MIB_IF_TYPE_TOKENRING 9
|
---|
235 | #define MIB_IF_TYPE_FDDI 15
|
---|
236 | #define MIB_IF_TYPE_PPP 23
|
---|
237 | #define MIB_IF_TYPE_LOOPBACK 24
|
---|
238 | #define MIB_IF_TYPE_SLIP 28
|
---|
239 |
|
---|
240 | #define MIB_IF_ADMIN_STATUS_UP 1
|
---|
241 | #define MIB_IF_ADMIN_STATUS_DOWN 2
|
---|
242 | #define MIB_IF_ADMIN_STATUS_TESTING 3
|
---|
243 |
|
---|
244 | typedef enum _INTERNAL_IF_OPER_STATUS
|
---|
245 | {
|
---|
246 | MIB_IF_OPER_STATUS_NON_OPERATIONAL = 0,
|
---|
247 | MIB_IF_OPER_STATUS_UNREACHABLE = 1,
|
---|
248 | MIB_IF_OPER_STATUS_DISCONNECTED = 2,
|
---|
249 | MIB_IF_OPER_STATUS_CONNECTING = 3,
|
---|
250 | MIB_IF_OPER_STATUS_CONNECTED = 4,
|
---|
251 | MIB_IF_OPER_STATUS_OPERATIONAL = 5,
|
---|
252 | } INTERNAL_IF_OPER_STATUS;
|
---|
253 |
|
---|
254 | #endif /* WINE_IPIFCONS_H__ */
|
---|