blob: 5636198f88186ca5d783640dde349c74868c0c77 [file] [log] [blame]
Mikio Hara484cc672014-09-18 19:17:55 +09001// Copyright 2011 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
6
7package net
8
9import "syscall"
10
11func lookupProtocol(name string) (proto int, err error) {
12 return 0, syscall.ENOPROTOOPT
13}
14
15func lookupHost(host string) (addrs []string, err error) {
16 return nil, syscall.ENOPROTOOPT
17}
18
Andrew Pilloudf00362b2015-02-12 20:24:47 -080019func lookupIP(host string) (addrs []IPAddr, err error) {
Mikio Hara484cc672014-09-18 19:17:55 +090020 return nil, syscall.ENOPROTOOPT
21}
22
23func lookupPort(network, service string) (port int, err error) {
24 return 0, syscall.ENOPROTOOPT
25}
26
27func lookupCNAME(name string) (cname string, err error) {
28 return "", syscall.ENOPROTOOPT
29}
30
31func lookupSRV(service, proto, name string) (cname string, srvs []*SRV, err error) {
32 return "", nil, syscall.ENOPROTOOPT
33}
34
35func lookupMX(name string) (mxs []*MX, err error) {
36 return nil, syscall.ENOPROTOOPT
37}
38
39func lookupNS(name string) (nss []*NS, err error) {
40 return nil, syscall.ENOPROTOOPT
41}
42
43func lookupTXT(name string) (txts []string, err error) {
44 return nil, syscall.ENOPROTOOPT
45}
46
47func lookupAddr(addr string) (ptrs []string, err error) {
48 return nil, syscall.ENOPROTOOPT
49}