source: Daodan/MSYS2/mingw32/i686-w64-mingw32/include/ipifcons.h@ 1194

Last change on this file since 1194 was 1166, checked in by rossy, 3 years ago

Daodan: Replace MinGW build env with an up-to-date MSYS2 env

File size: 5.7 KB
RevLine 
[1166]1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6#ifndef __IPIFCONS_H__
7#define __IPIFCONS_H__
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13typedef ULONG IFTYPE;
14
15#define MIN_IF_TYPE 1
16
17#define IF_TYPE_OTHER 1
18#define IF_TYPE_REGULAR_1822 2
19#define IF_TYPE_HDH_1822 3
20#define IF_TYPE_DDN_X25 4
21#define IF_TYPE_RFC877_X25 5
22#define IF_TYPE_ETHERNET_CSMACD 6
23#define IF_TYPE_IS088023_CSMACD 7
24#define IF_TYPE_ISO88024_TOKENBUS 8
25#define IF_TYPE_ISO88025_TOKENRING 9
26#define IF_TYPE_ISO88026_MAN 10
27#define IF_TYPE_STARLAN 11
28#define IF_TYPE_PROTEON_10MBIT 12
29#define IF_TYPE_PROTEON_80MBIT 13
30#define IF_TYPE_HYPERCHANNEL 14
31#define IF_TYPE_FDDI 15
32#define IF_TYPE_LAP_B 16
33#define IF_TYPE_SDLC 17
34#define IF_TYPE_DS1 18
35#define IF_TYPE_E1 19
36#define IF_TYPE_BASIC_ISDN 20
37#define IF_TYPE_PRIMARY_ISDN 21
38#define IF_TYPE_PROP_POINT2POINT_SERIAL 22
39#define IF_TYPE_PPP 23
40#define IF_TYPE_SOFTWARE_LOOPBACK 24
41#define IF_TYPE_EON 25
42#define IF_TYPE_ETHERNET_3MBIT 26
43#define IF_TYPE_NSIP 27
44#define IF_TYPE_SLIP 28
45#define IF_TYPE_ULTRA 29
46#define IF_TYPE_DS3 30
47#define IF_TYPE_SIP 31
48#define IF_TYPE_FRAMERELAY 32
49#define IF_TYPE_RS232 33
50#define IF_TYPE_PARA 34
51#define IF_TYPE_ARCNET 35
52#define IF_TYPE_ARCNET_PLUS 36
53#define IF_TYPE_ATM 37
54#define IF_TYPE_MIO_X25 38
55#define IF_TYPE_SONET 39
56#define IF_TYPE_X25_PLE 40
57#define IF_TYPE_ISO88022_LLC 41
58#define IF_TYPE_LOCALTALK 42
59#define IF_TYPE_SMDS_DXI 43
60#define IF_TYPE_FRAMERELAY_SERVICE 44
61#define IF_TYPE_V35 45
62#define IF_TYPE_HSSI 46
63#define IF_TYPE_HIPPI 47
64#define IF_TYPE_MODEM 48
65#define IF_TYPE_AAL5 49
66#define IF_TYPE_SONET_PATH 50
67#define IF_TYPE_SONET_VT 51
68#define IF_TYPE_SMDS_ICIP 52
69#define IF_TYPE_PROP_VIRTUAL 53
70#define IF_TYPE_PROP_MULTIPLEXOR 54
71#define IF_TYPE_IEEE80212 55
72#define IF_TYPE_FIBRECHANNEL 56
73#define IF_TYPE_HIPPIINTERFACE 57
74#define IF_TYPE_FRAMERELAY_INTERCONNECT 58
75#define IF_TYPE_AFLANE_8023 59
76#define IF_TYPE_AFLANE_8025 60
77#define IF_TYPE_CCTEMUL 61
78#define IF_TYPE_FASTETHER 62
79#define IF_TYPE_ISDN 63
80#define IF_TYPE_V11 64
81#define IF_TYPE_V36 65
82#define IF_TYPE_G703_64K 66
83#define IF_TYPE_G703_2MB 67
84#define IF_TYPE_QLLC 68
85#define IF_TYPE_FASTETHER_FX 69
86#define IF_TYPE_CHANNEL 70
87#define IF_TYPE_IEEE80211 71
88#define IF_TYPE_IBM370PARCHAN 72
89#define IF_TYPE_ESCON 73
90#define IF_TYPE_DLSW 74
91#define IF_TYPE_ISDN_S 75
92#define IF_TYPE_ISDN_U 76
93#define IF_TYPE_LAP_D 77
94#define IF_TYPE_IPSWITCH 78
95#define IF_TYPE_RSRB 79
96#define IF_TYPE_ATM_LOGICAL 80
97#define IF_TYPE_DS0 81
98#define IF_TYPE_DS0_BUNDLE 82
99#define IF_TYPE_BSC 83
100#define IF_TYPE_ASYNC 84
101#define IF_TYPE_CNR 85
102#define IF_TYPE_ISO88025R_DTR 86
103#define IF_TYPE_EPLRS 87
104#define IF_TYPE_ARAP 88
105#define IF_TYPE_PROP_CNLS 89
106#define IF_TYPE_HOSTPAD 90
107#define IF_TYPE_TERMPAD 91
108#define IF_TYPE_FRAMERELAY_MPI 92
109#define IF_TYPE_X213 93
110#define IF_TYPE_ADSL 94
111#define IF_TYPE_RADSL 95
112#define IF_TYPE_SDSL 96
113#define IF_TYPE_VDSL 97
114#define IF_TYPE_ISO88025_CRFPRINT 98
115#define IF_TYPE_MYRINET 99
116#define IF_TYPE_VOICE_EM 100
117#define IF_TYPE_VOICE_FXO 101
118#define IF_TYPE_VOICE_FXS 102
119#define IF_TYPE_VOICE_ENCAP 103
120#define IF_TYPE_VOICE_OVERIP 104
121#define IF_TYPE_ATM_DXI 105
122#define IF_TYPE_ATM_FUNI 106
123#define IF_TYPE_ATM_IMA 107
124#define IF_TYPE_PPPMULTILINKBUNDLE 108
125#define IF_TYPE_IPOVER_CDLC 109
126#define IF_TYPE_IPOVER_CLAW 110
127#define IF_TYPE_STACKTOSTACK 111
128#define IF_TYPE_VIRTUALIPADDRESS 112
129#define IF_TYPE_MPC 113
130#define IF_TYPE_IPOVER_ATM 114
131#define IF_TYPE_ISO88025_FIBER 115
132#define IF_TYPE_TDLC 116
133#define IF_TYPE_GIGABITETHERNET 117
134#define IF_TYPE_HDLC 118
135#define IF_TYPE_LAP_F 119
136#define IF_TYPE_V37 120
137#define IF_TYPE_X25_MLP 121
138#define IF_TYPE_X25_HUNTGROUP 122
139#define IF_TYPE_TRANSPHDLC 123
140#define IF_TYPE_INTERLEAVE 124
141#define IF_TYPE_FAST 125
142#define IF_TYPE_IP 126
143#define IF_TYPE_DOCSCABLE_MACLAYER 127
144#define IF_TYPE_DOCSCABLE_DOWNSTREAM 128
145#define IF_TYPE_DOCSCABLE_UPSTREAM 129
146#define IF_TYPE_A12MPPSWITCH 130
147#define IF_TYPE_TUNNEL 131
148#define IF_TYPE_COFFEE 132
149#define IF_TYPE_CES 133
150#define IF_TYPE_ATM_SUBINTERFACE 134
151#define IF_TYPE_L2_VLAN 135
152#define IF_TYPE_L3_IPVLAN 136
153#define IF_TYPE_L3_IPXVLAN 137
154#define IF_TYPE_DIGITALPOWERLINE 138
155#define IF_TYPE_MEDIAMAILOVERIP 139
156#define IF_TYPE_DTM 140
157#define IF_TYPE_DCN 141
158#define IF_TYPE_IPFORWARD 142
159#define IF_TYPE_MSDSL 143
160#define IF_TYPE_IEEE1394 144
161#define IF_TYPE_RECEIVE_ONLY 145
162
163#define MAX_IF_TYPE 145
164
165#define IF_ACCESS_LOOPBACK 1
166#define IF_ACCESS_BROADCAST 2
167#define IF_ACCESS_POINTTOPOINT 3
168#define IF_ACCESS_POINTTOMULTIPOINT 4
169
170#define IF_CHECK_NONE 0x00
171#define IF_CHECK_MCAST 0x01
172#define IF_CHECK_SEND 0x02
173
174#define IF_CONNECTION_DEDICATED 1
175#define IF_CONNECTION_PASSIVE 2
176#define IF_CONNECTION_DEMAND 3
177
178#define IF_ADMIN_STATUS_UP 1
179#define IF_ADMIN_STATUS_DOWN 2
180#define IF_ADMIN_STATUS_TESTING 3
181
182#define IF_OPER_STATUS_NON_OPERATIONAL 0
183#define IF_OPER_STATUS_UNREACHABLE 1
184#define IF_OPER_STATUS_DISCONNECTED 2
185#define IF_OPER_STATUS_CONNECTING 3
186#define IF_OPER_STATUS_CONNECTED 4
187#define IF_OPER_STATUS_OPERATIONAL 5
188
189#define MIB_IF_TYPE_OTHER 1
190#define MIB_IF_TYPE_ETHERNET 6
191#define MIB_IF_TYPE_TOKENRING 9
192#define MIB_IF_TYPE_FDDI 15
193#define MIB_IF_TYPE_PPP 23
194#define MIB_IF_TYPE_LOOPBACK 24
195#define MIB_IF_TYPE_SLIP 28
196
197#define MIB_IF_ADMIN_STATUS_UP 1
198#define MIB_IF_ADMIN_STATUS_DOWN 2
199#define MIB_IF_ADMIN_STATUS_TESTING 3
200
201#define MIB_IF_OPER_STATUS_NON_OPERATIONAL 0
202#define MIB_IF_OPER_STATUS_UNREACHABLE 1
203#define MIB_IF_OPER_STATUS_DISCONNECTED 2
204#define MIB_IF_OPER_STATUS_CONNECTING 3
205#define MIB_IF_OPER_STATUS_CONNECTED 4
206#define MIB_IF_OPER_STATUS_OPERATIONAL 5
207
208#ifdef __cplusplus
209}
210#endif
211#endif
Note: See TracBrowser for help on using the repository browser.