Yousuk Seung e7ed11ee94 tcp: add TTL to SCM_TIMESTAMPING_OPT_STATS
This patch adds TCP_NLA_TTL to SCM_TIMESTAMPING_OPT_STATS that exports
the time-to-live or hop limit of the latest incoming packet with
SCM_TSTAMP_ACK. The value exported may not be from the packet that acks
the sequence when incoming packets are aggregated. Exporting the
time-to-live or hop limit value of incoming packets helps to estimate
the hop count of the path of the flow that may change over time.

Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Link: https://lore.kernel.org/r/20210120204155.552275-1-ysseung@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-01-22 18:20:52 -08:00
..
2020-03-12 15:55:00 -07:00
2021-01-11 18:20:09 -08:00
2020-11-09 17:50:28 -08:00
2020-03-30 13:45:04 -07:00
2020-11-09 17:50:28 -08:00
2020-11-09 17:50:28 -08:00
2021-01-20 21:00:24 -08:00
2020-12-16 11:01:04 -08:00
2020-03-16 18:26:54 -07:00
2020-12-14 16:40:27 -08:00
2020-03-16 18:26:55 -07:00