garp

package
v0.0.0-...-2bcc11b Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Ifi  string
	MAC  string
	IP   net.IP
	Name string
}

type ScanErr

type ScanErr struct {
	Ifi string
	Err error
}

type Scanner

type Scanner struct {
	// contains filtered or unexported fields
}

func NewScanner

func NewScanner() *Scanner

NewScanner create arp scanner.

func (*Scanner) Scan

func (s *Scanner) Scan() ([]Device, error)

Scan requires ROOT privilege.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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