summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_uio.h
Commit message (Collapse)AuthorAgeFilesLines
* All changes affect only SCTP-AUTH:tuexen2013-09-021-4/+0
| | | | | | | | | * Remove non working code related to SHA224. * Remove support for non-standardised HMAC-IDs using SHA384 and SHA512. * Prefer SHA256 over SHA1. * Minor cleanup. MFC after: 2 weeks
* Export the inpcb features as a 64-bit entity.tuexen2013-08-221-2/+2
| | | | | | Bump __FreeBSD_version to 1000048 since the modified structure is user visible and used by netstat, for example.
* Whitespace changes due to upstream integration of SCTP changes in thetuexen2012-10-291-15/+21
| | | | FreeBSD code base.
* Remove __P.delphij2012-10-221-24/+24
| | | | | | Submitted by: kevlo Reviewed by: md5(1) MFC after: 2 months
* Fix the sctp_sockstore union such that userland programs don't dependtuexen2012-07-261-4/+0
| | | | | | | | on INET and/or INET6 to be defined and in-tune with how the kernel was compiled. MFC after: 3 days Discussed with: rrs
* Changes which improve compilation if neither INET nor INET6 is defined.tuexen2012-07-151-2/+2
| | | | MFC after: 3 days
* Add sn_send_failed_event to sctp_notification.tuexen2012-05-241-1/+1
| | | | MFC after: 3 days
* Use consistent text at the begining of the files.tuexen2012-05-231-5/+4
| | | | MFC after: 3 days
* Add support for the sac_info field in struct sctp_assoc_changetuexen2012-05-061-7/+14
| | | | | | as required by RFC 6458. MFC after: 3 days
* Add support for SCTP_SEND_FAILED_EVENT as required by RFC 6458.tuexen2012-05-061-16/+27
| | | | MFC after: 3 days
* Provide the flags in the SCTP stream reconfig related notificationtuexen2012-05-051-1/+0
| | | | | | as specified in RFC 6525. MFC after: 3 days
* Fix another RFC 6458 issue. Spotted by Irene Ruengeler.tuexen2012-05-031-1/+1
| | | | MFC after: 3 days
* Add support for missing gauth_number_of_chunks field. This Bug wastuexen2012-04-301-0/+1
| | | | | | found by Irene Ruengeler. MFC after: 1 week
* Remove unused structure.tuexen2012-04-271-7/+0
| | | | | | Reported by Irene Ruengeler. MFC after: 3 days
* Fix a type in an SCTP AUTH related notification. Keep the old nametuexen2012-04-261-1/+2
| | | | | | | for backwards compatibility. Spotted by Irene Ruengeler. MFC after: 3 days
* Use the flags defined in RFC 6525 in the stream reset event.tuexen2012-04-231-3/+5
|
* Make stream our stream reset implementationrrs2012-03-291-20/+53
| | | | | | compliant to RFC6525. MFC after: 1 month
* Fix unused parameter warnings.tuexen2011-12-171-2/+2
| | | | | | While there, fix some whitespace issues. MFC after: 3 months.
* Move up the address to the top of the sctp_udencaps structuretuexen2011-11-241-1/+1
| | | | | | like in all other structures. This avoids alignment problems. MFC after: 3 months.
* Move up the address to the top of the sctp_paddrthlds structuretuexen2011-11-241-1/+1
| | | | | | like in all other structures. This avoids alignment problems. MFC after: 3 days.
* Add support for the SCTP_REMOTE_UDP_ENCAPS_PORT socket option.tuexen2011-11-201-0/+6
| | | | | | | Retire the the now unused sctp_udp_tunneling_for_client_enable sysctl variable. MFC after: 3 months.
* Add support for the spp_dscp field in the SCTP_PEER_ADDR_PARAMStuexen2011-08-141-2/+5
| | | | | | | | socket option. Backwards compatibility is provided by still supporting the spp_ipv4_tos field. Approved by: re@ MFC after: 2 months.
* The result of a joint work between rrs@ and myself at the IETF:tuexen2011-08-031-14/+14
| | | | | | | | | | | * Decouple the path supervision using a separate HB timer per path. * Add support for potentially failed state. * Bring back RTO.min to 1 second. * Accept packets on IP-addresses already announced via an ASCONF * While there: do some cleanups. Approved by: re@ MFC after: 2 months.
* Add the missing sca_keylength field to the sctp_authkey structure,tuexen2011-06-301-0/+1
| | | | | | which is used the the SCTP_AUTH_KEY socket option. MFC after: 1 month.
* Add support for SCTP_PR_SCTP_NONE which I misded to add.tuexen2011-06-271-1/+2
| | | | | | This constant is defined in the socket API ID. MFC after: 2 months.
* Add SCTP_DEFAULT_PRINFO socket option.tuexen2011-06-161-0/+6
| | | | | | | Fix the SCTP_DEFAULT_SNDINFO socket option: Don't clear the PR SCTP policy when setting sinfo_flags. MFC after: 1 month.
* * Fix the handling of addresses in sctp_sendv().tuexen2011-06-161-0/+1
| | | | | | | * Add support for SCTP_SENDV_NOINFO. * Improve the error handling of sctp_sendv() and sctp_recv(). MFC after: 1 month
* Add support for the newly added SCTP API.tuexen2011-06-151-18/+111
| | | | | | | | | | | | | 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.
* Improvements to CC modules:rrs2011-02-261-0/+5
| | | | | | | | | | | 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
* 1) Typo correction in comments and one spacing change.rrs2011-02-051-0/+2
| | | | | 2) Mass update to all copyrights. MFC after: 3 Months
* Fix a bug in the way ECN-Echo chunkrrs2011-01-281-2/+3
| | | | | | | | | | 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
* Add stream scheduling support.tuexen2011-01-231-0/+6
| | | | | | This work is based on a patch received from Robin Seggelmann. MFC after: 3 months.
* Fix it so we align with new socket API draft forrrs2011-01-201-21/+0
| | | | | | state's in destination (i.e. ACTIVE/INACTIVE/UNCONFIRMED) MFC after: 1 week
* Fix a typo.tuexen2011-01-011-1/+1
| | | | MFC after: 3 months.
* Adds new dtrace for cwnd functions and lay'srrs2010-11-251-1/+1
| | | | | | groundwork for future dtrace points (rwnd flightsize etc). MFC after: 2 months
* Add an SCTP socket option to retrieve the number of timeoutstuexen2010-11-161-0/+11
| | | | | | of an association. MFC after: 3 days.
* Fix typos.brucec2010-11-091-9/+9
| | | | | PR: bin/148894 Submitted by: olgeni
* Implement correct handling of address parameter andtuexen2010-09-051-1/+17
| | | | | | sendinfo for SCTP send calls. MFC after: 4 weeks.
* Adds the option of keeping per-cpu statistics in SCTP. Thisrrs2010-03-241-1/+5
| | | | | | may be useful since it gets rid of atomics but I want it to remain an option until I can do further testing on if it really speeds things up.
* Use [] instead of [0] for flexible arrays.tuexen2010-01-221-8/+8
| | | | | Obtained from: Bruce Cran MFC after: 1 week
* This change syncs up the socketAPI stream-resetrrs2010-01-171-13/+16
| | | | | values to match those in linux and the I-D just released to the IETF.
* Get rid of support of an old version of the SCTP-AUTH draft.tuexen2010-01-161-1/+0
| | | | | | Get rid of unused MD5 code. MFC after: 1 week
* Get rid of unused field. This will also be deletedtuexen2009-07-271-1/+0
| | | | | | in the official speciication of the SCTP socket API. Approved by:re, rrs (mentor)
* Make sctp_uio user to kernel structure match therrs2009-05-301-2/+2
| | | | | | | socket-api draft. Two fields were uint32_t when they should have been uint16_t. Reported by Jonathan Leighton at U-del.
* ABI expansions to hopefully future-proof our MIB/netstat code for 8.0rrs2009-05-071-2/+4
|
* Add more padding and a new variable. This willrrs2009-04-081-5/+5
| | | | | | help us be able to keep ABI compatibility between 8 and 9. MFC after: Never
* Many bug fixes (from the IETF hack-fest):rrs2009-04-041-2/+3
| | | | | | | | | | | | | | | | - PR-SCTP had major issues when skipping through a multi-part message. o Did not look at socket buffer. o Did not properly handle the reassmebly queue. o The MARKED segments could interfere and un-skip a chunk causing a problem with the proper FWD-TSN. o No FR of FWD-TSN's was being done. - NR-Sack code was basically disabled. It needed fixes that never got into the real code. - CMT code had issues when the two paths were NOT the same b/w. We found a few small bugs, but also the critcal one here was not dividing the rwnd amongst the paths. Obtained from: Michael Tuexen and myself at the IETF hack-fest ;-)
* Add the add-stream capability. Still needs morerrs2009-02-201-4/+3
| | | | | | testing.. MFC after: 1 month
* Move the new rwnd field down to the very endrrs2009-02-131-1/+1
| | | | | | of the xsctp structure. This is where all new fields belong (not that we will be ABI compatiable with 7.x anyway.. sigh).
* Add padding to then end of the xsctp_xxx structures torrs2009-02-091-0/+4
| | | | allow future changes to be able to maintain ABI compatibility
OpenPOWER on IntegriCloud