libgo: update to Go 1.11
[official-gcc.git] / libgo / go / net / sockoptip_stub.go
blob3297969314e911a3a9d0a18923d5f3a8f9d0837b
1 // Copyright 2011 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.
5 // +build nacl js,wasm
7 package net
9 import "syscall"
11 func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
12 // See golang.org/issue/7399.
13 return syscall.ENOPROTOOPT
16 func setIPv4MulticastLoopback(fd *netFD, v bool) error {
17 // See golang.org/issue/7399.
18 return syscall.ENOPROTOOPT
21 func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
22 // See golang.org/issue/7399.
23 return syscall.ENOPROTOOPT
26 func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
27 // See golang.org/issue/7399.
28 return syscall.ENOPROTOOPT
31 func setIPv6MulticastLoopback(fd *netFD, v bool) error {
32 // See golang.org/issue/7399.
33 return syscall.ENOPROTOOPT
36 func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
37 // See golang.org/issue/7399.
38 return syscall.ENOPROTOOPT