Versions in this module Expand all Collapse all v1 v1.0.1 Apr 30, 2024 Changes in this version + const BatchSize — linux/amd64 + const MaxMsgsPerRecv — linux/amd64 + var BufConfig = []int — linux/amd64 + func New(opts *Options) (stack.LinkEndpoint, error) — linux/amd64 + type InjectableEndpoint struct — linux/amd64 + func NewInjectable(fd int, mtu uint32, capabilities stack.LinkEndpointCapabilities) (*InjectableEndpoint, error) + func (e *InjectableEndpoint) ARPHardwareType() header.ARPHardwareType + func (e *InjectableEndpoint) AddHeader(pkt *stack.PacketBuffer) + func (e *InjectableEndpoint) Attach(dispatcher stack.NetworkDispatcher) + func (e *InjectableEndpoint) Capabilities() stack.LinkEndpointCapabilities + func (e *InjectableEndpoint) GSOMaxSize() uint32 + func (e *InjectableEndpoint) InjectInbound(protocol tcpip.NetworkProtocolNumber, pkt *stack.PacketBuffer) + func (e *InjectableEndpoint) InjectOutbound(dest tcpip.Address, packet *buffer.View) tcpip.Error + func (e *InjectableEndpoint) IsAttached() bool + func (e *InjectableEndpoint) LinkAddress() tcpip.LinkAddress + func (e *InjectableEndpoint) MTU() uint32 + func (e *InjectableEndpoint) MaxHeaderLength() uint16 + func (e *InjectableEndpoint) ParseHeader(pkt *stack.PacketBuffer) bool + func (e *InjectableEndpoint) SupportedGSO() stack.SupportedGSO + func (e *InjectableEndpoint) Wait() + func (e *InjectableEndpoint) WritePackets(pkts stack.PacketBufferList) (int, tcpip.Error) + type Options struct — linux/amd64 + Address tcpip.LinkAddress + ClosedFunc func(tcpip.Error) + DisconnectOk bool + EthernetHeader bool + FDs []int + GRO bool + GSOMaxSize uint32 + GVisorGSOEnabled bool + InterfaceIndex int + MTU uint32 + MaxSyscallHeaderBytes int + PacketDispatchMode PacketDispatchMode + ProcessorsPerChannel int + RXChecksumOffload bool + SaveRestore bool + TXChecksumOffload bool + type PacketDispatchMode int — linux/amd64 + const PacketMMap + const Readv + const RecvMMsg + func (p PacketDispatchMode) String() string