Introduce a library to wrap the pf ioctl interface.
MFC after: 4 weeks
Sponsored by: Rubicon Communications, LLC ("Netgate")
Paths
| Differential D29562 Authored by kp on Apr 2 2021, 6:56 PM.
Details Summary Introduce a library to wrap the pf ioctl interface. MFC after: 4 weeks
Diff Detail
Event TimelineHerald added subscribers: emaste, imp, bdrewery. · View Herald TranscriptApr 2 2021, 6:56 PM2021-04-02 18:56:11 (UTC+0) Harbormaster completed remote builds in B38284: Diff 86764.Apr 2 2021, 6:56 PM2021-04-02 18:56:11 (UTC+0) Harbormaster completed remote builds in B38407: Diff 87027.Apr 8 2021, 12:33 PM2021-04-08 12:33:13 (UTC+0) kp added a child revision: D29641: (t)ftp-proxy: use libpfctl.Apr 8 2021, 12:34 PM2021-04-08 12:34:42 (UTC+0) This revision was not accepted when it landed; it landed in state Needs Review.Apr 10 2021, 9:18 AM2021-04-10 09:18:11 (UTC+0) Closed by commit rG0d71f9f36e6c: pfctl: Move ioctl abstraction functions into libpfctl (authored by kp). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 87187 lib/Makefile
lib/libpfctl/Makefile
lib/libpfctl/libpfctl.h
lib/libpfctl/libpfctl.c
|
Can you replace this with some #define, or at the very least do the math for why 256 is the right length for 1024 bit hash?