Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TunTap ¶
type TunTap interface { Name() string io.ReadWriteCloser }
func OpenTap ¶
func OpenTap(name TunTapName) (TunTap, error)
func OpenTun ¶
func OpenTun(name TunTapName) (TunTap, error)
type TunTapName ¶
type TunTapName string
func NewTapName ¶
func NewTapName() TunTapName
func NewTunName ¶
func NewTunName() TunTapName
func TunTapNameFromString ¶
func TunTapNameFromString(s string) TunTapName
func (TunTapName) String ¶
func (n TunTapName) String() string
Click to show internal directories.
Click to hide internal directories.