Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
066f54d8 |
| 16-Dec-2006 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Consistently use a socklen_t type where required, and eliminate GCC warning "dereferencing type-punned pointer will break strict-aliasing rules".
Reviewed by: rrs
|
#
d6dda9b2 |
| 15-Dec-2006 |
Randall Stewart <rrs@FreeBSD.org> |
This adds the "system calls" sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getasso
This adds the "system calls" sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getassocid() sctp_send() sctp_sendx() sctp_sendmsgx() sctp_recvmsg() sctp_peeloff()
Manual pages will be forthcoming (and the commit to porters-handbook)
show more ...
|
#
ecf4b67a |
| 31-Jan-2010 |
Rebecca Cran <brucec@FreeBSD.org> |
Remove extra semicolon.
Approved by: rrs (mentor)
|
Revision tags: release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0 |
|
#
1b649582 |
| 24-Jul-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- take out a needless panic under invariants for sctp_output.c - Fix addrs's error checking of sctp_sendx(3) when addrcnt is less than SCTP_SMALL_IOVEC_SIZE - re-add back inpcb_bind local addres
- take out a needless panic under invariants for sctp_output.c - Fix addrs's error checking of sctp_sendx(3) when addrcnt is less than SCTP_SMALL_IOVEC_SIZE - re-add back inpcb_bind local address check bypass capability - Fix it so sctp_opt_info is independant of assoc_id postion. - Fix cookie life set to use MSEC_TO_TICKS() macro. - asconf changes o More comment changes/clarifications related to the old local address "not" list which is now an explicit restricted list.
o Rename some functions for clarity: - sctp_add/del_local_addr_assoc to xxx_local_addr_restricted() - asconf related iterator functions to sctp_asconf_iterator_xxx()
o Fix bug when the same address is deleted and added (and removed from the asconf queue) where the ifa is "freed" twice refcount wise, possibly freeing it completely.
o Fix bug in output where the first ASCONF would not go out after the last address is changed (e.g. only goes out when retransmitted).
o Fix bug where multiple ASCONFs can be bundled in the same packet with the and with the same serial numbers.
o Fix asconf stcb iterator to not send ASCONF until after all work queue entries have been processed.
o Change behavior so that when the last address is deleted (auto asconf on a bound all endpoint) no action is taken until an address is added; at that time, an ASCONF add+delete is sent (if the assoc is still up).
o Fix local address counting so that address scoping is taken into account.
o #ifdef SCTP_TIMER_BASED_ASCONF the old timer triggered sending of ASCONF (after an RTO). The default now is to send ASCONF immediately (except for the case of changing/deleting the last usable address). Approved by: re(ken smith)@freebsd.org
show more ...
|
#
b54d3a6c |
| 14-Jul-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Modular congestion control, with RFC2581 being the default. - CMT_PF states added (w/sysctl to turn the PF version on) - sctp_input.c had a missing incr of cookie case when the auth was bad. This
- Modular congestion control, with RFC2581 being the default. - CMT_PF states added (w/sysctl to turn the PF version on) - sctp_input.c had a missing incr of cookie case when the auth was bad. This meant a free was called without an increment to refcnt, added increment like rest of code. - There was a case, unlikely, when the scope of the destination changed (this is a TSNH case). In that case, it would not free the alloc'ed asoc (in sctp_input.c). - When listed addresses found a colliding cookie/Init, then the collided upon tcb was not unlocked in sctp_pcb.c - Add error checking on arguments of sctp_sendx(3) to prevent it from referencing a NULL pointer. - Fix an error return of sctp_sendx(3), it was returing ENOMEM not -1. - Get assoc id was changed to use the sanctified socket api method for getting a assoc id (PEER_ADDR_INFO instead of PEER_ADDR_PARAMS). - Fix it so a peeled off socket will get a proper error return if it trys to send to a different address then it is connected to. - Fix so that select_a_stream can avoid an endless loop that could hang a caller. - time_entered (state set time) was not being set in all cases to the time we went established. Approved by: re(ken smith)
show more ...
|
#
602afc03 |
| 02-Jul-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Removes some incorrect error returns (errno was being overriden in one of the functions) - Fixes the error return of sctp_get_opt, it was returning the errno not -1. Approved by: re@freebsd.org (
- Removes some incorrect error returns (errno was being overriden in one of the functions) - Fixes the error return of sctp_get_opt, it was returning the errno not -1. Approved by: re@freebsd.org (Robert Watson) Obtained from: Weongyo Jeong (weongyo.jeong@gmail.com)
show more ...
|
#
f1d30539 |
| 26-Jun-2007 |
Matt Jacob <mjacob@FreeBSD.org> |
Add missing semi-colon.
Approved by: re (not really, but it's better to have things compile than not for right now. Sorry)
|
#
25d63f19 |
| 25-Jun-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Fix wrong error return (the errno was being returned and not placed in errno) - Found by Weongyo Jeong - Remove two extra un-needed memset() after calloc()'s - Found by Weongyo Jeong - Tightene
- Fix wrong error return (the errno was being returned and not placed in errno) - Found by Weongyo Jeong - Remove two extra un-needed memset() after calloc()'s - Found by Weongyo Jeong - Tightened up parameter requirement checking on input to bindx/connectx per socket api spec. Approved by: re@freebsd.org(Ken Smith)
show more ...
|
#
a593094e |
| 22-Jun-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Fix incorrect error return on sctp_getaddrlen - Fix a memory leak when a non v4/v6 address was passed in. - Take out strange line that copy's back to the src array incorrectly (corrupting the inp
- Fix incorrect error return on sctp_getaddrlen - Fix a memory leak when a non v4/v6 address was passed in. - Take out strange line that copy's back to the src array incorrectly (corrupting the input array).
Approved by: re(bmah@freebsd.org) Obtained from: Weongyo Jeong(weongyo.jeong@gmail.com)
show more ...
|
#
2c356be2 |
| 11-Jun-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Validate incoming addresses and sizes for connectx and bindx. - For non-sys call version pass the msg_flags.
|
#
002b1f0b |
| 16-May-2007 |
Randall Stewart <rrs@FreeBSD.org> |
-Fix so getoptinfo() is in conformance with socket api (it can be used on any read socketopt). -Clean up of sendmsg call and make it conformant when no syscall is available.
|
#
42551e99 |
| 15-Mar-2007 |
Randall Stewart <rrs@FreeBSD.org> |
- Sysctl's move to seperate file - moved away from ifn/ifa access to sctp_ifa/sctp_ifn built and managed by the add-ip code. - cleaned up add-ip code to use the iterator - made iterator be a thread
- Sysctl's move to seperate file - moved away from ifn/ifa access to sctp_ifa/sctp_ifn built and managed by the add-ip code. - cleaned up add-ip code to use the iterator - made iterator be a thread, which enables auto-asconf now. - rewrote and cleaned up source address selection (also made it use new structures). - Fixed a couple of memory leaks. - DACK now settable as to how many packets to delay as well as time. - connectx() to latest socket API, new associd arg. - Fixed issue with revoking and loosing potential to send when we inflate the flight size. We now inflate the cwnd too and deflate it later when the revoked chunk is sent or acked. - Got rid of some temp debug code - src addr selection moved to a common file (sctp_output.c) - Support for simple VRF's (we have support for multi-vfr via compile switch that is scrubbed from BSD but we won't need multi-vrf until we first get VRF :-D) - Rest of mib work for address information now done - Limit number of addresses in INIT/INIT-ACK to a #def (30).
Reviewed by: gnn
show more ...
|
#
2cbcccc7 |
| 22-Feb-2007 |
Randall Stewart <rrs@FreeBSD.org> |
Fixes build breakage.. invalid type casts.. and invalid type for size in one place.
|
#
2c0d559d |
| 22-Feb-2007 |
Randall Stewart <rrs@FreeBSD.org> |
Fixes __FreeBSD__ being present (they should not) and also trailing garbage on undef of magic numbers.
|
#
804cf641 |
| 22-Feb-2007 |
Randall Stewart <rrs@FreeBSD.org> |
Adds a performance improvement for when sctp_sendx is called with only one address, we then can call the generic system call. Also fixes some socket api type issues and cleans up the "magic" numbers
Adds a performance improvement for when sctp_sendx is called with only one address, we then can call the generic system call. Also fixes some socket api type issues and cleans up the "magic" numbers that were being used in the code.
Reviewed by: gnn
show more ...
|
Revision tags: release/6.2.0_cvs, release/6.2.0 |
|
#
066f54d8 |
| 16-Dec-2006 |
Craig Rodrigues <rodrigc@FreeBSD.org> |
Consistently use a socklen_t type where required, and eliminate GCC warning "dereferencing type-punned pointer will break strict-aliasing rules".
Reviewed by: rrs
|
#
d6dda9b2 |
| 15-Dec-2006 |
Randall Stewart <rrs@FreeBSD.org> |
This adds the "system calls" sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getasso
This adds the "system calls" sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getassocid() sctp_send() sctp_sendx() sctp_sendmsgx() sctp_recvmsg() sctp_peeloff()
Manual pages will be forthcoming (and the commit to porters-handbook)
show more ...
|