summaryrefslogtreecommitdiff
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2007-09-08 11:35:11 +0000
committerRandall Stewart <rrs@FreeBSD.org>2007-09-08 11:35:11 +0000
commitceaad40ae729dea2c5d8ffcfdd45bb96fb8969d2 (patch)
tree33156f38f2aa559546f6d475b9777be0710945b3 /sys/netinet/sctp_constants.h
parentfadab4537044dd94fca7569d577c43a0688f6c4c (diff)
Notes
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index faff3b425e85..5d65b78c3d4c 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -1028,6 +1028,13 @@ __FBSDID("$FreeBSD$");
#define SCTP_DEF_ASOC_RESC_LIMIT 10
#define SCTP_DEF_SYSTEM_RESC_LIMIT 1000
+/*-
+ * defines for socket lock states.
+ * Used by __APPLE__ and SCTP_SO_LOCK_TESTING
+ */
+#define SCTP_SO_LOCKED 1
+#define SCTP_SO_NOT_LOCKED 0
+
#define IN4_ISPRIVATE_ADDRESS(a) \
((((uint8_t *)&(a)->s_addr)[0] == 10) || \