github.com/slackhq/nebula@v1.9.0/overlay/tun_notwin.go (about) 1 //go:build !windows 2 // +build !windows 3 4 package overlay 5 6 import "syscall" 7 8 func ioctl(a1, a2, a3 uintptr) error { 9 _, _, errno := syscall.Syscall(syscall.SYS_IOCTL, a1, a2, a3) 10 if errno != 0 { 11 return errno 12 } 13 return nil 14 }