netscan

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupMAC

func LookupMAC(ip string) string

LookupMAC looks up the MAC address for the given IP in the system ARP table. Returns the MAC as a lowercase hex string without separators (e.g. "ec71dbc8545d"), or "" if the IP is not found.

func Run

func Run(ctx context.Context, logger *slog.Logger, _ string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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