2017-10-10 08:14:44 +00:00
|
|
|
// Copyright 2012 The Go Authors. All rights reserved.
|
2017-10-10 08:13:14 +00:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package ipv4
|
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
import (
|
|
|
|
"syscall"
|
2017-10-10 08:13:14 +00:00
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
"golang.org/x/net/internal/socket"
|
|
|
|
)
|
2017-10-10 08:13:14 +00:00
|
|
|
|
2017-10-10 08:14:44 +00:00
|
|
|
func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error {
|
2017-10-10 08:13:14 +00:00
|
|
|
// TODO(mikio): implement this
|
2017-10-10 08:14:44 +00:00
|
|
|
return syscall.EWINDOWS
|
2017-10-10 08:13:14 +00:00
|
|
|
}
|