begin adding packet capture functionality

This commit is contained in:
soypat
2025-06-01 13:04:43 -03:00
parent a29bad9ac9
commit 55bc765d92
4 changed files with 428 additions and 2 deletions
+1
View File
@@ -14,6 +14,7 @@ var (
errARPBufferFull = errors.New("ARP client need handling:too many ops pending")
errShortARP = errors.New("packet too short to be ARP")
errARPUnsupported = errors.New("ARP not supprortedf")
errLargeSizes = errors.New("size of ARP protocol+hardware is unusually large")
)
// Operation represents the type of ARP packet, either request or reply/response.