David K. Bainbridge | 215e024 | 2017-09-05 23:18:24 -0700 | [diff] [blame^] | 1 | // Copyright 2014 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. |
| 4 | |
| 5 | // +build nacl plan9 |
| 6 | |
| 7 | package nettest |
| 8 | |
| 9 | import ( |
| 10 | "fmt" |
| 11 | "runtime" |
| 12 | ) |
| 13 | |
| 14 | func maxOpenFiles() int { |
| 15 | return defaultMaxOpenFiles |
| 16 | } |
| 17 | |
| 18 | func supportsRawIPSocket() (string, bool) { |
| 19 | return fmt.Sprintf("not supported on %s", runtime.GOOS), false |
| 20 | } |
| 21 | |
| 22 | func supportsIPv6MulticastDeliveryOnLoopback() bool { |
| 23 | return false |
| 24 | } |
| 25 | |
| 26 | func causesIPv6Crash() bool { |
| 27 | return false |
| 28 | } |
| 29 | |
| 30 | func protocolNotSupported(err error) bool { |
| 31 | return false |
| 32 | } |