mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-20 03:51:00 +00:00
28 lines
675 B
Go
28 lines
675 B
Go
|
// 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
|
||
|
|
||
|
import "syscall"
|
||
|
|
||
|
func setControlMessage(fd syscall.Handle, opt *rawOpt, cf ControlFlags, on bool) error {
|
||
|
// TODO(mikio): implement this
|
||
|
return syscall.EWINDOWS
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|