Initial bulk commit for "Git on MSys"
[msysgit/historical-msysgit.git] / mingw / include / routprot.h
blob54fe9ee68c8fe22d415abf867684dbded3fdb420
1 /*
2 routprot.h - Routing and Remote Access Services
4 This file is part of a free library for the Win32 API.
6 This library is distributed in the hope that it will be useful,
7 but WITHOUT ANY WARRANTY; without even the implied warranty of
8 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 */
10 #ifndef _ROUTPROT_H
11 #define _ROUTPROT_H
12 #if __GNUC__ >= 3
13 #pragma GCC system_header
14 #endif
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 /*--- Router Management MIB Reference - Transport and Protocol Constants */
21 #define PROTO_IP_OTHER 0x00000001
22 #define PROTO_IP_LOCAL 0x00000002
23 #define PROTO_IP_NETMGMT 0x00000003
24 #define PROTO_IP_ICMP 0x00000004
25 #define PROTO_IP_EGP 0x00000005
26 #define PROTO_IP_GGP 0x00000006
27 #define PROTO_IP_HELLO 0x00000007
28 #define PROTO_IP_RIP 0x00000008
29 #define PROTO_IP_IS_IS 0x00000009
30 #define PROTO_IP_ES_IS 0x0000000A
31 #define PROTO_IP_CISCO 0x0000000B
32 #define PROTO_IP_BBN 0x0000000C
33 #define PROTO_IP_OSPF 0x0000000D
34 #define PROTO_IP_BGP 0x0000000E
35 #define PROTO_IP_BOOTP 0x0000270F
36 #define PROTO_IP_NT_AUTOSTATIC 0x00002712
37 #define PROTO_IP_NT_STATIC 0x00002716
38 #define PROTO_IP_NT_STATIC_NON_DOD 0x00002717
39 #define IPRTRMGR_PID 10000
40 #define IPX_PROTOCOL_BASE 0x0001FFFF
41 #define IPX_PROTOCOL_RIP 0x00020000
42 #define IPX_PROTOCOL_SAP 0x00020001
43 #define IPX_PROTOCOL_NLSP 0x00020002
44 /*--- Router Management Reference - Router Management Structures */
45 #if (_WIN32_WINNT >= 0x0500)
46 typedef struct IP_ADAPTER_BINDING_INFO {
47 ULONG AddressCount;
48 DWORD RemoteAddress;
49 ULONG Mtu;
50 ULONGLONG Speed;
51 IP_LOCAL_BINDING Address[];
52 } IP_ADAPTER_BINDING_INFO,*PIP_ADAPTER_BINDING_INFO;
53 typedef struct IP_LOCAL_BINDING {
54 DWORD Address;
55 DWORD Mask;
56 } IP_LOCAL_BINDING,*PIP_LOCAL_BINDING;
57 typedef struct IPX_ADAPTER_BINDING_INFO {
58 ULONG AdapterIndex;
59 UCHAR Network[4];
60 UCHAR LocalNode[6];
61 UCHAR RemoteNode[6];
62 ULONG MaxPacketSize;
63 ULONG LinkSpeed;
64 } IPX_ADAPTER_BINDING_INFO,*PIPX_ADAPTER_BINDING_INFO;
65 #endif /* (_WIN32_WINNT >= 0x0500) */
67 #ifdef __cplusplus
69 #endif
70 #endif