Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-02-06 | tun_windows: Introduce preliminary TUN interface creation | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | tun_windows: Stop checking minimum size of received TUN packets | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Add DrvInfoDetailData.IsCompatible() to simplify HID detection | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Add SP_DRVINFO_DATA.IsNewer() method to simplify comparison | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-06 | setupapi: Make toUTF16() public and add UTF16ToBuf() counterpart | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Fix up errors and paths | Jason A. Donenfeld | |
2019-02-05 | conn: close ipv4 socket when ipv6 socket fails | Jason A. Donenfeld | |
2019-02-05 | setupapi: Add support for driver info lists | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Move Go<>Windows struct marshaling to types_windows.go | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Add support for SetupDi(Get|Set)DeviceRegistryProperty() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | setupapi: Introduce DevInfo methods for cleaner code | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
2019-02-05 | Add support for setupapi.SetupDi(Get|Set)SelectedDevice() | Simon Rozman | |
Signed-off-by: Simon Rozman <simon@rozman.si> | |||
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 | |