]>
Commit | Line | Data |
---|---|---|
22b955cc | 1 | // Copyright 2011 The Go Authors. All rights reserved. |
adb0401d ILT |
2 | // Use of this source code is governed by a BSD-style |
3 | // license that can be found in the LICENSE file. | |
4 | ||
5a8ea165 | 5 | // +build hurd js,wasm |
d8f41257 | 6 | |
adb0401d ILT |
7 | package net |
8 | ||
adb0401d | 9 | // If the ifindex is zero, interfaceTable returns mappings of all |
22b955cc | 10 | // network interfaces. Otherwise it returns a mapping of a specific |
adb0401d | 11 | // interface. |
2fd401c8 | 12 | func interfaceTable(ifindex int) ([]Interface, error) { |
adb0401d ILT |
13 | return nil, nil |
14 | } | |
15 | ||
be47d6ec | 16 | // If the ifi is nil, interfaceAddrTable returns addresses for all |
22b955cc | 17 | // network interfaces. Otherwise it returns addresses for a specific |
be47d6ec ILT |
18 | // interface. |
19 | func interfaceAddrTable(ifi *Interface) ([]Addr, error) { | |
adb0401d ILT |
20 | return nil, nil |
21 | } | |
22 | ||
be47d6ec ILT |
23 | // interfaceMulticastAddrTable returns addresses for a specific |
24 | // interface. | |
25 | func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) { | |
adb0401d ILT |
26 | return nil, nil |
27 | } |