diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-08-27 18:22:21 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-08-27 18:22:21 +0000 |
commit | 271ed35bb06d0af7745f116630d986a02183c79d (patch) | |
tree | 21d2faf352a779118f8203ed84869efb85298d1d /pkg/tcpip/link/fdbased | |
parent | dab18d9525e50d135aff0758d2171bf021d240bb (diff) | |
parent | fbf020d6a0258275a68573032bea225a1f5396ab (diff) |
Merge release-20210816.0-49-gfbf020d6a (automated)
Diffstat (limited to 'pkg/tcpip/link/fdbased')
-rw-r--r-- | pkg/tcpip/link/fdbased/endpoint.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/tcpip/link/fdbased/endpoint.go b/pkg/tcpip/link/fdbased/endpoint.go index 48356c343..058242f96 100644 --- a/pkg/tcpip/link/fdbased/endpoint.go +++ b/pkg/tcpip/link/fdbased/endpoint.go @@ -505,6 +505,9 @@ func (e *endpoint) AddHeader(local, remote tcpip.LinkAddress, protocol tcpip.Net } } +// WriteRawPacket implements stack.LinkEndpoint. +func (*endpoint) WriteRawPacket(*stack.PacketBuffer) tcpip.Error { return &tcpip.ErrNotSupported{} } + // WritePacket writes outbound packets to the file descriptor. If it is not // currently writable, the packet is dropped. func (e *endpoint) WritePacket(r stack.RouteInfo, protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer) tcpip.Error { |