aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/sctp.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-04-22 11:06:27 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-04-22 11:06:27 +0000
commit9a6142d8cdaf65e334a5d31e32634c7a206fbcf7 (patch)
treecdfe74b46c1b17927d990e112c62556cf444c46e /sys/netinet/sctp.h
parent7621783a55615854f7f3ac6c1f39772bd68e17a6 (diff)
downloadsrc-9a6142d8cdaf65e334a5d31e32634c7a206fbcf7.tar.gz
src-9a6142d8cdaf65e334a5d31e32634c7a206fbcf7.zip
- Somehow the disable fragment option got lost. We could
set/clear it but would not do it. Now we will. - Moved to latest socket api for extended sndrcv info struct. - Moved to support all new levels of fragment interleave.
Notes
Notes: svn path=/head/; revision=168943
Diffstat (limited to 'sys/netinet/sctp.h')
-rw-r--r--sys/netinet/sctp.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/netinet/sctp.h b/sys/netinet/sctp.h
index ab29820a2939..d89560ddbc96 100644
--- a/sys/netinet/sctp.h
+++ b/sys/netinet/sctp.h
@@ -223,6 +223,15 @@ struct sctp_paramhdr {
/* Debug things that need to be purged */
#define SCTP_SET_INITIAL_DBG_SEQ 0x00009f00
+
+/* fragment interleave constants
+ * setting must be one of these or
+ * EINVAL returned.
+ */
+#define SCTP_FRAG_LEVEL_0 0x00000000
+#define SCTP_FRAG_LEVEL_1 0x00000001
+#define SCTP_FRAG_LEVEL_2 0x00000002
+
/*
* user state values
*/