sockoptip_stub.go 955 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // Copyright 2011 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 nacl solaris
  5. package net
  6. import "syscall"
  7. func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
  8. // See golang.org/issue/7399.
  9. return syscall.ENOPROTOOPT
  10. }
  11. func setIPv4MulticastLoopback(fd *netFD, v bool) error {
  12. // See golang.org/issue/7399.
  13. return syscall.ENOPROTOOPT
  14. }
  15. func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
  16. // See golang.org/issue/7399.
  17. return syscall.ENOPROTOOPT
  18. }
  19. func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
  20. // See golang.org/issue/7399.
  21. return syscall.ENOPROTOOPT
  22. }
  23. func setIPv6MulticastLoopback(fd *netFD, v bool) error {
  24. // See golang.org/issue/7399.
  25. return syscall.ENOPROTOOPT
  26. }
  27. func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
  28. // See golang.org/issue/7399.
  29. return syscall.ENOPROTOOPT
  30. }