aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libtle_l4p/tcp_stream.h
diff options
context:
space:
mode:
authorBen Magistro <koncept1@gmail.com>2021-08-24 13:06:35 +0000
committerBen Magistro <koncept1@gmail.com>2021-09-17 00:58:11 +0000
commit1e02b8666c6f2ce9beff085eabc7f73cc421de91 (patch)
tree0e02c557f1ecce79c02553ec8163888001a172ee /lib/libtle_l4p/tcp_stream.h
parent6fddbfcd39d8cfb96ef7a22bbd786c16b9d29e54 (diff)
l4p/tcp: Add ability to adjust/offset tcp timestamps when proxying
Signed-off-by: Ben Magistro <koncept1@gmail.com> Change-Id: Icb65a2a2bf2f0b647fb8927c9c4adb88b9eb2131 Signed-off-by: Ben Magistro <koncept1@gmail.com>
Diffstat (limited to 'lib/libtle_l4p/tcp_stream.h')
-rw-r--r--lib/libtle_l4p/tcp_stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libtle_l4p/tcp_stream.h b/lib/libtle_l4p/tcp_stream.h
index 9b22b38..a33e557 100644
--- a/lib/libtle_l4p/tcp_stream.h
+++ b/lib/libtle_l4p/tcp_stream.h
@@ -82,6 +82,8 @@ struct tle_tcp_stream {
struct stbl_entry *ste; /* entry in streams table. */
struct tcb tcb;
+ int32_t ts_offset; /* TS.VAL offset from TSC calculated */
+
struct {
void *handle;
} timer;