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
F165085564: D53308.diff
Wed, Aug 5, 9:56 PM
Unknown Object (File)
Sat, Jul 25, 6:28 PM
Unknown Object (File)
Fri, Jul 24, 8:54 PM
Unknown Object (File)
Fri, Jul 24, 5:23 PM
Unknown Object (File)
Wed, Jul 22, 4:59 PM
Unknown Object (File)
Wed, Jul 22, 11:41 AM
Unknown Object (File)
Tue, Jul 21, 11:22 AM
Unknown Object (File)
Tue, Jul 21, 8:12 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.