control_windows.go 713 B

12345678910111213141516171819202122232425262728293031
  1. // Copyright 2013 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package ipv6
  5. import (
  6. "syscall"
  7. "golang.org/x/net/internal/socket"
  8. )
  9. func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error {
  10. // TODO(mikio): implement this
  11. return syscall.EWINDOWS
  12. }
  13. func newControlMessage(opt *rawOpt) (oob []byte) {
  14. // TODO(mikio): implement this
  15. return nil
  16. }
  17. func parseControlMessage(b []byte) (*ControlMessage, error) {
  18. // TODO(mikio): implement this
  19. return nil, syscall.EWINDOWS
  20. }
  21. func marshalControlMessage(cm *ControlMessage) (oob []byte) {
  22. // TODO(mikio): implement this
  23. return nil
  24. }