Versions in this module Expand all Collapse all v0 v0.4.0 Feb 10, 2022 Changes in this version + func Open(tunName string) (stack.LinkEndpoint, error) + type RWEndpoint struct — darwin/amd64, js/wasm, windows/amd64 + func NewRWEndpoint(dev wgtun.Device, mtu uint32) *RWEndpoint + func (*RWEndpoint) ARPHardwareType() header.ARPHardwareType + func (*RWEndpoint) AddHeader(local, remote tcpip.LinkAddress, protocol tcpip.NetworkProtocolNumber, ...) + func (*RWEndpoint) WriteRawPacket(*stack.PacketBuffer) tcpip.Error + func (m *RWEndpoint) Attach(dispatcher stack.NetworkDispatcher) + func (m *RWEndpoint) Capabilities() stack.LinkEndpointCapabilities + func (m *RWEndpoint) IsAttached() bool + func (m *RWEndpoint) LinkAddress() tcpip.LinkAddress + func (m *RWEndpoint) MTU() uint32 + func (m *RWEndpoint) MaxHeaderLength() uint16 + func (m *RWEndpoint) Wait() + func (m *RWEndpoint) WritePacket(r stack.RouteInfo, protocol tcpip.NetworkProtocolNumber, ...) tcpip.Error + func (m *RWEndpoint) WritePackets(r stack.RouteInfo, pkts stack.PacketBufferList, ...) (int, tcpip.Error)