disc

package
Version: v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2016 License: MIT Imports: 17 Imported by: 10

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)

GetOUILive gets oui info from iEEE

func IsBSD added in v0.2.3

func IsBSD() bool

IsBSD 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 walk through subnet as generator

Types

type ARP

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

ARP holds ARP information

Source Files

Jump to

Keyboard shortcuts

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