From 7c8ba72b026db3b79f12e679ab69078a25c143e8 Mon Sep 17 00:00:00 2001 From: Nayana Bidari Date: Tue, 22 Dec 2020 14:41:11 -0800 Subject: Move SO_BINDTODEVICE to socketops. PiperOrigin-RevId: 348696094 --- 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 d195304be..ef0f51f1a 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -955,14 +955,6 @@ type SettableSocketOption interface { isSettableSocketOption() } -// BindToDeviceOption is used by SetSockOpt/GetSockOpt to specify that sockets -// should bind only on a specific NIC. -type BindToDeviceOption NICID - -func (*BindToDeviceOption) isGettableSocketOption() {} - -func (*BindToDeviceOption) isSettableSocketOption() {} - // TCPInfoOption is used by GetSockOpt to expose TCP statistics. // // TODO(b/64800844): Add and populate stat fields. -- cgit v1.2.3