MFC r248172:
Return an error if sctp_peeloff() fails because a socket can't be allocated.
sctp_peeloff() uses sonewconn() also in cases where listen() wasn't called.
So honor this use case.
MFC r248953:
Add a macro for checking for IPv4 link local addresses.
MFC r249333:
Remove the number of addresses restriction from sctp_connectx().
Remove unused code.
While there, do some cleanup of the code.
MFC r250466:
Honor the net.inet6.ip6.v6only sysctl variable and the IPV6_V6ONLY
socket option for SCTP sockets in the same way as for UDP or TCP
sockets.
MFC r250754:
Don't send an ABORT chunk with verification 0.
MFC r250756:
Set errno to ETIMEDOUT if an SCTP association times out during
setup.
MFC r251054:
Remove redundant checks.
MFC r251248:
Use LIST_EMPTY when appropriate.
MFC r252585:
Code cleanups.
MFC r252718:
When processing an incoming ABORT, SHUTDOWN_COMPLETE or ERROR (NAT related)
chunk, take always the T-bit into account, when checking the verification
tag.
MFC r252779:
Fix a bug were only 2048 streams where usable even though more than
2048 streams were negotiated on the wire. While there, remove the
hard coded limit of 2048 streams.