msvcr100: Fix next writer unblocking in reader_writer_lock::unlock.
[wine.git] / programs / netstat / netstat.h
blob2f62c87dae5c633aaf73eeb3a9cdfedd65e1488e
1 /*
2 * Copyright 2012 André Hentschel
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
19 #include <windows.h>
21 typedef enum _NETSTATPROTOCOLS {
22 PROT_UNKNOWN,
23 PROT_IP,
24 PROT_IPV6,
25 PROT_ICMP,
26 PROT_ICMPV6,
27 PROT_TCP,
28 PROT_TCPV6,
29 PROT_UDP,
30 PROT_UDPV6,
31 } NETSTATPROTOCOLS;
33 #define IDS_TCP_ACTIVE_CONN 1
34 #define IDS_TCP_PROTO 2
35 #define IDS_TCP_LOCAL_ADDR 3
36 #define IDS_TCP_REMOTE_ADDR 4
37 #define IDS_TCP_STATE 5
38 #define IDS_ETH_STAT 6
39 #define IDS_ETH_SENT 7
40 #define IDS_ETH_RECV 8
41 #define IDS_ETH_BYTES 9
42 #define IDS_ETH_UNICAST 10
43 #define IDS_ETH_NUNICAST 11
44 #define IDS_ETH_DISCARDS 12
45 #define IDS_ETH_ERRORS 13
46 #define IDS_ETH_UNKNOWN 14
47 #define IDS_TCP_STAT 15
48 #define IDS_TCP_ACTIVE_OPEN 16
49 #define IDS_TCP_PASSIV_OPEN 17
50 #define IDS_TCP_FAILED_CONN 18
51 #define IDS_TCP_RESET_CONN 19
52 #define IDS_TCP_CURR_CONN 20
53 #define IDS_TCP_SEGM_RECV 21
54 #define IDS_TCP_SEGM_SENT 22
55 #define IDS_TCP_SEGM_RETRAN 23
56 #define IDS_UDP_STAT 24
57 #define IDS_UDP_DGRAMS_RECV 25
58 #define IDS_UDP_NO_PORTS 26
59 #define IDS_UDP_RECV_ERRORS 27
60 #define IDS_UDP_DGRAMS_SENT 28