This change moves time conversion related code from pf to be available system-wide.
Once the function is available system-wide, it can be used in driver code.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 78565 Build 75448: arc lint + arc unit
Event Timeline
Comment Actions
Other than not removing the pfvar.h include I'm happy with the pf changes, but please try to get someone to okay the addition in sys/time.h too.
| sys/netpfil/pf/pf.c | ||
|---|---|---|
| 77 | I don't think we should remove this one. It defines far more than just SEC_TO_NSEC(). | |
| sys/netpfil/pf/pf_ioctl.c | ||
| 77 | Same here. Don't remove this. | |