sys_asmreq_stub.go 739 B

1234567891011121314151617181920212223242526
  1. // Copyright 2017 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. //go:build !aix && !darwin && !dragonfly && !freebsd && !netbsd && !openbsd && !solaris && !windows
  5. // +build !aix,!darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows
  6. package ipv4
  7. import (
  8. "net"
  9. "golang.org/x/net/internal/socket"
  10. )
  11. func (so *sockOpt) setIPMreq(c *socket.Conn, ifi *net.Interface, grp net.IP) error {
  12. return errNotImplemented
  13. }
  14. func (so *sockOpt) getMulticastIf(c *socket.Conn) (*net.Interface, error) {
  15. return nil, errNotImplemented
  16. }
  17. func (so *sockOpt) setMulticastIf(c *socket.Conn, ifi *net.Interface) error {
  18. return errNotImplemented
  19. }