Page MenuHomeFreeBSD

Add mbuf_tstmp2timeval()
ClosedPublic

Authored by kib on Oct 3 2022, 10:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 13, 3:42 AM
Unknown Object (File)
Thu, Oct 9, 12:31 PM
Unknown Object (File)
Wed, Oct 1, 8:17 PM
Unknown Object (File)
Sun, Sep 21, 12:31 AM
Unknown Object (File)
Sep 3 2025, 5:25 PM
Unknown Object (File)
Aug 30 2025, 5:41 AM
Unknown Object (File)
Aug 30 2025, 1:39 AM
Unknown Object (File)
Jul 26 2025, 9:52 PM

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Oct 3 2022, 10:53 PM
sys/sys/mbuf.h
1692

Should the value you divide by be unsigned?

1000000000U ? 1000U ?

sys/sys/mbuf.h
1692

Why would it matter? What do you expect to change in the result?

hselasky added inline comments.
sys/sys/mbuf.h
1692

It's OK, plase ignore.

rcv_tstmp is unsigned, so the compiler always produce an unsigned value.

This revision is now accepted and ready to land.Oct 4 2022, 5:42 PM
This revision was automatically updated to reflect the committed changes.