blob: ea61b6f3992bb9a32e68c57355a6be3e296c5658 [file] [log] [blame]
David K. Bainbridge215e0242017-09-05 23:18:24 -07001// 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
7package nettest
8
9import (
10 "fmt"
11 "runtime"
12)
13
14func maxOpenFiles() int {
15 return defaultMaxOpenFiles
16}
17
18func supportsRawIPSocket() (string, bool) {
19 return fmt.Sprintf("not supported on %s", runtime.GOOS), false
20}
21
22func supportsIPv6MulticastDeliveryOnLoopback() bool {
23 return false
24}
25
26func causesIPv6Crash() bool {
27 return false
28}
29
30func protocolNotSupported(err error) bool {
31 return false
32}