5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-26 16:31:41 +00:00
yggdrasil-go/src/yggdrasil/tcp_other.go

18 lines
346 B
Go
Raw Normal View History

// +build !darwin,!linux
2019-01-13 18:08:41 +00:00
package yggdrasil
import (
"syscall"
)
// WARNING: This context is used both by net.Dialer and net.Listen in tcp.go
2019-03-04 17:52:57 +00:00
func (t *tcp) tcpContext(network, address string, c syscall.RawConn) error {
2019-01-13 18:08:41 +00:00
return nil
}
func (t *tcp) getControl(sintf string) func(string, string, syscall.RawConn) error {
return t.tcpContext
}