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
9 // If the ifindex is zero, interfaceTable returns mappings of all
10 // network interfaces. Otherwise it returns a mapping of a specific
12 func interfaceTable(ifindex
int) ([]Interface
, error
) {
16 // If the ifi is nil, interfaceAddrTable returns addresses for all
17 // network interfaces. Otherwise it returns addresses for a specific
19 func interfaceAddrTable(ifi
*Interface
) ([]Addr
, error
) {
23 // interfaceMulticastAddrTable returns addresses for a specific
25 func interfaceMulticastAddrTable(ifi
*Interface
) ([]Addr
, error
) {