Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(msg *pktiopb.HostPortControlMessage) (pktiohandler.PortIO, error)
New creates a new tap interface.
Types ¶
type TapInterface ¶
TapInterface is Linux tap interface.
func (*TapInterface) Delete ¶
func (t *TapInterface) Delete() error
Delete deletes the tap interface.
func (*TapInterface) IfIndex ¶
func (t *TapInterface) IfIndex() int
func (*TapInterface) Write ¶
func (t *TapInterface) Write(frame []byte, _ *kernel.PacketMetadata) (int, error)
Click to show internal directories.
Click to hide internal directories.