From 1e02b8666c6f2ce9beff085eabc7f73cc421de91 Mon Sep 17 00:00:00 2001 From: Ben Magistro Date: Tue, 24 Aug 2021 13:06:35 +0000 Subject: l4p/tcp: Add ability to adjust/offset tcp timestamps when proxying Signed-off-by: Ben Magistro Change-Id: Icb65a2a2bf2f0b647fb8927c9c4adb88b9eb2131 Signed-off-by: Ben Magistro --- lib/libtle_l4p/tcp_stream.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/libtle_l4p/tcp_stream.c') diff --git a/lib/libtle_l4p/tcp_stream.c b/lib/libtle_l4p/tcp_stream.c index 59d94a4..f41ff3c 100644 --- a/lib/libtle_l4p/tcp_stream.c +++ b/lib/libtle_l4p/tcp_stream.c @@ -382,6 +382,8 @@ tcp_stream_fill_cfg(struct tle_tcp_stream *s, const struct tle_ctx_param *cprm, s->tcb.snd.rto_tw = (cprm->timewait == TLE_TCP_TIMEWAIT_DEFAULT) ? TCP_RTO_2MSL : cprm->timewait; + s->ts_offset = 0; + s->s.udata = scfg->udata; } -- cgit 1.2.3-korg