[PSDK, MSAFD]
authorCameron Gutman <aicommander@gmail.com>
Fri, 5 Feb 2010 07:16:50 +0000 (07:16 +0000)
committerCameron Gutman <aicommander@gmail.com>
Fri, 5 Feb 2010 07:16:50 +0000 (07:16 +0000)
 - Fix a typo
[NETSTAT]
 - Uncomment and fix displaying successful fragmentation data
 - Fix a typo

svn path=/branches/aicom-network-branch/; revision=45435

base/applications/network/netstat/netstat.c
dll/win32/msafd/include/helpers.h
dll/win32/msafd/misc/helpers.c
include/psdk/wsahelp.h

index 45ff2fd..b225a87 100644 (file)
@@ -274,7 +274,7 @@ VOID ShowIpStatistics()
         _tprintf(_T("  %-34s = %lu\n"), _T("Reassembly Required"), pIpStats->dwReasmReqds);
         _tprintf(_T("  %-34s = %lu\n"), _T("Reassembly Succesful"), pIpStats->dwReasmOks);
         _tprintf(_T("  %-34s = %lu\n"), _T("Reassembly Failures"), pIpStats->dwReasmFails);
-       // _tprintf(_T("  %-34s = %lu\n"), _T("Datagrams succesfully fragmented"), NULL); /* FIXME: what is this one? */
+        _tprintf(_T("  %-34s = %lu\n"), _T("Datagrams succesfully fragmented"), pIpStats->dwFragOks);
         _tprintf(_T("  %-34s = %lu\n"), _T("Datagrams Failing Fragmentation"), pIpStats->dwFragFails);
         _tprintf(_T("  %-34s = %lu\n"), _T("Fragments Created"), pIpStats->dwFragCreates);
     }
index 1b73c66..7fa8e0c 100644 (file)
@@ -26,7 +26,7 @@ typedef struct _HELPER_DATA {
        PWSH_GET_SOCKET_INFORMATION             WSHGetSocketInformation;
        PWSH_SET_SOCKET_INFORMATION             WSHSetSocketInformation;
        PWSH_GET_SOCKADDR_TYPE                  WSHGetSockaddrType;
-       PWSH_GET_WILDCARD_SOCKEADDR             WSHGetWildcardSockaddr;
+       PWSH_GET_WILDCARD_SOCKADDR              WSHGetWildcardSockaddr;
        PWSH_GET_BROADCAST_SOCKADDR             WSHGetBroadcastSockaddr;
        PWSH_ADDRESS_TO_STRING                  WSHAddressToString;
        PWSH_STRING_TO_ADDRESS                  WSHStringToAddress;
index f0bb6a9..89b1d6a 100644 (file)
@@ -454,7 +454,7 @@ SockLoadHelperDll(
     HelperData->WSHGetSockaddrType = (PWSH_GET_SOCKADDR_TYPE)
                                                                                GetProcAddress(HelperData->hInstance,
                                                                                "WSHGetSockaddrType");
-    HelperData->WSHGetWildcardSockaddr = (PWSH_GET_WILDCARD_SOCKEADDR)
+    HelperData->WSHGetWildcardSockaddr = (PWSH_GET_WILDCARD_SOCKADDR)
                                                                                        GetProcAddress(HelperData->hInstance,
                                                                                        "WSHGetWildcardSockaddr");
     HelperData->WSHGetBroadcastSockaddr = (PWSH_GET_BROADCAST_SOCKADDR)
index 132261e..2e128a9 100644 (file)
@@ -70,7 +70,7 @@ typedef INT (WINAPI *PWSH_GET_BROADCAST_SOCKADDR)(PVOID,PSOCKADDR,PINT);
 typedef INT (WINAPI *PWSH_GET_PROVIDER_GUID)(LPWSTR,LPGUID);
 typedef INT (WINAPI *PWSH_GET_SOCKADDR_TYPE)(PSOCKADDR,DWORD,PSOCKADDR_INFO);
 typedef INT (WINAPI *PWSH_GET_SOCKET_INFORMATION)(PVOID,SOCKET,HANDLE,HANDLE,INT,INT,PCHAR,LPINT);
-typedef INT (WINAPI *PWSH_GET_WILDCARD_SOCKEADDR)(PVOID,PSOCKADDR,PINT);
+typedef INT (WINAPI *PWSH_GET_WILDCARD_SOCKADDR)(PVOID,PSOCKADDR,PINT);
 typedef DWORD (WINAPI *PWSH_GET_WINSOCK_MAPPING)(PWINSOCK_MAPPING,DWORD);
 typedef INT (WINAPI *PWSH_GET_WSAPROTOCOL_INFO)(LPWSTR,LPWSAPROTOCOL_INFOW*,LPDWORD);
 typedef INT (WINAPI *PWSH_IOCTL)(PVOID,SOCKET,HANDLE,HANDLE,DWORD,LPVOID,DWORD,