sockopt_stub.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris,!windows
  5. package ipv6
  6. import (
  7. "net"
  8. "golang.org/x/net/bpf"
  9. "golang.org/x/net/internal/socket"
  10. )
  11. func (so *sockOpt) getMulticastInterface(c *socket.Conn) (*net.Interface, error) {
  12. return nil, errNotImplemented
  13. }
  14. func (so *sockOpt) setMulticastInterface(c *socket.Conn, ifi *net.Interface) error {
  15. return errNotImplemented
  16. }
  17. func (so *sockOpt) getICMPFilter(c *socket.Conn) (*ICMPFilter, error) {
  18. return nil, errNotImplemented
  19. }
  20. func (so *sockOpt) setICMPFilter(c *socket.Conn, f *ICMPFilter) error {
  21. return errNotImplemented
  22. }
  23. func (so *sockOpt) getMTUInfo(c *socket.Conn) (*net.Interface, int, error) {
  24. return nil, 0, errNotImplemented
  25. }
  26. func (so *sockOpt) setGroup(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
  27. return errNotImplemented
  28. }
  29. func (so *sockOpt) setSourceGroup(c *socket.Conn, ifi *net.Interface, grp, src net.IP) error {
  30. return errNotImplemented
  31. }
  32. func (so *sockOpt) setBPF(c *socket.Conn, f []bpf.RawInstruction) error {
  33. return errNotImplemented
  34. }