#include <windows.h>
#include <winsock2.h>
#include <tchar.h>
#include <stdio.h>
#include <stdlib.h>
#include <iphlpapi.h>
#include "netstat.h"
Go to the source code of this file.
Enumerations |
| enum | ProtoType { IP,
TCP,
UDP,
ICMP
} |
Functions |
| DWORD | DoFormatMessage (DWORD ErrorCode) |
| BOOL | ParseCmdline (int argc, char *argv[]) |
| BOOL | DisplayOutput () |
| VOID | ShowIpStatistics () |
| VOID | ShowIcmpStatistics () |
| VOID | ShowTcpStatistics () |
| VOID | ShowUdpStatistics () |
| VOID | ShowEthernetStatistics () |
| VOID | ShowTcpTable () |
| VOID | ShowUdpTable () |
| PCHAR | GetPortName (UINT Port, PCSTR Proto, CHAR Name[], INT NameLen) |
| PCHAR | GetIpHostName (BOOL Local, UINT IpAddr, CHAR Name[], int NameLen) |
| VOID | Usage () |
| int | main (int argc, char *argv[]) |
Variables |
| enum ProtoType | Protocol |
| DWORD | Interval |
| TCHAR | TcpState [][32] |