Commit eae412f
feat(ip-filter): add CIDR overlap detection, normalization, and full XML docs
- Added `ContainsIp` method to check if a single IP belongs to any registered subnet
- Added `ContainsCidr` method to detect CIDR membership and overlaps
- Added `NormalizeCidr` to normalize IP/CIDR to the correct network address
- Added `FindOverlaps` to collect all overlapping subnets for IPs or CIDRs
- Implemented helper traversals for subtree searching in Patricia Trie
- Added XML `<summary>` docs and inline comments for GitHub-ready documentation
- Improved readability and maintainability for future contributors1 parent 310b9bf commit eae412f
2 files changed
+429
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
5 | 30 | | |
6 | 31 | | |
7 | 32 | | |
| |||
0 commit comments