disc

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 14 Imported by: 13

Documentation

Overview

Package disc is a LAN discovery library

Index

Constants

View Source
const (
	// IEEEOUI holds ieee oui csv file url
	IEEEOUI = "http://standards.ieee.org/develop/regauth/oui/oui.csv"
)

Variables

This section is empty.

Functions

func GetOUILive

func GetOUILive() ([]byte, error)

GETOUI gets oui info from iEEE

func IsMac

func IsMac() bool

IsMac checks OS

func New

func New(args string) *disc

New creates new discovery object

func StrTobyte16

func StrTobyte16(s string) [16]byte

StrToByte16 converts string to 16 bytes

func WalkIP

func WalkIP(cidr string) chan string

WalkIP tries to salk through subnet as generator

Types

type ARP

type ARP struct {
	IP        string
	MAC       string
	Interface string
	Host      string
}

ARP holds ARP information

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL