Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mptcp: add last time fields in mptcp_info
Similar to tcpi_last_data_sent, tcpi_last_data_recv and tcpi_last_ack_recv exposed with TCP, this patch exposes the last time "an action happened" for MPTCP in mptcp_info, named mptcpi_last_data_sent, mptcpi_last_data_recv and mptcpi_last_ack_recv, calculated In mptcp_diag_fill_info() as the time deltas between now and the newly added last time fields in mptcp_sock. Closes: multipath-tcp#446 Signed-off-by: Geliang Tang <[email protected]>
- Loading branch information