libgo: update to Go 1.11
[official-gcc.git] / libgo / go / net / interface_stub.go
blob3b3b3c0f377a69f0aed6ccea77e45d2ed4149f98
1 // 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.
5 // +build aix nacl js,wasm
7 package net
9 // If the ifindex is zero, interfaceTable returns mappings of all
10 // network interfaces. Otherwise it returns a mapping of a specific
11 // interface.
12 func interfaceTable(ifindex int) ([]Interface, error) {
13 return nil, nil
16 // If the ifi is nil, interfaceAddrTable returns addresses for all
17 // network interfaces. Otherwise it returns addresses for a specific
18 // interface.
19 func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
20 return nil, nil
23 // interfaceMulticastAddrTable returns addresses for a specific
24 // interface.
25 func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
26 return nil, nil