aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2021-06-28 15:41:20 -0700
committerDamien Neil <dneil@google.com>2021-08-16 23:57:10 +0000
commit2a193337164c8af8cba3d5c4ec0f36413c528bd8 (patch)
treedc0cecef55b16e3c21b91f6e707941d83813162d /api
parent9c5eb16f6cba2b3d75f440dfec157183cc6d0f35 (diff)
downloadgo-2a193337164c8af8cba3d5c4ec0f36413c528bd8.tar.gz
go-2a193337164c8af8cba3d5c4ec0f36413c528bd8.zip
net: reduce allocations for UDP send/recv on Windows
This brings the optimizations added in CLs 331489 and 331490 to Windows. Updates #43451 Change-Id: I75cf520050325d9eb5c2785d6d8677cc864fcac8 Reviewed-on: https://go-review.googlesource.com/c/go/+/331511 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'api')
-rw-r--r--api/next.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/next.txt b/api/next.txt
index 4dbaae3cf2..3eb7f3f797 100644
--- a/api/next.txt
+++ b/api/next.txt
@@ -102,3 +102,7 @@ pkg syscall (openbsd-amd64-cgo), func RecvfromInet4(int, []uint8, int, *Sockaddr
pkg syscall (openbsd-amd64-cgo), func RecvfromInet6(int, []uint8, int, *SockaddrInet6) (int, error)
pkg syscall (openbsd-amd64-cgo), func SendtoInet4(int, []uint8, int, SockaddrInet4) error
pkg syscall (openbsd-amd64-cgo), func SendtoInet6(int, []uint8, int, SockaddrInet6) error
+pkg syscall (windows-386), func WSASendtoInet4(Handle, *WSABuf, uint32, *uint32, uint32, SockaddrInet4, *Overlapped, *uint8) error
+pkg syscall (windows-386), func WSASendtoInet6(Handle, *WSABuf, uint32, *uint32, uint32, SockaddrInet6, *Overlapped, *uint8) error
+pkg syscall (windows-amd64), func WSASendtoInet4(Handle, *WSABuf, uint32, *uint32, uint32, SockaddrInet4, *Overlapped, *uint8) error
+pkg syscall (windows-amd64), func WSASendtoInet6(Handle, *WSABuf, uint32, *uint32, uint32, SockaddrInet6, *Overlapped, *uint8) error