mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 21:33:57 -07:00
This commit is contained in:
parent
b540181990
commit
fbf74d3baa
5 changed files with 52 additions and 11 deletions
|
@ -17,6 +17,8 @@ import "net"
|
|||
|
||||
// Tap represents an Ethernet tap connecting a virtual network to a device or something else "real"
|
||||
type Tap interface {
|
||||
Type() string
|
||||
Error() (int, string)
|
||||
SetEnabled(enabled bool)
|
||||
Enabled() bool
|
||||
AddIP(ip net.IPNet) error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue