]> Cypherpunks.ru repositories - gostls13.git/commit
internal/poll: add GetsockoptInt
authorMatthieu Baerts <matthieu.baerts@tessares.net>
Fri, 24 Feb 2023 16:51:59 +0000 (17:51 +0100)
committerGopher Robot <gobot@golang.org>
Tue, 18 Apr 2023 13:44:49 +0000 (13:44 +0000)
commit5a34790d6dd0b31b1070e0f7df9b0c57c2d62525
treef0a8e3a17b12a4147ca86a6ee9e601e1cb0234c8
parent5e03a9c4b203f529379f913d47ebf8b31cc34699
internal/poll: add GetsockoptInt

This new function wraps the getsockopt network call with an integer
argument, similar to SetsockoptInt.

This will be used in MPTCP in the following commit.

This work has been co-developed by Gregory Detal
<gregory.detal@tessares.net>.

Updates #59166

Change-Id: I8f6aa00ea2535683d9bbf436993c23e9c6ca2af3
Reviewed-on: https://go-review.googlesource.com/c/go/+/471139
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/internal/poll/sockopt.go