refactor codebase and fix bugs

- merge dante.go and dante_control.go into single dante.go
- consolidate buildDantePacket and buildDantePacket28 into one function
- fix broken comparison logic in SetDanteClockMaster
- split ARP parsing into platform-specific files with build tags
- implement Linux ARP table parsing via /proc/net/arp
- run gofmt on all files

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-23 23:21:51 -08:00
parent f4b2351de8
commit 7e8ec697ae
10 changed files with 888 additions and 877 deletions

View File

@@ -15,10 +15,10 @@ import (
)
const (
artNetPort = 6454
artNetID = "Art-Net\x00"
opPoll = 0x2000
opPollReply = 0x2100
artNetPort = 6454
artNetID = "Art-Net\x00"
opPoll = 0x2000
opPollReply = 0x2100
protocolVersion = 14
)