Documentation ¶
Index ¶
Constants ¶
View Source
const (
StandardBufferSize int = 1600
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TAPInterface ¶
type TAPInterface struct { Name string MAC data.MACAddr BufferSize int RecvPacketQueue chan []byte SendPacketQueue chan []byte // contains filtered or unexported fields }
func Create ¶
func Create() (*TAPInterface, error)
func (*TAPInterface) Close ¶
func (t *TAPInterface) Close()
func (*TAPInterface) Stop ¶
func (t *TAPInterface) Stop()
Click to show internal directories.
Click to hide internal directories.