History log of /vbox/src/VBox/NetworkServices/NAT/winutils.h
Revision Date Author Comments Expand
23bcfa32fddbe29a8c4c40d3bcfa4693a555c177 54124 10-Feb-2015 vboxsync

NAT/Network: Add missing Id/@file/copyright headers.

2b114c590cf5a19f8047cd7bde9c7e5ae00aa22b 53624 31-Dec-2014 vboxsync

scm automatic cleanups.

/vbox/.scm-settings /vbox/Config.kmk /vbox/include/VBox/shflsvc.h /vbox/include/iprt/asn1-generator-sanity.h /vbox/include/iprt/avl.h /vbox/include/iprt/cpp/ministring.h /vbox/include/iprt/crypto/rsa.h /vbox/include/iprt/crypto/tsp.h /vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/Makefile.kmk /vbox/src/VBox/Additions/linux/Makefile.kmk /vbox/src/VBox/Additions/solaris/SharedFolders/vboxfs_prov.h /vbox/src/VBox/Additions/solaris/SharedFolders/vboxfs_vfs.c /vbox/src/VBox/Additions/x11/VBoxClient/clipboard.cpp /vbox/src/VBox/Additions/x11/VBoxClient/display.cpp /vbox/src/VBox/Additions/x11/VBoxClient/draganddrop.cpp /vbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp /vbox/src/VBox/Additions/x11/VBoxClient/main.cpp /vbox/src/VBox/Additions/x11/VBoxClient/seamless.cpp /vbox/src/VBox/Additions/x11/VBoxClient/seamless.h /vbox/src/VBox/Additions/x11/vboxvideo/getmode.c /vbox/src/VBox/Devices/Audio/DevIchAc97.cpp /vbox/src/VBox/Devices/Audio/DevIchHda.cpp /vbox/src/VBox/Devices/Audio/DrvAudio.cpp /vbox/src/VBox/Devices/Audio/DrvHostOSSAudio.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-ogl.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.cpp /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-shared.h /vbox/src/VBox/Devices/Graphics/DevVGA-SVGA3d-win.cpp /vbox/src/VBox/Devices/Network/DevE1000.cpp /vbox/src/VBox/Devices/Network/SrvIntNetR0.cpp /vbox/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.cpp /vbox/src/VBox/Devices/Network/lwip-new/vbox/VBoxLwipCore.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/include/arch/cc.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/include/lwip-namespace.h /vbox/src/VBox/Devices/Network/lwip-new/vbox/sys_arch.c /vbox/src/VBox/Devices/Network/lwipopts.h /vbox/src/VBox/Devices/Network/scripts/VBoxPortForwarding.py /vbox/src/VBox/Devices/Network/slirp/bootp.c /vbox/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.h /vbox/src/VBox/Devices/Network/slirp/ip_icmpwin.c /vbox/src/VBox/Devices/Network/slirp/libslirp.h /vbox/src/VBox/Devices/Network/slirp/resolv_conf_parser.c /vbox/src/VBox/Devices/Network/slirp/resolv_conf_parser.h /vbox/src/VBox/Devices/Network/slirp/slirp.c /vbox/src/VBox/Devices/Network/slirp/slirp_dns.c /vbox/src/VBox/Devices/Network/slirp/slirp_state.h /vbox/src/VBox/Devices/Network/slirp/socket.c /vbox/src/VBox/Devices/PC/BIOS/floppy.c /vbox/src/VBox/Devices/Storage/DrvBlock.cpp /vbox/src/VBox/Devices/Storage/VSCSI/VSCSIInternal.h /vbox/src/VBox/Devices/USB/usbip/USBProxyDevice-usbip.cpp /vbox/src/VBox/Devices/build/VBoxDD.cpp /vbox/src/VBox/Devices/testcase/tstDeviceStructSizeRC.cpp /vbox/src/VBox/Frontends/VBoxManage/VBoxManageSnapshot.cpp /vbox/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp /vbox/src/VBox/Frontends/VBoxShell/vboxshell.py /vbox/src/VBox/Frontends/VirtualBox/src/platform/win/WinKeyboard.cpp /vbox/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp /vbox/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp /vbox/src/VBox/HostDrivers/Support/SUPLibLdr.cpp /vbox/src/VBox/HostDrivers/VBoxNetFlt/Makefile.kmk /vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/VBoxNetAdp-win.cpp /vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/VBoxNetLwf-win.cpp /vbox/src/VBox/HostServices/SharedClipboard/service.cpp /vbox/src/VBox/Installer/linux/install_service/init_template.sh /vbox/src/VBox/Installer/linux/install_service/install_service.sh /vbox/src/VBox/Installer/linux/testcase/tstInstallInit.sh /vbox/src/VBox/Main/Config.kmk /vbox/src/VBox/Main/include/QMTranslator.h /vbox/src/VBox/Main/src-client/RemoteUSBDeviceImpl.cpp /vbox/src/VBox/Main/src-server/HostDnsServiceResolvConf.cpp /vbox/src/VBox/Main/src-server/win/HostDnsServiceWin.cpp /vbox/src/VBox/Main/webservice/samples/python/clienttest.py lwipopts.h portfwd.c proxy.c pxdns.c pxping.c pxping_win.c pxtcp.c winutils.h /vbox/src/VBox/Runtime/common/asn1/asn1-ut-time-template.h /vbox/src/VBox/Runtime/common/checksum/alt-sha1.cpp /vbox/src/VBox/Runtime/common/checksum/openssl-sha512.cpp /vbox/src/VBox/Runtime/common/checksum/x509.cpp /vbox/src/VBox/Runtime/common/crypto/pkcs7-init.cpp /vbox/src/VBox/Runtime/common/crypto/pkix-signature-builtin.cpp /vbox/src/VBox/Runtime/common/crypto/rsa-internal.h /vbox/src/VBox/Runtime/common/crypto/rsa-template.h /vbox/src/VBox/Runtime/common/crypto/spc-init.cpp /vbox/src/VBox/Runtime/common/crypto/spc-sanity.cpp /vbox/src/VBox/Runtime/common/crypto/tsp-core.cpp /vbox/src/VBox/Runtime/common/crypto/tsp-sanity.cpp /vbox/src/VBox/Runtime/common/crypto/x509-core.cpp /vbox/src/VBox/Runtime/common/ldr/Makefile.kup /vbox/src/VBox/Runtime/common/net/netaddrstr2.cpp /vbox/src/VBox/Runtime/common/string/unidata-flags.cpp /vbox/src/VBox/Runtime/common/string/unidata-lower.cpp /vbox/src/VBox/Runtime/common/string/unidata-upper.cpp /vbox/src/VBox/Runtime/common/zip/pkzipvfs.cpp /vbox/src/VBox/Runtime/common/zip/tarvfs.cpp /vbox/src/VBox/Runtime/common/zip/unzipcmd.cpp /vbox/src/VBox/Runtime/r3/socket.cpp /vbox/src/VBox/Runtime/r3/win/process-win.cpp /vbox/src/VBox/Runtime/testcase/tstRTZip.cpp /vbox/src/VBox/Storage/VD.cpp /vbox/src/VBox/VMM/VMMR0/CPUMR0.cpp /vbox/src/VBox/VMM/VMMR3/PDMUsb.cpp /vbox/src/VBox/VMM/VMMR3/cpus/AMD_Athlon_64_3200.h /vbox/src/VBox/VMM/VMMR3/cpus/AMD_FX_8150_Eight_Core.h /vbox/src/VBox/VMM/VMMR3/cpus/AMD_Phenom_II_X6_1100T.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i5_3570.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_2635QM.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_3820QM.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Core_i7_3960X.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Pentium_4_3_00GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Pentium_M_processor_2_00GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Intel_Xeon_X5482_3_20GHz.h /vbox/src/VBox/VMM/VMMR3/cpus/Quad_Core_AMD_Opteron_2384.h /vbox/src/VBox/VMM/VMMR3/cpus/VIA_QuadCore_L4700_1_2_GHz.h /vbox/src/VBox/ValidationKit/testdriver/win-vbox-net-drvstore-cleanup.ps1 /vbox/src/VBox/ValidationKit/testdriver/win-vbox-net-uninstall.ps1 /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphgooglechart.py /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphmatplotlib.py /vbox/src/VBox/ValidationKit/testmanager/webui/wuihlpgraphsimple.py /vbox/src/recompiler/target-i386/exec.h /vbox/src/recompiler/target-i386/op_helper.c
5c2d199b221ace9ddfe14234a39789cbd66edd0c 52286 06-Aug-2014 vboxsync

NAT/Net: Add SET_SOCKERRNO() macro. Use it avoid clobbering errno.

5f53595a0c2e10e26dfc3e39c2d3f25b90d996f7 51597 10-Jun-2014 vboxsync

NAT/Net: convert perror/warn/warnx to DPRINTFs.

68cf6c70ea22b0fe8fb3207968921b67a2dfb5d8 51585 10-Jun-2014 vboxsync

NAT/Net: Fix previous - provide #include's necessary for proxy_error_is_transient() on the unix side of things too.

f9b7c399f212857656a229cce0d8335ab16798ec 51584 10-Jun-2014 vboxsync

NAT/Net: Hide checking for transient errors (EWOULDBLOCK &co) in an inline function to prevent #ifdef sprawl.

ffd7d8f3571ff4d018fa833dfea919d54e42f715 51583 10-Jun-2014 vboxsync

NAT/Net: On Windows provide all "Berkeley" WSAE* error codes with their unixy names. They conflict with "POSIX supplement" error codes from <errno.h>, but we don't expect to ever encounter the latter in the proxy code. Note that this change doesn't redefine short names for low-numbered WSAE* codes that would conflict with regular CRT - those will be dealt with separately.

b7fa8b09631f67d6557bf8e404a967dccaa4283b 51582 10-Jun-2014 vboxsync

NAT/Net: Drop errno redefinition kludge, socket errors are now accessed via wrapper macro on both unix and windows.

d5a9ad32d75e5aff807a76bffa77c8ebb6bbc308 51581 10-Jun-2014 vboxsync

NAT/Net: Start untangling errno vs. winsock mess. Don't refer errno directly, while here convert some perror() calls to DPRINTFs.

999a029fc1cb9858f58d8006fc990eb9d7b7c9cd 51577 09-Jun-2014 vboxsync

NAT/Net: Minor cosmetics in the unix section.

daef40d247c31e2073c0ed0ec55fac77a4b89ac3 51576 09-Jun-2014 vboxsync

NAT/Net: Get rid of inet_ntop(3) (not available on Windows XP). Since DPRINTFs now use Log*() calls we can use %RTnaipv4/%RTnaipv6.

7578535401764f07c4a6ef73ad4c721bc8d4adce 49857 10-Dec-2013 vboxsync

socklen_t is already defined in <ws2tcpip.h>, drop local definition.

1cafc9b257feaee8909767c041a12101754dcf8d 49856 10-Dec-2013 vboxsync

Redefine a few more socket errno values without WSA prefix. Note "re-", since VC10 "helpfully" introduced definitions for them for posix compatibility (except they forgot EHOSTDOWN).

fc0f29c74521f9841b4681f40382b054c87484b6 49707 28-Nov-2013 vboxsync

Provide CMSG_FIRSTHDR and CMSG_NXTHDR.

086e922d7411ec4cd730ac36981897694781988b 49695 28-Nov-2013 vboxsync

Provide some cmsghdr compat. CMSG_FIRSTHDR/CMSG_NXTHDR are not yet provided - they take WSAMSG argument (which uses different field names), so for them additional uglification is required to hide differences from msghdr.

e76de940115c0b65db127f2c1976777013412f62 49694 28-Nov-2013 vboxsync

Provide implementation of inet_ntop(), which is available only since Vista, in terms of WSAAddressToStringA(), available ~everywhere. It should probably be exiled into a proper .c file, but inline will do for now.

92b181b06e5bb8c7ad0fee0ff4d88053a2a75868 49691 28-Nov-2013 vboxsync

#include <mswsock.h> for LPFN_WSARECVMSG and friends.

3bf3476eddcff41d6b96a6eb6fcc3da1d5add188 49252 23-Oct-2013 vboxsync

NATNetwork: localize windows' headers inclusion.

2e21396b7e2a97ea80f7ae42858594443a96fc31 49022 10-Oct-2013 vboxsync

VBoxNetNAT/Win: removes inet_pton's Vista limitation, instead WSAStringToAddressA (minimum supported version is Win2k) is used. (tested for IPv4, in documentation (http://msdn.microsoft.com/en-us/library/windows/desktop/ms742214%28v=vs.85%29.aspx) hasn't mentioned any IPv6 limitations)

d5b5f09d8841828e647de9da5003fda55ca4cd5e 48956 08-Oct-2013 vboxsync

NetworkServices: Whitespace (including tabs!) and svn:keywords cleanups by scm.

a218a3f92594b5f2beb9c8298c6fe6e3a8e502f8 48001 22-Aug-2013 vboxsync

Move proxy sources from Devices/Network/lwip-new/vbox to NetworkServices/NAT where they belong.