diff options
author | rrs <rrs@FreeBSD.org> | 2006-11-03 15:23:16 +0000 |
---|---|---|
committer | rrs <rrs@FreeBSD.org> | 2006-11-03 15:23:16 +0000 |
commit | 3d3e3f2242423b47549f89486754bc40030fbe9f (patch) | |
tree | 0ec895f64207afbb268edd872d01288ffc058501 /sys/conf/NOTES | |
parent | d23275fe7d190eab56c82bf462ecb67346e58ab3 (diff) | |
download | FreeBSD-src-3d3e3f2242423b47549f89486754bc40030fbe9f.zip FreeBSD-src-3d3e3f2242423b47549f89486754bc40030fbe9f.tar.gz |
Ok, here it is, we finally add SCTP to current. Note that this
work is not just mine, but it is also the works of Peter Lei
and Michael Tuexen. They both are my two key other developers
working on the project.. and they need ata-boy's too:
****
peterlei@cisco.com
tuexen@fh-muenster.de
****
I did do a make sysent which updated the
syscall's and sysproto.. I hope that is correct... without
it you don't build since we have new syscalls for SCTP :-0
So go out and look at the NOTES, add
option SCTP (make sure inet and inet6 are present too)
and play with SCTP.
I will see about comitting some test tools I have after I
figure out where I should place them. I also have a
lib (libsctp.a) that adds some of the missing socketapi
functions that I need to put into lib's.. I will talk
to George about this :-)
There may still be some 64 bit issues in here, none of
us have a 64 bit processor to test with yet.. Michael
may have a MAC but thats another beast too..
If you have a mac and want to use SCTP contact Michael
he maintains a web site with a loadable module with
this code :-)
Reviewed by: gnn
Approved by: gnn
Diffstat (limited to 'sys/conf/NOTES')
-rw-r--r-- | sys/conf/NOTES | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES index 35465f7..102d66c 100644 --- a/sys/conf/NOTES +++ b/sys/conf/NOTES @@ -506,6 +506,97 @@ options LIBMCHAIN # libalias library, performing NAT options LIBALIAS +# +# SCTP is a NEW transport protocol defined by +# RFC2960 updated by RFC3309 and RFC3758.. and +# soon to have a new base RFC and many many more +# extensions. This release supports all the extensions +# including many drafts (most about to become RFC's). +# It is the premeier SCTP implementation in the NET +# and is quite well tested. +# +# Note YOU MUST have both INET and INET6 defined. +# you don't have to enable V6, but SCTP is +# dual stacked and so far we have not teased apart +# the V6 and V4.. since an association can span +# both a V6 and V4 address at the SAME time :-) +# +options SCTP +# There are bunches of options: +# this one turns on all sorts of +# nastly printing that you can +# do. Its all controled by a +# bit mask (settable by socket opt and +# by sysctl). Including will not cause +# logging until you set the bits.. but it +# can be quite verbose.. so without this +# option we don't do any of the tests for +# bits and prints.. which makes the code run +# faster.. if you are not debugging don't use. +options SCTP_DEBUG +# +# High speed enables sally floyds HS TCP optioin +# for congestion control increase, use only in +# very HS networks and with caution since I doubt +# it will compete fairly with peers. For the big-bad +# internet its best NOT to enable. +# +options SCTP_HIGH_SPEED +# +# This option turns off the CRC32c checksum. Basically +# You will not be able to talk to anyone else that +# has not done this. Its more for expermentation to +# see how much CPU the CRC32c really takes. Most new +# cards for TCP support checksum offload.. so this +# option gives you a "view" into what SCTP would be +# like with such an offload (which only exists in +# high in iSCSI boards so far). With the new +# splitting 8's algorithm its not as bad as it used +# to be.. but it does speed things up try only +# for in a captured lab environment :-) +options SCTP_WITH_NO_CSUM +# +# Logging, this is another debug tool thats way +# cool.. but does take resources so its off +# by default. To do any logging you must first +# enable SCTP_STAT_LOGGING. This gets the utilities +# into the code base that actually do the logging and +# alocates a hugh fixed circular buffer that logging +# uses (about 80,000 entires that are probably 8 long +# words or so long.. so it does take a LOT of memory). +# Its cool for real-time debugging though. +# +options SCTP_STAT_LOGGING +# +# All that options after that turn on specific types of +# logging. You can monitor CWND growth, flight size +# and all sorts of things. Go look at the code and +# see. I have used this to produce interesting +# charts and graphs as well :-> +# +# I have not yet commited the tools to get and print +# the logs, I will do that eventually .. before then +# if you want them send me an email rrs@freebsd.org +# +options SCTP_LOG_MAXBURST +options SCTP_LOG_RWND +options SCTP_CWND_LOGGING +options SCTP_CWND_MONITOR +options SCTP_BLK_LOGGING +options SCTP_STR_LOGGING +options SCTP_FR_LOGGING +options SCTP_MAP_LOGGING +options SCTP_SACK_LOGGING +options SCTP_LOCK_LOGGING +options SCTP_RTTVAR_LOGGING +options SCTP_SB_LOGGING +options SCTP_EARLYFR_LOGGING +options SCTP_NAGLE_LOGGING +options SCTP_WAKE_LOGGING +options SCTP_RECV_RWND_LOGGING +options SCTP_SACK_RWND_LOGGING +options SCTP_MBUF_LOGGING + # altq(9). Enable the base part of the hooks with the ALTQ option. # Individual disciplines must be built into the base system and can not be # loaded as modules at this point. ALTQ requires a stable TSC so if yours is |