disc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: MIT Imports: 17 Imported by: 0

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

Jump to

Keyboard shortcuts

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