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 Endpoint struct + GSO bool + func New(size int, mtu uint32, linkAddr tcpip.LinkAddress) *Endpoint + func (*Endpoint) GSOMaxSize() uint32 + func (*Endpoint) MaxHeaderLength() uint16 + func (*Endpoint) Wait() + func (e *Endpoint) Attach(dispatcher stack.NetworkDispatcher) + func (e *Endpoint) Capabilities() stack.LinkEndpointCapabilities + func (e *Endpoint) Close() + func (e *Endpoint) Drain() int + func (e *Endpoint) InjectInbound(protocol tcpip.NetworkProtocolNumber, pkt tcpip.PacketBuffer) + func (e *Endpoint) InjectLinkAddr(protocol tcpip.NetworkProtocolNumber, remote tcpip.LinkAddress, ...) + func (e *Endpoint) IsAttached() bool + func (e *Endpoint) LinkAddress() tcpip.LinkAddress + func (e *Endpoint) MTU() uint32 + func (e *Endpoint) Read() (*PacketInfo, error) + func (e *Endpoint) WritePacket(_ *stack.Route, gso *stack.GSO, protocol tcpip.NetworkProtocolNumber, ...) *tcpip.Error + func (e *Endpoint) WritePackets(_ *stack.Route, gso *stack.GSO, hdrs []stack.PacketDescriptor, ...) (int, *tcpip.Error) + func (e *Endpoint) WriteRawPacket(vv buffer.VectorisedView) *tcpip.Error + type PacketInfo struct + GSO *stack.GSO + Pkt tcpip.PacketBuffer + Proto tcpip.NetworkProtocolNumber