summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/net/ipv4/sockopt_asmreq_stub.go
blob: e655635ecb22266938842838572a18d2e69b24b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2012 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// +build !darwin,!dragonfly,!freebsd,!netbsd,!openbsd,!solaris,!windows

package ipv4

import "net"

func setsockoptIPMreq(s uintptr, name int, ifi *net.Interface, grp net.IP) error {
	return errOpNoSupport
}

func getsockoptInterface(s uintptr, name int) (*net.Interface, error) {
	return nil, errOpNoSupport
}

func setsockoptInterface(s uintptr, name int, ifi *net.Interface) error {
	return errOpNoSupport
}