2016-07-22 18:15:38 +00:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
2014-07-19 08:53:52 +00:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2021-07-30 14:28:58 -07:00
|
|
|
//go:build js && wasm
|
2014-07-19 08:53:52 +00:00
|
|
|
|
|
|
|
package net
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv4MulticastLoopback(fd *netFD, v bool) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func setIPv6MulticastLoopback(fd *netFD, v bool) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error {
|
2015-01-15 00:27:56 +00:00
|
|
|
return syscall.ENOPROTOOPT
|
2014-07-19 08:53:52 +00:00
|
|
|
}
|