netstat: Implement -e option.
[wine/multimedia.git] / programs / netstat / netstat.h
blob3176939f723afa875c03fe0d51cccd71d2baab06
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