trireme-lib: go.aporeto.io/trireme-lib/utils/netinterfaces Index | Files

package netinterfaces

import "go.aporeto.io/trireme-lib/utils/netinterfaces"

Index

Package Files

netinterfaces.go

type NetworkInterface Uses

type NetworkInterface struct {
    Name   string
    IPs    []net.IP
    IPNets []*net.IPNet
    Flags  net.Flags
}

NetworkInterface holds info of a network interface

func GetInterfacesInfo Uses

func GetInterfacesInfo() ([]NetworkInterface, error)

GetInterfacesInfo returns interface info

Package netinterfaces imports 3 packages (graph) and is imported by 2 packages. Updated 2019-06-12. Refresh now. Tools for package owners.