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)
Thu, Sep 3, 7:57 AM
Unknown Object (File)
Tue, Sep 1, 7:38 AM
Unknown Object (File)
Sat, Aug 29, 3:08 AM
Unknown Object (File)
Tue, Aug 11, 2:44 PM
Unknown Object (File)
Tue, Aug 11, 1:25 PM
Unknown Object (File)
Tue, Aug 11, 6:17 AM
Unknown Object (File)
Aug 9 2026, 3:42 AM
Unknown Object (File)
Aug 8 2026, 4:47 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68061
Build 64944: arc lint + arc unit

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.