2016-07-22 20:15:38 +02:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
2014-07-19 10:53:52 +02:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2018-01-09 02:23:08 +01:00
|
|
|
// +build nacl
|
2014-07-19 10:53:52 +02:00
|
|
|
|
|
|
|
package net
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv4MulticastLoopback(fd *netFD, v bool) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv6MulticastLoopback(fd *netFD, v bool) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
|
|
|
|
// See golang.org/issue/7399.
|
2015-01-15 01:27:56 +01:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 10:53:52 +02:00
|
|
|
}
|