HomeFreeBSD

pf: use time_to for timestamps

Description

pf: use time_to for timestamps

Use time_t rather than uint32_t to represent the timestamps. That means
we have 64 bits rather than 32 on all platforms except i386, avoiding
the Y2K38 issues on most platforms.

Reviewed by: Zhenlei Huang
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D36837

Details

Provenance
kpAuthored on Sep 29 2022, 12:45 PM
Differential Revision
D36837: pf: use time_to for timestamps
Parents
rG1fc839f48921: if_vxlan(4): Add missing statistic for input packets
Branches
Unknown
Tags
Unknown