Page MenuHomeFreeBSD

Simplify dynamic ipfilter sysctls.
ClosedPublic

Authored by jhb on Jan 4 2021, 9:39 PM.

Details

Summary

Pass the structure offset in arg2 instead of arg1. This avoids
having to undo the pointer arithmetic on arg1. Instead arg2 can
be used directly as an offset relative to the desired structure.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.