blob: f64174c62eef3c4697b24fa90ccfa541523014c5 [file] [log] [blame]
Brad Fitzpatrick51947442016-03-01 22:57:46 +00001// Copyright 2011 The Go Authors. All rights reserved.
Mikio Hara518331d2011-06-03 14:35:42 -04002// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
Dave Cheney7c8280c2014-02-25 09:47:42 -05005// +build nacl plan9 solaris
Russ Cox27159562011-09-15 16:48:57 -04006
Mikio Hara518331d2011-06-03 14:35:42 -04007package net
8
Mikio Hara518331d2011-06-03 14:35:42 -04009// If the ifindex is zero, interfaceTable returns mappings of all
Brad Fitzpatrick5fea2cc2016-03-01 23:21:55 +000010// network interfaces. Otherwise it returns a mapping of a specific
Mikio Hara518331d2011-06-03 14:35:42 -040011// interface.
Russ Coxeb692922011-11-01 22:05:34 -040012func interfaceTable(ifindex int) ([]Interface, error) {
Mikio Hara518331d2011-06-03 14:35:42 -040013 return nil, nil
14}
15
Mikio Hara322214c2013-02-28 14:58:41 +090016// If the ifi is nil, interfaceAddrTable returns addresses for all
Brad Fitzpatrick5fea2cc2016-03-01 23:21:55 +000017// network interfaces. Otherwise it returns addresses for a specific
Mikio Hara322214c2013-02-28 14:58:41 +090018// interface.
19func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
Mikio Hara518331d2011-06-03 14:35:42 -040020 return nil, nil
21}
Mikio Hara946cb0e2011-08-04 00:22:52 -040022
Mikio Hara322214c2013-02-28 14:58:41 +090023// interfaceMulticastAddrTable returns addresses for a specific
24// interface.
25func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
Mikio Hara946cb0e2011-08-04 00:22:52 -040026 return nil, nil
27}