diff options
author | 2025-04-13 11:34:39 +0200 | |
---|---|---|
committer | 2025-04-15 08:21:47 -0700 | |
commit | a862771d1aa4c5cf4d92adfbc4b0879918e0e725 (patch) | |
tree | 6fb4bc9335635e6f0e44f2e14d7609460702c556 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | selftests: mptcp: diag: drop nlh parameter of recv_nlmsg (diff) | |
download | wireguard-linux-a862771d1aa4c5cf4d92adfbc4b0879918e0e725.tar.xz wireguard-linux-a862771d1aa4c5cf4d92adfbc4b0879918e0e725.zip |
selftests: mptcp: use IPPROTO_MPTCP for getaddrinfo
mptcp_connect.c is a startup tutorial of MPTCP programming, however
there is a lack of ai_protocol(IPPROTO_MPTCP) usage. Add comment for
getaddrinfo MPTCP support.
This patch first uses IPPROTO_MPTCP to get addrinfo, and if glibc
version is too old, it falls back to using IPPROTO_TCP.
Co-developed-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: Geliang Tang <geliang@kernel.org>
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20250413-net-next-mptcp-sched-mib-sft-misc-v2-8-0f83a4350150@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions