OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libgo/] [go/] [net/] [interface_stub.go] - Blame information for rev 833

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 747 jeremybenn
// 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.  Otheriwse 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
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.