sockopt_asmreq_stub.go 573 B

123456789101112131415161718192021
  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 !darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows
  5. package ipv4
  6. import "net"
  7. func setsockoptIPMreq(s uintptr, name int, ifi *net.Interface, grp net.IP) error {
  8. return errOpNoSupport
  9. }
  10. func getsockoptInterface(s uintptr, name int) (*net.Interface, error) {
  11. return nil, errOpNoSupport
  12. }
  13. func setsockoptInterface(s uintptr, name int, ifi *net.Interface) error {
  14. return errOpNoSupport
  15. }