From baf4d8aaca520255d52627779ada2be56be7f861 Mon Sep 17 00:00:00 2001 From: gVisor bot Date: Mon, 26 Aug 2019 14:04:24 -0700 Subject: Internal change. PiperOrigin-RevId: 265535438 --- test/syscalls/linux/socket_test_util.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/syscalls/linux/socket_test_util.h') diff --git a/test/syscalls/linux/socket_test_util.h b/test/syscalls/linux/socket_test_util.h index ae0da2679..6efa8055f 100644 --- a/test/syscalls/linux/socket_test_util.h +++ b/test/syscalls/linux/socket_test_util.h @@ -492,6 +492,11 @@ uint16_t UDPChecksum(struct iphdr iphdr, struct udphdr udphdr, uint16_t ICMPChecksum(struct icmphdr icmphdr, const char* payload, ssize_t payload_len); +namespace internal { +PosixErrorOr TryPortAvailable(int port, AddressFamily family, + SocketType type, bool reuse_addr); +} // namespace internal + } // namespace testing } // namespace gvisor -- cgit v1.2.3