setupapi: Specify the correct binary file name when registering an executable.
[wine.git] / include / tcpmib.h
blob51ee9f5ec4bb1f03ff64c502c166b38368503edf
1 /*
2 * Copyright (C) 2003 Juan Lang
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.
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.
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
18 #ifndef __WINE_TCPMIB_H
19 #define __WINE_TCPMIB_H
22 /* TCP tables */
24 #define MIB_TCP_STATE_CLOSED 1
25 #define MIB_TCP_STATE_LISTEN 2
26 #define MIB_TCP_STATE_SYN_SENT 3
27 #define MIB_TCP_STATE_SYN_RCVD 4
28 #define MIB_TCP_STATE_ESTAB 5
29 #define MIB_TCP_STATE_FIN_WAIT1 6
30 #define MIB_TCP_STATE_FIN_WAIT2 7
31 #define MIB_TCP_STATE_CLOSE_WAIT 8
32 #define MIB_TCP_STATE_CLOSING 9
33 #define MIB_TCP_STATE_LAST_ACK 10
34 #define MIB_TCP_STATE_TIME_WAIT 11
35 #define MIB_TCP_STATE_DELETE_TCB 12
37 typedef struct _MIB_TCPROW
39 DWORD dwState;
40 DWORD dwLocalAddr;
41 DWORD dwLocalPort;
42 DWORD dwRemoteAddr;
43 DWORD dwRemotePort;
44 } MIB_TCPROW, *PMIB_TCPROW;
46 typedef struct _MIB_TCPTABLE
48 DWORD dwNumEntries;
49 MIB_TCPROW table[1];
50 } MIB_TCPTABLE, *PMIB_TCPTABLE;
53 /* TCP stats */
55 #define MIB_TCP_RTO_OTHER 1
56 #define MIB_TCP_RTO_CONSTANT 2
57 #define MIB_TCP_RTO_RSRE 3
58 #define MIB_TCP_RTO_VANJ 4
60 typedef struct _MIB_TCPSTATS
62 DWORD dwRtoAlgorithm;
63 DWORD dwRtoMin;
64 DWORD dwRtoMax;
65 DWORD dwMaxConn;
66 DWORD dwActiveOpens;
67 DWORD dwPassiveOpens;
68 DWORD dwAttemptFails;
69 DWORD dwEstabResets;
70 DWORD dwCurrEstab;
71 DWORD dwInSegs;
72 DWORD dwOutSegs;
73 DWORD dwRetransSegs;
74 DWORD dwInErrs;
75 DWORD dwOutRsts;
76 DWORD dwNumConns;
77 } MIB_TCPSTATS, *PMIB_TCPSTATS;
79 #endif /* __WINE_TCPMIB_H */