Skip to content
Commit e7ed11ee authored by Yousuk Seung's avatar Yousuk Seung Committed by Jakub Kicinski
Browse files

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: default avatarYousuk Seung <ysseung@google.com>
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarNeal Cardwell <ncardwell@google.com>
Link: https://lore.kernel.org/r/20210120204155.552275-1-ysseung@google.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent a05a7280
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment