Page MenuHomeFreeBSD

ipfilter: Calculate the number of elements in ipf_errors
ClosedPublic

Authored by cy on Oct 23 2025, 11:01 PM.
Tags
None
Referenced Files
F162632173: D53308.diff
Wed, Jul 15, 6:51 AM
F162632172: D53308.diff
Wed, Jul 15, 6:51 AM
F162579486: D53308.diff
Tue, Jul 14, 6:04 PM
F162577983: D53308.id164914.diff
Tue, Jul 14, 5:41 PM
Unknown Object (File)
Fri, Jul 3, 9:39 AM
Unknown Object (File)
Fri, Jun 26, 11:35 AM
Unknown Object (File)
Sun, Jun 21, 6:01 AM
Unknown Object (File)
Sat, Jun 20, 7:28 AM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

cy requested review of this revision.Oct 23 2025, 11:01 PM
This revision is now accepted and ready to land.Oct 24 2025, 12:51 PM

Or if you wanted you could just use nitems() in find_error instead of IPF_NUM_ERRORS

Or if you wanted you could just use nitems() in find_error instead of IPF_NUM_ERRORS

That would require #include <sys/param.h> in interror.c. We don't need the extra definitions (namespace pollution) from param.h.