From 79511e8a50facd509b8180d0160762b510dd6196 Mon Sep 17 00:00:00 2001 From: Rahat Mahmood Date: Thu, 1 Aug 2019 13:57:41 -0700 Subject: Implement getsockopt(TCP_INFO). Export some readily-available fields for TCP_INFO and stub out the rest. PiperOrigin-RevId: 261191548 --- pkg/tcpip/tcpip.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pkg/tcpip/tcpip.go') diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index 4208c0303..690c00edb 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -476,14 +476,6 @@ type QuickAckOption int // Only supported on Unix sockets. type PasscredOption int -// TCPInfoOption is used by GetSockOpt to expose TCP statistics. -// -// TODO(b/64800844): Add and populate stat fields. -type TCPInfoOption struct { - RTT time.Duration - RTTVar time.Duration -} - // KeepaliveEnabledOption is used by SetSockOpt/GetSockOpt to specify whether // TCP keepalive is enabled for this socket. type KeepaliveEnabledOption int -- cgit v1.2.3