summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/netinet/sctp_constants.h')
-rw-r--r--freebsd/sys/netinet/sctp_constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/freebsd/sys/netinet/sctp_constants.h b/freebsd/sys/netinet/sctp_constants.h
index d07381d5..7ee7e311 100644
--- a/freebsd/sys/netinet/sctp_constants.h
+++ b/freebsd/sys/netinet/sctp_constants.h
@@ -983,6 +983,9 @@ __FBSDID("$FreeBSD$");
((((uint8_t *)&(a)->s_addr)[0] == 169) && \
(((uint8_t *)&(a)->s_addr)[1] == 254))
+/* Maximum size of optval for IPPROTO_SCTP level socket options. */
+#define SCTP_SOCKET_OPTION_LIMIT (64 * 1024)
+
#if defined(_KERNEL)
#define SCTP_GETTIME_TIMEVAL(x) (getmicrouptime(x))