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