interface_stub.go 822 B

12345678910111213141516171819202122232425262728
  1. // 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. // +build nacl plan9 solaris
  5. package net
  6. // If the ifindex is zero, interfaceTable returns mappings of all
  7. // network interfaces. Otherwise it returns a mapping of a specific
  8. // interface.
  9. func interfaceTable(ifindex int) ([]Interface, error) {
  10. return nil, nil
  11. }
  12. // If the ifi is nil, interfaceAddrTable returns addresses for all
  13. // network interfaces. Otherwise it returns addresses for a specific
  14. // interface.
  15. func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
  16. return nil, nil
  17. }
  18. // interfaceMulticastAddrTable returns addresses for a specific
  19. // interface.
  20. func interfaceMulticastAddrTable(ifi *Interface) ([]Addr, error) {
  21. return nil, nil
  22. }