dgramopt_stub.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Copyright 2012 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 dragonfly plan9 solaris
  5. package ipv4
  6. import "net"
  7. func (c *dgramOpt) MulticastTTL() (int, error) {
  8. // TODO(mikio): Implement this
  9. return 0, errOpNoSupport
  10. }
  11. func (c *dgramOpt) SetMulticastTTL(ttl int) error {
  12. // TODO(mikio): Implement this
  13. return errOpNoSupport
  14. }
  15. func (c *dgramOpt) MulticastInterface() (*net.Interface, error) {
  16. // TODO(mikio): Implement this
  17. return nil, errOpNoSupport
  18. }
  19. func (c *dgramOpt) SetMulticastInterface(ifi *net.Interface) error {
  20. // TODO(mikio): Implement this
  21. return errOpNoSupport
  22. }
  23. func (c *dgramOpt) MulticastLoopback() (bool, error) {
  24. // TODO(mikio): Implement this
  25. return false, errOpNoSupport
  26. }
  27. func (c *dgramOpt) SetMulticastLoopback(on bool) error {
  28. // TODO(mikio): Implement this
  29. return errOpNoSupport
  30. }
  31. func (c *dgramOpt) JoinGroup(ifi *net.Interface, grp net.Addr) error {
  32. // TODO(mikio): Implement this
  33. return errOpNoSupport
  34. }
  35. func (c *dgramOpt) LeaveGroup(ifi *net.Interface, grp net.Addr) error {
  36. // TODO(mikio): Implement this
  37. return errOpNoSupport
  38. }