| 14 | ) |
| 15 | |
| 16 | type VirtualNet interface { |
| 17 | Bind(node state.NodeId) conn.Bind |
| 18 | Tun(node state.NodeId) tun.Device |
| 19 | } |
| 20 | |
| 21 | func NewWireGuardDevice(n *Nylon) (dev *device.Device, tunDevice tun.Device, realItf string, err error) { |
| 22 | x := n.AuxConfig["vnet"] |
no outgoing calls
no test coverage detected