add dante device discovery via mdns and ptp clock master detection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-23 00:24:36 -08:00
parent 536c2d3dc9
commit 2fa2fcd57d
6 changed files with 323 additions and 16 deletions

10
arp.go
View File

@@ -126,3 +126,13 @@ func normalizeMACAddress(mac string) string {
}
return strings.Join(parts, ":")
}
func (t *Tendrils) requestARP(ip net.IP) {
if t.DisableARP {
return
}
conn, err := net.DialTimeout("udp4", ip.String()+":1", 100*time.Millisecond)
if err == nil {
conn.Close()
}
}