]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common: Add utility to fetch TCP_INFO for socket
authorMarcel Lauhoff <marcel.lauhoff@clyso.com>
Wed, 21 Aug 2024 13:38:30 +0000 (15:38 +0200)
committerMarcel Lauhoff <marcel.lauhoff@clyso.com>
Mon, 17 Feb 2025 17:41:18 +0000 (18:41 +0100)
commitf33c970da6e573af0f322ea3b36972d1fdf6fea6
treefa7fb799f55e6896d05baca7fd8dd701bbf0ba07
parent466112e71cac691803fb78883a6ce26140a115fc
common: Add utility to fetch TCP_INFO for socket

Add utility to fetch TCP_INFO for a socket and a variant that pushes
the data to a Formatter.

Signed-off-by: Marcel Lauhoff <marcel.lauhoff@clyso.com>
src/common/CMakeLists.txt
src/common/tcp_info.cc [new file with mode: 0644]
src/common/tcp_info.h [new file with mode: 0644]