summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_structs.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-07-17 20:58:26 +0000
committerrrs <rrs@FreeBSD.org>2007-07-17 20:58:26 +0000
commitbaae800484b92bf7eee24218fdc96dca410b1846 (patch)
tree6c79e4122192f2fc2cd2730d66ed9af4e467112a /sys/netinet/sctp_structs.h
parenteeef9fbdacbbff0d2c008a8f385bddf21f2b0f04 (diff)
downloadFreeBSD-src-baae800484b92bf7eee24218fdc96dca410b1846.zip
FreeBSD-src-baae800484b92bf7eee24218fdc96dca410b1846.tar.gz
- added pre-checks to the bindx call.
- use proper tick gathering macro instead of ticks directly. - Placed reasonable boundaries on sets that a user can do that are converted to ticks from ms. - Fix CMT_PF to always check to be sure CMT is on. - Fix ticks use of CMT_PF. - put back code to allow asconfs to be queued while INITs are in flight and before the assoc is established. - During window probes, an ack'd packet might be left with the window probe mark on it causing it to be retransmitted. Change so that the flight decrease macro clears the window_probe mark. - Additional logging flight size/reading and ASOC LOG. This is only enabled if you manually insert things into opt_sctp.h since its a set of debug code only. - Found an interesting SMP race in the way data was appended which could cause a reader to lose a part of a message, had to reorder when we marked the message was complete to after the data was appended. - bug in ADD-IP for the subset bound socket case when the peer has only one address - fix ASCONF implicit success/error handling case - proper support of jails in Freebsd 6> - copy out the timeval for the 64 bit sparc world on cookie-echo alignment error crashes without this). Approved by: re(Ken Smith)
Diffstat (limited to 'sys/netinet/sctp_structs.h')
-rw-r--r--sys/netinet/sctp_structs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/netinet/sctp_structs.h b/sys/netinet/sctp_structs.h
index f4d7835..d1ee1cd 100644
--- a/sys/netinet/sctp_structs.h
+++ b/sys/netinet/sctp_structs.h
@@ -484,11 +484,14 @@ struct sctp_scoping {
#define SCTP_TSN_LOG_SIZE 40
struct sctp_tsn_log {
+ void *stcb;
uint32_t tsn;
uint16_t strm;
uint16_t seq;
uint16_t sz;
uint16_t flgs;
+ uint16_t in_pos;
+ uint16_t in_out;
};
#define SCTP_FS_SPEC_LOG_SIZE 200
@@ -761,10 +764,13 @@ struct sctp_association {
*/
struct sctp_tsn_log in_tsnlog[SCTP_TSN_LOG_SIZE];
struct sctp_tsn_log out_tsnlog[SCTP_TSN_LOG_SIZE];
+ uint32_t cumack_log[SCTP_TSN_LOG_SIZE];
uint16_t tsn_in_at;
uint16_t tsn_out_at;
uint16_t tsn_in_wrapped;
uint16_t tsn_out_wrapped;
+ uint16_t cumack_log_at;
+
#endif /* SCTP_ASOCLOG_OF_TSNS */
#ifdef SCTP_FS_SPEC_LOG
struct sctp_fs_spec_log fslog[SCTP_FS_SPEC_LOG_SIZE];
OpenPOWER on IntegriCloud