You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Linux kernel SCTP stack broke the ABI at least two times, and as packetdrill uses SCTP_EVENTS, I would expect it to also need a work-around like implemented in libosmo-netif or open5gs.
SCTP_EVENTS is deprecated anyway, SCTP_EVENT is the socket option which does not have the issue of no being extensible. I think the only standardised components are
all other components at the end are implementation specific. It is assumed that you run a packetdrill binary compiled for the kernel it is running on. There are some compile time checks, but I don't think there are run time checks. Since it is a testing tool, compiling it on the platform you want to test, is acceptable, I think. However, right now, you can't test any Linux specific extensions to struct sctp_event_subscribe. But I'm also not sure why it was extended multiple times, since it is deprecated since 2011.
The Linux kernel SCTP stack broke the ABI at least two times, and as packetdrill uses SCTP_EVENTS, I would expect it to also need a work-around like implemented in libosmo-netif or open5gs.
See https://git.osmocom.org/libosmo-netif/tree/src/stream.c#n118 or https://github.com/chensqi/new5gsim/blob/e0de5bca31865e12bda8a52533eb504a04f22937/lib/sctp/ogs-lksctp.c#L297 or https://osmocom.org/issues/4573
The text was updated successfully, but these errors were encountered: