control_stub.go 645 B

12345678910111213141516171819202122232425
  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. // +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
  5. package ipv6
  6. import "golang.org/x/net/internal/socket"
  7. func setControlMessage(c *socket.Conn, opt *rawOpt, cf ControlFlags, on bool) error {
  8. return errOpNoSupport
  9. }
  10. func newControlMessage(opt *rawOpt) (oob []byte) {
  11. return nil
  12. }
  13. func parseControlMessage(b []byte) (*ControlMessage, error) {
  14. return nil, errOpNoSupport
  15. }
  16. func marshalControlMessage(cm *ControlMessage) (oob []byte) {
  17. return nil
  18. }