work in progress, establishes TCP connections and gets through metadata handshake using the link code, but doesn't seem to send traffic yet (no switch peers are created)

This commit is contained in:
Arceliar 2019-01-21 23:08:50 -06:00
parent 5a4d6481dd
commit 137212d8cf
4 changed files with 137 additions and 25 deletions

View file

@ -1,7 +1,7 @@
package yggdrasil
import (
"fmt"
//"fmt"
"sync"
)
@ -30,6 +30,7 @@ func (l *awdl) init(c *Core) error {
return nil
}
/* temporarily disabled while getting the TCP side to work
func (l *awdl) create(fromAWDL chan []byte, toAWDL chan []byte, name string) (*awdlInterface, error) {
link, err := l.core.link.create(fromAWDL, toAWDL, name)
if err != nil {
@ -90,3 +91,4 @@ func (ai *awdlInterface) handler() {
}
}
}
*/