// +build !linux package redir import ( "errors" "syscall" ) func setsockopt(rc syscall.RawConn, addr string) error { return errors.New("Not supported on current platform") }