Versions in this module Expand all Collapse all v0 v0.1.1 Mar 15, 2021 Changes in this version + type Endpoint struct + C chan PacketInfo + func New(size int, mtu uint32, linkAddr tcpip.LinkAddress) (tcpip.LinkEndpointID, *Endpoint) + func (*Endpoint) Capabilities() stack.LinkEndpointCapabilities + func (*Endpoint) MaxHeaderLength() uint16 + func (e *Endpoint) Attach(dispatcher stack.NetworkDispatcher) + func (e *Endpoint) Drain() int + func (e *Endpoint) Inject(protocol tcpip.NetworkProtocolNumber, vv buffer.VectorisedView) + func (e *Endpoint) InjectLinkAddr(protocol tcpip.NetworkProtocolNumber, remoteLinkAddr tcpip.LinkAddress, ...) + func (e *Endpoint) IsAttached() bool + func (e *Endpoint) LinkAddress() tcpip.LinkAddress + func (e *Endpoint) MTU() uint32 + func (e *Endpoint) WritePacket(_ *stack.Route, hdr buffer.Prependable, payload buffer.VectorisedView, ...) *tcpip.Error + type PacketInfo struct + Header buffer.View + Payload buffer.View + Proto tcpip.NetworkProtocolNumber