Name: taptun
Owner: pkg
Description: Control TUN/TAP virtual network interfaces.
Created: 2014-08-31 03:20:02.0
Updated: 2017-10-23 06:12:47.0
Pushed: 2016-04-24 13:19:34.0
Homepage: null
Size: 12
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
import "github.com/pkg/taptun"
Package taptun provides an interface to the user level network TAP / TUN device.
a href=“https://www.kernel.org/doc/Documentation/networking/tuntap.txt”>https://www.kernel.org/doc/Documentation/networking/tuntap.txt
Tap struct {
io.ReadWriteCloser
// contains filtered or unexported fields
Tap represents a TAP Virtual Ethernet network device.
OpenTap() (*Tap, error)
OpenTap creates a tapN interface and returns a *Tap device connected to the t pinterface.
(t *Tap) String() string
Tun struct {
io.ReadWriteCloser
// contains filtered or unexported fields
Tun represents a TUN Virtual Point-to-Point network device.
OpenTun() (*Tun, error)
OpenTun creates a tunN interface and returns a *Tun device connected to the tun interface.
(t *Tun) String() string
Generated by godoc2md