sctp: import internal copy of usrsctp library
authorTim-Philipp Müller <tim@centricular.com>
Fri, 24 Jul 2020 18:23:19 +0000 (19:23 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 14 Aug 2020 00:32:45 +0000 (01:32 +0100)
commitf4538e24b6ef9185cb8233d16ac536950b36e10a
treeaae8f59d793aebe87904324d4fd8e2ab467a975e
parentfe3a0c2c9088cab2d695a565e561c79f9d4df8cf
sctp: import internal copy of usrsctp library

There are problems with global shared state and no API stability
guarantees, and we can't rely on distros shipping the fixes we
need. Both firefox and Chrome bundle their own copies too.

Imported from https://github.com/sctplab/usrsctp,
commit 547d3b46c64876c0336b9eef297fda58dbe1adaf
Date: Thu Jul 23 21:49:32 2020 +0200

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/870

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1465>
70 files changed:
.indentignore [new file with mode: 0644]
ext/sctp/usrsctp/.gitignore [new file with mode: 0644]
ext/sctp/usrsctp/LICENSE.md [new file with mode: 0644]
ext/sctp/usrsctp/meson.build [new file with mode: 0644]
ext/sctp/usrsctp/meson_options.txt [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/Makefile.am [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/meson.build [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/meson.build [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_asconf.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_asconf.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_auth.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_bsd_addr.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_bsd_addr.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_callout.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_callout.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_cc_functions.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_constants.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_crc32.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_crc32.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_header.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_indata.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_indata.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_input.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_input.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_lock_userspace.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_os.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_os_userspace.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_output.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_output.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_pcb.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_peeloff.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_peeloff.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_process_lock.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_sha1.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_sha1.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_ss_functions.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_structs.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_sysctl.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_timer.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_uio.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_userspace.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_usrreq.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctp_var.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctputil.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet/sctputil.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet6/meson.build [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet6/sctp6_usrreq.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/netinet6/sctp6_var.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_atomic.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_environment.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_environment.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_inpcb.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_ip6_var.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_ip_icmp.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_malloc.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_mbuf.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_mbuf.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_queue.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_recv_thread.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_recv_thread.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_route.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_socket.c [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_socketvar.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/user_uma.h [new file with mode: 0644]
ext/sctp/usrsctp/usrsctplib/usrsctp.h [new file with mode: 0644]