libgo: Update to Go 1.3 release.
[official-gcc.git] / libgo / go / net / interface_stub.go
blobc38fb7f7651d9f584de7e0a272dad1aeca79d98d
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 nacl plan9 solaris
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