mirror-linux/tools
zhenwei pi a862771d1a 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>
2025-04-15 08:21:47 -07:00
..
accounting
arch perf tools changes for v6.15 2025-03-31 08:52:33 -07:00
bootconfig
bpf bpf-next-6.15 2025-03-30 12:43:03 -07:00
build perf tools changes for v6.15 2025-03-31 08:52:33 -07:00
certs
cgroup
counter
crypto
debugging
firewire
firmware
gpio
hv
iio
include tools/include: make uapi/linux/types.h usable from assembly 2025-04-06 12:55:31 -07:00
kvm/kvm_stat
laptop
leds
lib - The 7 patch series "powerpc/crash: use generic crashkernel 2025-04-01 10:06:52 -07:00
memory-model
mm
net tools: ynl: generate code for rt-route and add a sample 2025-04-10 20:14:42 -07:00
objtool These are objtool fixes and updates by Josh Poimboeuf, centered 2025-04-02 10:30:10 -07:00
pcmcia
perf tracing/timers: Rename the hrtimer_init event to hrtimer_setup 2025-04-05 10:30:17 +02:00
power Turbostat 2025.05.06 2025-04-06 12:32:43 -07:00
rcu
sched_ext tools/sched_ext: Sync with scx repo 2025-04-02 09:08:33 -10:00
scripts tracing tooling updates for 6.15: 2025-03-27 17:03:01 -07:00
sound
spi
testing selftests: mptcp: use IPPROTO_MPTCP for getaddrinfo 2025-04-15 08:21:47 -07:00
thermal
time
tracing tracing tooling updates for 6.15: 2025-03-27 17:03:01 -07:00
usb
verification tracing tooling updates for 6.15: 2025-03-27 17:03:01 -07:00
virtio
wmi
workqueue
writeback
Makefile