2017-09-23 01:03:27 +02:00
|
|
|
// Copyright 2013 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
package ipv6
|
|
|
|
|
2017-09-24 03:46:56 +02:00
|
|
|
import "syscall"
|
2017-09-23 01:03:27 +02:00
|
|
|
|
2017-09-24 03:46:56 +02:00
|
|
|
func setControlMessage(s uintptr, opt *rawOpt, cf ControlFlags, on bool) error {
|
2017-09-23 01:03:27 +02:00
|
|
|
// TODO(mikio): implement this
|
|
|
|
return syscall.EWINDOWS
|
|
|
|
}
|
2017-09-24 03:46:56 +02:00
|
|
|
|
|
|
|
func newControlMessage(opt *rawOpt) (oob []byte) {
|
|
|
|
// TODO(mikio): implement this
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func parseControlMessage(b []byte) (*ControlMessage, error) {
|
|
|
|
// TODO(mikio): implement this
|
|
|
|
return nil, syscall.EWINDOWS
|
|
|
|
}
|
|
|
|
|
|
|
|
func marshalControlMessage(cm *ControlMessage) (oob []byte) {
|
|
|
|
// TODO(mikio): implement this
|
|
|
|
return nil
|
|
|
|
}
|