Imported Upstream version 4.7.2
[platform/upstream/gcc48.git] / libgo / go / net / interface_stub.go
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.
4
5 // +build plan9
6
7 // Network interface identification
8
9 package net
10
11 // If the ifindex is zero, interfaceTable returns mappings of all
12 // network interfaces.  Otherwise it returns a mapping of a specific
13 // interface.
14 func interfaceTable(ifindex int) ([]Interface, error) {
15         return nil, nil
16 }
17
18 // If the ifindex is zero, interfaceAddrTable returns addresses
19 // for all network interfaces.  Otherwise it returns addresses
20 // for a specific interface.
21 func interfaceAddrTable(ifindex int) ([]Addr, error) {
22         return nil, nil
23 }
24
25 // If the ifindex is zero, interfaceMulticastAddrTable returns
26 // addresses for all network interfaces.  Otherwise it returns
27 // addresses for a specific interface.
28 func interfaceMulticastAddrTable(ifindex int) ([]Addr, error) {
29         return nil, nil
30 }