2011-09-16 17:47:21 +02:00
|
|
|
// Copyright 2011 The Go Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2011-10-27 01:57:58 +02:00
|
|
|
// +build plan9
|
|
|
|
|
2011-09-16 17:47:21 +02:00
|
|
|
package net
|
|
|
|
|
|
|
|
// If the ifindex is zero, interfaceTable returns mappings of all
|
2012-03-31 00:09:55 +02:00
|
|
|
// network interfaces. Otherwise it returns a mapping of a specific
|
2011-09-16 17:47:21 +02:00
|
|
|
// interface.
|
2011-12-03 03:17:34 +01:00
|
|
|
func interfaceTable(ifindex int) ([]Interface, error) {
|
2011-09-16 17:47:21 +02:00
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
2013-07-16 08:54:42 +02:00
|
|
|
// If the ifi is nil, interfaceAddrTable returns addresses for all
|
|
|
|
// network interfaces. Otherwise it returns addresses for a specific
|
|
|
|
// interface.
|
|
|
|
func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
|
2011-09-16 17:47:21 +02:00
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
2013-07-16 08:54:42 +02:00
|
|
|
// interfaceMulticastAddrTable returns addresses for a specific
|
|
|
|
// interface.
|
|
|
|
func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
|
2011-09-16 17:47:21 +02:00
|
|
|
return nil, nil
|
|
|
|
}
|