Brad Fitzpatrick | 5194744 | 2016-03-01 22:57:46 +0000 | [diff] [blame] | 1 | // Copyright 2011 The Go Authors. All rights reserved. |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Mikio Hara | 6362fea | 2017-07-05 09:55:33 +0900 | [diff] [blame] | 5 | // +build nacl |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 6 | |
| 7 | package net |
| 8 | |
| 9 | import "syscall" |
| 10 | |
| 11 | func setIPv4MulticastInterface(fd *netFD, ifi *Interface) error { |
| 12 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 13 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 14 | } |
| 15 | |
| 16 | func setIPv4MulticastLoopback(fd *netFD, v bool) error { |
| 17 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 18 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 19 | } |
| 20 | |
| 21 | func joinIPv4Group(fd *netFD, ifi *Interface, ip IP) error { |
| 22 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 23 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 24 | } |
| 25 | |
| 26 | func setIPv6MulticastInterface(fd *netFD, ifi *Interface) error { |
| 27 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 28 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 29 | } |
| 30 | |
| 31 | func setIPv6MulticastLoopback(fd *netFD, v bool) error { |
| 32 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 33 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | func joinIPv6Group(fd *netFD, ifi *Interface, ip IP) error { |
| 37 | // See golang.org/issue/7399. |
Mikio Hara | 484cc67 | 2014-09-18 19:17:55 +0900 | [diff] [blame] | 38 | return syscall.ENOPROTOOPT |
Mikio Hara | ef6c21d | 2014-03-12 10:32:46 +0900 | [diff] [blame] | 39 | } |