ip4

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NeighborEntry

type NeighborEntry struct {
	IP  string
	MAC string
}

NeighborEntry is a visible L2/L3 neighbor from the host ARP/neighbor table

type Scanner

type Scanner struct {
	Ports []int
}

Scanner performs real network scanning (TCP connect, ARP, banner grab)

func (*Scanner) GetInterfaces

func (s *Scanner) GetInterfaces() ([]net.Interface, map[string][]net.Addr, error)

GetInterfaces returns active non-loopback interfaces with at least one IPv4 address.

func (*Scanner) ScanNetwork

func (s *Scanner) ScanNetwork(ifaceName, subnet string, progressChan chan<- shared.ProgressUpdate)

ScanNetwork scans a real subnet with controlled concurrency for smooth progress

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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