Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ARPPATH = "/proc/net/arp"
View Source
var ROUTEPATH = "/proc/net/route"
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// contains filtered or unexported fields
}
func (*Local) GetInterfaceByIp ¶
func (l *Local) GetInterfaceByIp(ip uint32) (*LocalInterface, error)
func (*Local) GetInterfaceByName ¶
func (l *Local) GetInterfaceByName(name string) (*LocalInterface, error)
type LocalInterface ¶
func (*LocalInterface) String ¶
func (li *LocalInterface) String() string
Click to show internal directories.
Click to hide internal directories.