1bd3c8520SLee SchroederLANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
2bd3c8520SLee Schroeder
3bd3c8520SLee SchroederSTRINGTABLE
4bd3c8520SLee SchroederBEGIN
5bd3c8520SLee Schroeder    IDS_USAGE "\nDisplays current TCP/IP protocol statistics and network connections.\n\n\
6*1fa27807SSerge GautherieNETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-t] [-v] [interval]\n\n\
7bd3c8520SLee Schroeder  -a            Displays all connections and listening ports.\n\
8*1fa27807SSerge Gautherie  -b            FIXME (Accepted option though unimplemented feature).\n\
9bd3c8520SLee Schroeder  -e            Displays Ethernet statistics. May be combined with -s\n\
10*1fa27807SSerge Gautherie                option.\n\
11bd3c8520SLee Schroeder  -n            Displays address and port numbers in numeric form.\n\
12bd3c8520SLee Schroeder  -o            Displays the process ID for each connection.\n\
13bd3c8520SLee Schroeder  -p proto      Shows connections for protocol 'proto' TCP or UDP.\n\
14bd3c8520SLee Schroeder                If used with the -s option to display\n\
15bd3c8520SLee Schroeder                per-protocol statistics, 'proto' may be TCP, UDP, or IP.\n\
16bd3c8520SLee Schroeder  -r            Displays the current routing table.\n\
17bd3c8520SLee Schroeder  -s            Displays per-protocol statistics. By default, Statistics are\n\
18bd3c8520SLee Schroeder                shown for IP, ICMP, TCP and UDP;\n\
19bd3c8520SLee Schroeder                the -p option may be used to specify a subset of the default.\n\
20*1fa27807SSerge Gautherie  -t            FIXME (Accepted option though unimplemented feature).\n\
21*1fa27807SSerge Gautherie  -v            FIXME (Accepted option though unimplemented feature).\n\
22bd3c8520SLee Schroeder  interval      Redisplays selected statistics every 'interval' seconds.\n\
23bd3c8520SLee Schroeder                Press CTRL+C to stop redisplaying. By default netstat will\n\
24*1fa27807SSerge Gautherie                print the current information only once.\n"
25bd3c8520SLee Schroeder    IDS_DISPLAY_THEADER "\n  Proto  Local Address          Foreign Address        State"
26bd3c8520SLee Schroeder    IDS_DISPLAY_PROCESS "       Process\n"
27bd3c8520SLee Schroeder    IDS_ACTIVE_CONNECT "\nActive Connections\n"
28bd3c8520SLee SchroederEND
29bd3c8520SLee Schroeder
30bd3c8520SLee SchroederSTRINGTABLE
31bd3c8520SLee SchroederBEGIN
32bd3c8520SLee Schroeder    IDS_IP4_STAT_HEADER "\nIPv4 Statistics\n\n"
33bd3c8520SLee Schroeder    IDS_IP_PACK_REC            "  Packets Received                   = %lu\n"
34bd3c8520SLee Schroeder    IDS_IP_HEAD_REC_ERROR      "  Received Header Errors             = %lu\n"
35bd3c8520SLee Schroeder    IDS_IP_ADDR_REC_ERROR      "  Received Address Errors            = %lu\n"
36bd3c8520SLee Schroeder    IDS_IP_DATAG_FWD           "  Datagrams Forwarded                = %lu\n"
37bd3c8520SLee Schroeder    IDS_IP_UNKNOWN_PRO_REC     "  Unknown Protocols Received         = %lu\n"
38bd3c8520SLee Schroeder    IDS_IP_REC_PACK_DISCARD    "  Received Packets Discarded         = %lu\n"
39bd3c8520SLee Schroeder    IDS_IP_REC_PACK_DELIVER    "  Received Packets Delivered         = %lu\n"
40bd3c8520SLee Schroeder    IDS_IP_OUT_REQUEST         "  Output Requests                    = %lu\n"
41bd3c8520SLee Schroeder    IDS_IP_ROUTE_DISCARD       "  Routing Discards                   = %lu\n"
42bd3c8520SLee Schroeder    IDS_IP_DISCARD_OUT_PACK    "  Discarded Output Packets           = %lu\n"
43*1fa27807SSerge Gautherie    IDS_IP_OUT_PACKET_NO_ROUTE "  Output Packet No Route             = %lu\n"
44bd3c8520SLee Schroeder    IDS_IP_REASSEMBLE_REQUIRED "  Reassembly Required                = %lu\n"
45*1fa27807SSerge Gautherie    IDS_IP_REASSEMBLE_SUCCESS  "  Reassembly Successful              = %lu\n"
46bd3c8520SLee Schroeder    IDS_IP_REASSEMBLE_FAILURE  "  Reassembly Failures                = %lu\n"
47bd3c8520SLee Schroeder    IDS_IP_DATAG_FRAG_SUCCESS  "  Datagrams Successfully Fragmented  = %lu\n"
48bd3c8520SLee Schroeder    IDS_IP_DATAG_FRAG_FAILURE  "  Datagrams Failing Fragmentation    = %lu\n"
49bd3c8520SLee Schroeder    IDS_IP_DATAG_FRAG_CREATE   "  Fragments Created                  = %lu\n"
50bd3c8520SLee SchroederEND
51bd3c8520SLee Schroeder
52bd3c8520SLee SchroederSTRINGTABLE
53bd3c8520SLee SchroederBEGIN
54bd3c8520SLee Schroeder    IDS_ICMP4_STAT_HEADER "\nICMPv4 Statistics\n\n"
55bd3c8520SLee Schroeder    IDS_ICMP_THEADER             "                            Received    Sent\n"
56*1fa27807SSerge Gautherie    IDS_ICMP_MSG                 "  Messages                  %-11lu %-10lu\n"
57*1fa27807SSerge Gautherie    IDS_ICMP_ERROR               "  Errors                    %-11lu %-10lu\n"
58*1fa27807SSerge Gautherie    IDS_ICMP_DEST_UNREACH        "  Destination Unreachable   %-11lu %-10lu\n"
59*1fa27807SSerge Gautherie    IDS_ICMP_TIME_EXCEED         "  Time Exceeded             %-11lu %-10lu\n"
60*1fa27807SSerge Gautherie    IDS_ICMP_PARAM_PROBLEM       "  Parameter Problems        %-11lu %-10lu\n"
61*1fa27807SSerge Gautherie    IDS_ICMP_SRC_QUENCHES        "  Source Quenches           %-11lu %-10lu\n"
62*1fa27807SSerge Gautherie    IDS_ICMP_REDIRECT            "  Redirects                 %-11lu %-10lu\n"
63*1fa27807SSerge Gautherie    IDS_ICMP_ECHO                "  Echos                     %-11lu %-10lu\n"
64*1fa27807SSerge Gautherie    IDS_ICMP_ECHO_REPLY          "  Echo Replies              %-11lu %-10lu\n"
65*1fa27807SSerge Gautherie    IDS_ICMP_TIMESTAMP           "  Timestamps                %-11lu %-10lu\n"
66*1fa27807SSerge Gautherie    IDS_ICMP_TIMESTAMP_REPLY     "  Timestamp Replies         %-11lu %-10lu\n"
67*1fa27807SSerge Gautherie    IDS_ICMP_ADDRESSS_MASK       "  Address Masks             %-11lu %-10lu\n"
68*1fa27807SSerge Gautherie    IDS_ICMP_ADDRESSS_MASK_REPLY "  Address Mask Replies      %-11lu %-10lu\n"
69bd3c8520SLee SchroederEND
70bd3c8520SLee Schroeder
71bd3c8520SLee SchroederSTRINGTABLE
72bd3c8520SLee SchroederBEGIN
73bd3c8520SLee Schroeder    IDS_TCP4_HEADER         "\nTCP Statistics for IPv4\n\n"
74bd3c8520SLee Schroeder    IDS_TCP_ACTIVE_OPEN     "  Active Opens                        = %lu\n"
75bd3c8520SLee Schroeder    IDS_TCP_PASS_OPEN       "  Passive Opens                       = %lu\n"
76bd3c8520SLee Schroeder    IDS_TCP_FAIL_CONNECT    "  Failed Connection Attempts          = %lu\n"
77bd3c8520SLee Schroeder    IDS_TCP_RESET_CONNECT   "  Reset Connections                   = %lu\n"
78bd3c8520SLee Schroeder    IDS_TCP_CURRENT_CONNECT "  Current Connections                 = %lu\n"
79bd3c8520SLee Schroeder    IDS_TCP_SEG_RECEIVE     "  Segments Received                   = %lu\n"
80bd3c8520SLee Schroeder    IDS_TCP_SEG_SENT        "  Segments Sent                       = %lu\n"
81bd3c8520SLee Schroeder    IDS_TCP_SEG_RETRANSMIT  "  Segments Retransmitted              = %lu\n"
82bd3c8520SLee SchroederEND
83bd3c8520SLee Schroeder
84bd3c8520SLee SchroederSTRINGTABLE
85bd3c8520SLee SchroederBEGIN
86bd3c8520SLee Schroeder    IDS_UDP_IP4_HEADER    "\nUDP Statistics for IPv4\n\n"
87bd3c8520SLee Schroeder    IDS_UDP_DATAG_RECEIVE "  Datagrams Received    = %lu\n"
88bd3c8520SLee Schroeder    IDS_UDP_NO_PORT       "  No Ports              = %lu\n"
89bd3c8520SLee Schroeder    IDS_UDP_RECEIVE_ERROR "  Receive Errors        = %lu\n"
90bd3c8520SLee Schroeder    IDS_UDP_DATAG_SEND    "  Datagrams Sent        = %lu\n"
91bd3c8520SLee SchroederEND
92bd3c8520SLee Schroeder
93bd3c8520SLee SchroederSTRINGTABLE
94bd3c8520SLee SchroederBEGIN
95bd3c8520SLee Schroeder    IDS_ETHERNET_INTERFACE_STAT     "Interface Statistics\n\n"
96bd3c8520SLee Schroeder    IDS_ETHERNET_THEADER            "                           Received            Sent\n\n"
97bd3c8520SLee Schroeder    IDS_ETHERNET_BYTES              "Bytes                %14lu %15lu\n"
98bd3c8520SLee Schroeder    IDS_ETHERNET_UNICAST_PACKET     "Unicast packets      %14lu %15lu\n"
99bd3c8520SLee Schroeder    IDS_ETHERNET_NON_UNICAST_PACKET "Non-unicast packets  %14lu %15lu\n"
100bd3c8520SLee Schroeder    IDS_ETHERNET_DISCARD            "Discards             %14lu %15lu\n"
101bd3c8520SLee Schroeder    IDS_ETHERNET_ERROR              "Errors               %14lu %15lu\n"
102*1fa27807SSerge Gautherie    IDS_ETHERNET_UNKNOWN            "Unknown protocols    %14lu\n"
103bd3c8520SLee SchroederEND
104bd3c8520SLee Schroeder
105bd3c8520SLee SchroederSTRINGTABLE
106bd3c8520SLee SchroederBEGIN
107bd3c8520SLee Schroeder    IDS_ERROR_WSA_START "ERROR: WSAStartup() failed: %d\n"
108bd3c8520SLee Schroeder    IDS_ERROR_ROUTE "ERROR: Cannot find 'route.exe'\n"
109bd3c8520SLee Schroeder    IDS_ERROR_TCP_SNAPSHOT "ERROR: Failed to snapshot TCP endpoints.\n"
110bd3c8520SLee Schroeder    IDS_ERROR_UDP_ENDPOINT "ERROR: Failed to snapshot UDP endpoints.\n"
111bd3c8520SLee Schroeder    IDS_ERROR_UDP_ENDPOINT_TABLE "ERROR: Failed to snapshot UDP endpoints table.\n"
112bd3c8520SLee SchroederEND
113