summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_constants.h
diff options
context:
space:
mode:
authorrrs <rrs@FreeBSD.org>2007-01-18 09:58:43 +0000
committerrrs <rrs@FreeBSD.org>2007-01-18 09:58:43 +0000
commit1b181171ae63e565fff3af7d33d65d39a0d9e4cf (patch)
tree91228bff0a0de5565ce6b43594381b40506b287a /sys/netinet/sctp_constants.h
parenta40cd17e13e0b3a2db6098d58aaab8707ce82bf1 (diff)
downloadFreeBSD-src-1b181171ae63e565fff3af7d33d65d39a0d9e4cf.zip
FreeBSD-src-1b181171ae63e565fff3af7d33d65d39a0d9e4cf.tar.gz
- most all includes (#include <>) migrate to the sctp_os_bsd.h file
- Finally all splxx() are removed - Count error fixed in mapping array which might cause a wrong cumack generation. - Invariants around panic for case D + printf when no invariants. - one-to-one model race condition fixed by using a pre-formed connection and then completing the work so accept won't happen on a non-formed association. - Some additional paranoia checks in sctp_output. - Locks that were missing in the accept code. Approved by: gnn
Diffstat (limited to 'sys/netinet/sctp_constants.h')
-rw-r--r--sys/netinet/sctp_constants.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/netinet/sctp_constants.h b/sys/netinet/sctp_constants.h
index 06490d3..9d23e4f 100644
--- a/sys/netinet/sctp_constants.h
+++ b/sys/netinet/sctp_constants.h
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2001-2006, Cisco Systems, Inc. All rights reserved.
+ * Copyright (c) 2001-2007, Cisco Systems, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -924,11 +924,8 @@ __FBSDID("$FreeBSD$");
(((u_char *)&(a)->s_addr)[3] == 1))
-
-
#if defined(_KERNEL)
-
#define SCTP_GETTIME_TIMEVAL(x) (getmicrouptime(x))
#define SCTP_GETPTIME_TIMEVAL(x) (microuptime(x))
/*#if defined(__FreeBSD__) || defined(__APPLE__)*/
OpenPOWER on IntegriCloud