...
Run Format

Source file src/net/interface_stub.go

Documentation: net

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

View as plain text