Versions in this module Expand all Collapse all v1 v1.12.0 Nov 22, 2023 v1.2.0 Nov 22, 2023 Changes in this version + type InjectableEndpoint struct + func NewInjectableEndpoint(routes map[tcpip.Address]stack.InjectableLinkEndpoint) *InjectableEndpoint + func (m *InjectableEndpoint) Attach(dispatcher stack.NetworkDispatcher) + func (m *InjectableEndpoint) Capabilities() stack.LinkEndpointCapabilities + func (m *InjectableEndpoint) InjectInbound(protocol tcpip.NetworkProtocolNumber, pkt tcpip.PacketBuffer) + func (m *InjectableEndpoint) InjectOutbound(dest tcpip.Address, packet []byte) *tcpip.Error + func (m *InjectableEndpoint) IsAttached() bool + func (m *InjectableEndpoint) LinkAddress() tcpip.LinkAddress + func (m *InjectableEndpoint) MTU() uint32 + func (m *InjectableEndpoint) MaxHeaderLength() uint16 + func (m *InjectableEndpoint) Wait() + func (m *InjectableEndpoint) WritePacket(r *stack.Route, gso *stack.GSO, protocol tcpip.NetworkProtocolNumber, ...) *tcpip.Error + func (m *InjectableEndpoint) WritePackets(r *stack.Route, gso *stack.GSO, hdrs []stack.PacketDescriptor, ...) (int, *tcpip.Error) + func (m *InjectableEndpoint) WriteRawPacket(buffer.VectorisedView) *tcpip.Error