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
Unknown Object (File)
Wed, Apr 22, 6:46 PM
Unknown Object (File)
Fri, Apr 17, 10:58 AM
Unknown Object (File)
Wed, Apr 15, 1:40 AM
Unknown Object (File)
Fri, Apr 10, 10:24 AM
Unknown Object (File)
Thu, Apr 9, 10:34 PM
Unknown Object (File)
Sun, Apr 5, 1:14 PM
Unknown Object (File)
Thu, Apr 2, 1:19 AM
Unknown Object (File)
Tue, Mar 31, 10:38 PM
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.