Sweden-Number/programs/netstat/netstat.h

38 lines
1.1 KiB
C
Raw Normal View History

2012-12-27 19:03:38 +01:00
/*
* Copyright 2012 André Hentschel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <windows.h>
2013-01-02 21:37:45 +01:00
typedef enum _NETSTATPROTOCOLS {
PROT_UNKNOWN,
PROT_IP,
PROT_IPV6,
PROT_ICMP,
PROT_ICMPV6,
PROT_TCP,
PROT_TCPV6,
PROT_UDP,
PROT_UDPV6,
} NETSTATPROTOCOLS;
#define IDS_TCP_ACTIVE_CONN 1
#define IDS_TCP_PROTO 2
#define IDS_TCP_LOCAL_ADDR 3
#define IDS_TCP_REMOTE_ADDR 4
#define IDS_TCP_STATE 5