add igmp querier for multicast group membership tracking

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Ian Gulliver
2026-01-22 23:46:56 -08:00
parent 395180493a
commit 7bced7b350
5 changed files with 378 additions and 17 deletions

View File

@@ -18,11 +18,13 @@ type Tendrils struct {
DisableARP bool
DisableLLDP bool
DisableSNMP bool
DisableIGMP bool
LogEvents bool
LogNodes bool
DebugARP bool
DebugLLDP bool
DebugSNMP bool
DebugIGMP bool
}
func New() *Tendrils {
@@ -178,4 +180,7 @@ func (t *Tendrils) startInterface(ctx context.Context, iface net.Interface) {
if !t.DisableLLDP {
go t.listenLLDP(ctx, iface)
}
if !t.DisableIGMP {
go t.listenIGMP(ctx, iface)
}
}