| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In particular add support for:
* SCTP_SNDINFO, SCTP_PRINFO, SCTP_AUTHINFO, SCTP_DSTADDRV4, and
SCTP_DSTADDRV6 cmsgs.
* SCTP_NXTINFO and SCTP_RCVINFO cmgs.
* SCTP_EVENT, SCTP_RECVRCVINFO, SCTP_RECVNXTINFO and SCTP_DEFAULT_SNDINFO
socket option.
* Special association ids (SCTP_FUTURE_ASSOC, ...)
* sctp_recvv() and sctp_sendv() functions.
MFC after: 1 month.
|
|
|
|
|
| |
Reported by bz@
MFC after: 1 week
|
|
|
|
|
|
| |
Reported by scf@
MFC after: 1 week.
|
|
|
|
|
|
|
|
|
|
|
| |
when sending INITs to a global IPv4 address having
only private IPv4 address.
Allow the usage of a private address and make sure
that no other private address will be used by the
association.
Initial work was done by rrs@.
MFC after: 1 week.
|
|
|
|
|
|
| |
authentication events. DTLS/SCTP renegotiations trigger the bug.
MFC after: 2 weeks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some bugs where fixed while doing this:
* ASCONF-ACK messages might use wrong port number when using
IPv6.
* Checking for additional addresses takes the correct address
into account and also does not do more comparisons than
necessary.
This patch is based on one received from bz@ who was
sponsored by The FreeBSD Foundation and iXsystems.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
right mix. Still may need some tweaks but it
appears to almost not give away too much to an
RFC2581 flow, but can really minimize the amount of
buffers used in the net.
MFC after: 3 months
|
|
|
|
|
|
|
|
|
|
|
| |
1) Add four new points that allow you to get more information
to cc algo's
2) Fix the case where user changes module on a existing TCB, in
such a case, the initialization module needs to be called on all nets.
3) Move htcp_cc structure to a union that other modules can use.
4) Add 5th point for get/set socket options for cc_module specific options
MFC after: 2 months
|
|
|
|
|
|
|
|
| |
* Store the flowid when receiving an SCTP/IPv6 packet.
* Store the flowid when receiving an SCTP packet with wrong CRC.
* Initilize flowid correctly.
* Put test code under INVARIANTS.
MFC after: 3 months.
|
|
|
|
|
|
| |
fixing) set it for the net.
MFC after: 3 months
|
| |
|
|
|
|
|
| |
2) Mass update to all copyrights.
MFC after: 3 Months
|
|
|
|
|
|
| |
From Robin Seggelmann.
MFC after: 3 months.
|
|
|
|
|
|
| |
exisiting associations and endpoints.
MFC after: 3 months.
|
|
|
|
|
|
|
| |
2) Some signed/unsigned errors found by Mac OS compiler (from Michael)
3) a couple of copyright updates on the effected files.
MFC after: 3 months
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2) Add separate max-bursts for retransmit and hb. These
are set to sysctlable values but not settable via the
socket api. This makes sure we don't blast out HB's or
fast-retransmits.
3) Determine on the first data transmission on a net if
its local-lan (by being under or over a RTT). This
can later be used to think about different algorithms
based on locallan vs big-i (experimental)
4) The cwnd should NOT be allowed to grow when an ECNEcho
is seen (TCP has this same bug). We fix this in SCTP
so an ECNe being seen prevents an advance of cwnd.
5) CWR's should not be sent multiple times to the
same network, instead just updating the TSN being
transmitted if needed.
MFC after: 1 Month
|
|
|
|
|
|
|
|
|
|
|
| |
1) We now remove ECN-Nonce since it will no longer continue as a I-D
2) Eliminate last_tsn_echo, this tied us to an assoc not the net
and thus we were not doing m-homing on the ECN-Echo senders side right.
3) Increment the count going out even if the TSN in lower in the pending
ECN-Echo, this way the receiver knows exactly how many packets were
marked even with network re-ordering
4) Fix so we DO NOT stop doing delayed sack if a ECN Echo is in queue
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) ECN was on an association basis, this is incorrect and
will not work with CMT or for that matter if the user
is sending to multiple addresses. This commit makes
ECN on a per path basis.
2) Adopt the new format for the ECN internet draft. This also
maintains compatability with old format chunks as well.
3) Keep track of the real time of a RTT down to micro seconds.
For some future conditional features (for like a data center
this is good information to have).
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
| |
sends were being accounted for. The
counting was such that we counted only
when we queued a chunk, not when we sent it.
Now keep an additional counter for queuing and
one for sending.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
| |
with the latest socket API ID. Especially it can be disabled.
Full compliance needs changing the structure used in the
socket option. Since this breaks the API, it will be a
seperate commit which will not be MFCed to stable/8.
MFC after: 3 months.
|
|
|
|
|
|
| |
This work is based on a patch received from Robin Seggelmann.
MFC after: 3 months.
|
|
|
|
|
|
|
| |
and use them instead of the generic compare_with_wrap.
Retire compare_with_wrap.
MFC after: 3 months.
|
|
|
|
|
|
|
| |
TAILQ_FOREACH_SAFE where appropriate.
No functional change.
MFC after: 3 months.
|
|
|
|
|
|
|
| |
the processing of ECNE and ASCONF chunks.
Reviewed by: rrs
MFC after: 3 days.
|
|
|
|
|
|
| |
Allow cmt_on_off to support values 0 (no CMT), 1 (CMT), and 2 (CMT/RP).
MFC after: 3 months.
|
|
|
|
|
| |
the loopback interface for IPv6. It will be handled
by the loopback interface.
|
|
|
|
| |
MFC after: 3 days.
|
|
|
|
| |
MFC after: 3 days.
|
|
|
|
|
|
| |
* Fix the generation of the SACK/NR-SACK gap lists.
MFC after: 3 days.
|
|
|
|
|
|
|
| |
While there, use always the same code for the check of
TTL expiration.
MFC after: 2 weeks.
|
|
|
|
|
| |
* Make send/recv buffer splitting switchable via sysctl.
* While there: Fix some comments.
|
|
|
|
| |
MFC after: 2 weeks.
|
|
|
|
|
|
|
| |
the sent_queue. Honor a given path when the SCTP_ADDR_OVER
flag is set.
MFC after: 2 weeks.
|
|
|
|
|
|
| |
* Clean up the handling in sctp_lower_sosend().
MFC after: 3 weeks.
|
|
|
|
|
|
| |
sendinfo for SCTP send calls.
MFC after: 4 weeks.
|
|
|
|
|
|
| |
due to the fact that its bogus.. nam->sa_family will
not change from AF_INET6 to AF_INET (but clang
thinks it does ;-D)
|
|
|
|
|
|
|
| |
interface supporting CRC offload. While at it, make use of the
feature that the loopback interface provides CRC offloading.
MFC after: 4 weeks
|
|
|
|
| |
INIT-ACK with incorrect CRC.
|
|
|
|
|
|
|
|
| |
Fix the switching on/off of PF and NR-SACKs using sysctl.
Add minor improvement in handling malloc failures.
Improve the address checks when sending.
MFC after: 4 weeks
|
|
|
|
|
|
|
| |
using addresses not announced to the peer due to address
scoping.
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
| |
table to really have the nice table :-)
MFC after: 1 month
|
|
|
|
|
|
|
|
| |
PR SCTP FWD-TSN's would not be sent and thus
cause a stalled connection. Also the rwnd
Calculation was also off on the receiver side for
PR-SCTP.
MFC after: 1 month
|
|
|
|
|
|
|
| |
the chunk. This resulted in malformed frames.
Remove a duplicate assignment.
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) Fix the alignment of a comment.
2) Fix a BUG where we were NOT paying attention
to the RESEND marking on retransmitting control
chunks.. and worse we were not decrementing the
retran count that could cause us to loop forever.
3) Add in the valdiate_no_lock function on invariants
so that we will really check all ways out to be sure
a lock does not slip out locked.
MFC after: 1 week.
|
|
|
|
|
|
|
| |
fwd-tsn. This would appear when greater than
the size of mbuf TSN's would need to be skipped.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
- Make sure that when you kick the streams you add correctly
using a 16 bit unsigned.
- Make sure when sending out you allow FWD-TSN to skip over
and list the ACKED chunks in the stream/seq list (so the
rcv will kick the stream)
MFC after: 3 days
|
|
|
|
| |
MFC after: 3 days.
|
|
|
|
| |
MFC after: 2 weeks
|
|
|
|
|
|
|
|
| |
* Fix handling of mapping arrays when draining mbufs or processing
FORWARD-TSN chunks.
* Cleanup code (no duplicate code anymore for SACKs and NR-SACKs).
Part of this code was developed together with rrs.
MFC after: 2 weeks.
|