summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/muxed
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-08-27 18:22:21 +0000
committergVisor bot <gvisor-bot@google.com>2021-08-27 18:22:21 +0000
commit271ed35bb06d0af7745f116630d986a02183c79d (patch)
tree21d2faf352a779118f8203ed84869efb85298d1d /pkg/tcpip/link/muxed
parentdab18d9525e50d135aff0758d2171bf021d240bb (diff)
parentfbf020d6a0258275a68573032bea225a1f5396ab (diff)
Merge release-20210816.0-49-gfbf020d6a (automated)
Diffstat (limited to 'pkg/tcpip/link/muxed')
-rw-r--r--pkg/tcpip/link/muxed/injectable.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/tcpip/link/muxed/injectable.go b/pkg/tcpip/link/muxed/injectable.go
index 3e2a1aa94..844f5959b 100644
--- a/pkg/tcpip/link/muxed/injectable.go
+++ b/pkg/tcpip/link/muxed/injectable.go
@@ -131,6 +131,11 @@ func (*InjectableEndpoint) ARPHardwareType() header.ARPHardwareType {
func (*InjectableEndpoint) AddHeader(local, remote tcpip.LinkAddress, protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer) {
}
+// WriteRawPacket implements stack.LinkEndpoint.
+func (*InjectableEndpoint) WriteRawPacket(*stack.PacketBuffer) tcpip.Error {
+ return &tcpip.ErrNotSupported{}
+}
+
// NewInjectableEndpoint creates a new multi-endpoint injectable endpoint.
func NewInjectableEndpoint(routes map[tcpip.Address]stack.InjectableLinkEndpoint) *InjectableEndpoint {
return &InjectableEndpoint{