summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry
diff options
context:
space:
mode:
authorTamir Duberstein <tamird@google.com>2021-08-26 12:43:11 -0700
committergVisor bot <gvisor-bot@google.com>2021-08-26 12:45:38 -0700
commitec46befd1099d2050fcccd60c4fe779a04d1ea45 (patch)
tree4c90a3d099128ea7ed9ad30af76f1beca13992f9 /pkg/sentry
parent9f3fa7635e63bb18f0023c7ed960405a8ac341c0 (diff)
Centralize TCP timestamp logic
Remove freestanding functions that convert time values to raw integers; centralize time->uint32 logic in methods on tcp.endpoint. Importantly, the knowledge that TSVal is in milliseconds now lives in adjacent functions rather than being spread around various files. Incidental cleanup: - Remove unused constant - Remove redundant conversion - Remove redundant parentheses - Add missing error check PiperOrigin-RevId: 393184768
Diffstat (limited to 'pkg/sentry')
0 files changed, 0 insertions, 0 deletions