Add --mac filter and rename IpFilter to PacketFilter #2

Merged
eric merged 1 commits from mac-filter into master 2026-11-13 21:22:17 +00:00
Owner

A packet is kept if its Ethernet source or destination MAC matches any
--mac entry; combined with --ip, both must match. Empty dimensions match
everything, so the unfiltered case is still the same code path.

Co-Authored-By: Claude Sonnet 5.5 noreply@anthropic.com

A packet is kept if its Ethernet source or destination MAC matches any --mac entry; combined with --ip, both must match. Empty dimensions match everything, so the unfiltered case is still the same code path. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eric added 1 commit 2026-11-13 21:17:21 +00:00
A packet is kept if its Ethernet source or destination MAC matches any
--mac entry; combined with --ip, both must match. Empty dimensions match
everything, so the unfiltered case is still the same code path.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eric merged commit 6b68deb047 into master 2026-11-13 21:22:17 +00:00
eric deleted branch mac-filter 2026-11-13 21:22:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: eric/scpcap#2