Page MenuHomeFreeBSD

Add mbuf_tstmp2timeval()
ClosedPublic

Authored by kib on Oct 3 2022, 10:53 PM.
Tags
None
Referenced Files
F151306085: D36870.diff
Tue, Apr 7, 11:29 AM
Unknown Object (File)
Mon, Apr 6, 3:02 PM
Unknown Object (File)
Sat, Mar 28, 11:17 AM
Unknown Object (File)
Sat, Mar 28, 2:48 AM
Unknown Object (File)
Fri, Mar 27, 8:16 PM
Unknown Object (File)
Fri, Mar 27, 2:13 PM
Unknown Object (File)
Mon, Mar 23, 7:40 PM
Unknown Object (File)
Mon, Mar 23, 1:42 AM

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.