mirror of
https://github.com/yggdrasil-network/yggdrasil-go.git
synced 2024-12-22 16:07:31 +00:00
18 lines
346 B
Go
18 lines
346 B
Go
// +build !darwin,!linux
|
|
|
|
package yggdrasil
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
// WARNING: This context is used both by net.Dialer and net.Listen in tcp.go
|
|
|
|
func (t *tcp) tcpContext(network, address string, c syscall.RawConn) error {
|
|
return nil
|
|
}
|
|
|
|
func (t *tcp) getControl(sintf string) func(string, string, syscall.RawConn) error {
|
|
return t.tcpContext
|
|
}
|