build: Fix missing variable quotes and typo
[official-gcc.git] / libgo / go / net / interface_stub.go
blobfadd8b21c5d51a1a5fdbd33a5efa088fcaa222d1
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 //go:build hurd || (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