Page MenuHomeFreeBSD

Simplify dynamic ipfilter sysctls.
ClosedPublic

Authored by jhb on Jan 4 2021, 9:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 19, 11:04 PM
Unknown Object (File)
Tue, Nov 19, 8:24 PM
Unknown Object (File)
Mon, Nov 11, 1:12 PM
Unknown Object (File)
Mon, Nov 11, 6:38 AM
Unknown Object (File)
Mon, Nov 11, 4:18 AM
Unknown Object (File)
Mon, Nov 11, 3:53 AM
Unknown Object (File)
Mon, Nov 11, 3:14 AM
Unknown Object (File)
Sun, Nov 10, 3:58 AM
Subscribers

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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable