Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-05 | Reorder data-types and functions to match SetupAPI.h | Simon Rozman | |
Adding functions with non-consistent order made setupapi package a mess. While we could reorder data-types and functions by alphabet - it would make searching easier - it would put ...Get... and ...Set... functions quite apart. Therefore, the SetupAPI.h order was adopted. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiCreateDeviceInfo() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.setupDiCreateDeviceInfoListEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Stop accessing SetupDiGetDeviceInfoListDetail() output on error | Simon Rozman | |
The data returned by SetupDiGetDeviceInfoListDetail() is nil on error which will cause the test to crash should the function fail. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Unify certain variable names | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Simplify SetupDiEnumDeviceInfo() synopsis | Simon Rozman | |
The SetupDiEnumDeviceInfo() now returns a SP_DEVINFO_DATA rather than taking it on input to fill it on return. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Change generic local variable names with meaningful replacements | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiClassGuidsFromNameEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Clean an unused constant | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Replace SetupDiClassNameFromGuid() with SetupDiClassNameFromGuidEx() | Simon Rozman | |
The former is only a subset of the later. To minimize future maintenance, we'll provide support for extended version only. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiClassNameFromGuid() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Stop checking for valid handle in DevInfo.Close() | Simon Rozman | |
User should not have called or deferred the Close() method should SetupDiGetClassDevsEx() return an error (and invalid handle). And even if user does that, a SetupDiDestroyDeviceInfoList(INVALID_HANDLE_VALUE) is harmless. It just returns ERROR_INVALID_HANDLE - we have a unit test for this in TestSetupDiDestroyDeviceInfoList(). Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiCallClassInstaller() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)ClassInstallParams() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)DeviceInstallParams() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiOpenDevRegKey() | Simon Rozman | |
Furthermore setupapi.DevInfoData has been obsoleted. SetupDiEnumDeviceInfo() fills existing SP_DEVINFO_DATA structure now. As other functions of SetupAPI use SP_DEVINFO_DATA, converting it to DevInfoData and back would hurt performance. Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiEnumDeviceInfo() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Update exported types and functions annotations | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDiGetDeviceInfoListDetail() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Finish support for setupapi.SetupDiGetClassDevsEx() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Introduce SetupAPI - Windows device and driver management API | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Import windows scafolding | Jason A. Donenfeld | |
2019-02-05 | noise: store clamped key instead of raw key | Jason A. Donenfeld | |
2019-02-05 | tai64n: whiten nano seconds | Jason A. Donenfeld | |
Avoid being too precise of a time oracle. | |||
2019-02-05 | uapi: Simpler function signature | Jason A. Donenfeld | |
2019-02-05 | Extend structs rather than embed, when possible | Jason A. Donenfeld | |
2019-02-05 | Update copyright | Jason A. Donenfeld | |
2018-12-25 | Properly bubble up setsockopt error from closure | Jason A. Donenfeld | |
2018-12-22 | version: bump snapshot | Jason A. Donenfeld | |
2018-12-19 | Make error messages consistent | Jason A. Donenfeld | |
2018-12-11 | Freebsd is finally normal in sys/unix | Jason A. Donenfeld | |
2018-12-11 | Separate out mark setting for Windows | Jason A. Donenfeld | |
2018-12-10 | Use upstream's xchacha20poly1305 | Jason A. Donenfeld | |
2018-12-10 | Update go x/ libraries | Jason A. Donenfeld | |
Android 9's Bionic disallows inotify_init with seccomp, so we want the latest unix change, and while we're at it, we update the others too. Reported-by: Berk D. Demir <bdd@mindcast.org> Go CL: https://go-review.googlesource.com/c/sys/+/153318 Fixes: https://lists.zx2c4.com/pipermail/wireguard/2018-December/003642.html | |||
2018-12-06 | tun: remove nonblock hack for linux | Jason A. Donenfeld | |
This is no longer necessary and actually breaks things Reported-by: Chris Branch <cbranch@cloudflare.com> | |||
2018-11-08 | tai64n: use proper nanoseconds offset | Jason A. Donenfeld | |
The code before was obviously wrong. Reported-by: Vlad Krasnov <vlad@cloudflare.com> | |||
2018-11-06 | Use darwin tun on ios | Jason A. Donenfeld | |
2018-11-05 | uapi: typo | Jason A. Donenfeld | |
2018-11-01 | receive: make started status uniform | Jason A. Donenfeld | |
2018-10-18 | send: do not unlock already freed object | Jason A. Donenfeld | |
2018-10-18 | version: bump snapshot | Jason A. Donenfeld | |
2018-10-17 | Makefile: rename default to all | Jason A. Donenfeld | |
2018-10-17 | tun: only call .Fd() once | Jason A. Donenfeld | |
Doing so tends to make the tunnel blocking, so we only retrieve it once before we call SetNonblock, and then cache the result. | |||
2018-10-12 | Use go modules always | Jason A. Donenfeld | |
2018-10-12 | Do not build if nothing to do | Jason A. Donenfeld | |
2018-10-09 | Switch to go modules | Jason A. Donenfeld | |
2018-10-01 | version: bump snapshot | Jason A. Donenfeld | |
2018-10-01 | Adding missing queueconstants file | Jason A. Donenfeld | |
2018-09-25 | Fix transport message length check | Chris Branch | |
wireguard-go has a bad length check in its transport message handling. Although it cannot be exploited because of another length check earlier in the function, this should be fixed regardless. | |||
2018-09-25 | Make it easy to restrict queue sizes more | Jason A. Donenfeld | |