packages icon indicating copy to clipboard operation
packages copied to clipboard

iperf3: enable sctp

Open nshopik opened this issue 1 year ago • 4 comments

Maintainer: @jonasjelonek

Environment: (ARMv8, Xiaomi Redmi Router AX6S, OpenWrt 23.05.3 r23809-234f1a2efa)

Description: Maybe it configured --without-sctp, it would be great to have sctp available.

iperf3 --sctp -c 127.0.0.1
iperf3: unrecognized option: sctp

nshopik avatar Apr 12 '24 17:04 nshopik

(I'm not the maintainer of the package. Please always have a look into the Makefile for the current maintainer instead of who authored the last commit)

In the Makefile no configure option regarding SCTP is set. Looking at the verbose build output for iperf3 shows that autoreconf checks for the header netinet/sctp.h but can't find it and thus disables SCTP support.

jonasjelonek avatar Apr 12 '24 21:04 jonasjelonek

Oh, apologies Maintainer would be @nbd168

nshopik avatar Apr 13 '24 06:04 nshopik

netinet/sctp.h comes from libsctp, so another package flavour to not beef up "normal" package size.

brada4 avatar Apr 13 '24 15:04 brada4

I tried to build manually iperf3 on x86 with ./configure --without-openssl --without-sctp and then ./configure --without-openssl got same binary size - 35832 bytes. I made sure libsctp available before hand.

nshopik avatar Apr 15 '24 10:04 nshopik