summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSridhar Samudrala <sri@us.ibm.com>2003-04-17 20:09:15 -0700
committerSridhar Samudrala <sri@us.ibm.com>2003-04-17 20:09:15 -0700
commite21eb45a4841b24713cb131da9dad787a9871267 (patch)
tree243297c0db0b2bde80a8450e89073950f91a413a /include
parent984c6c43dc97db6f8d7da55cc8b14681754b2094 (diff)
[SCTP] Handle accept() of a CLOSED association.
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/constants.h2
-rw-r--r--include/net/sctp/structs.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h
index 60fe2147486f..9cdd0e551c19 100644
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -216,7 +216,7 @@ typedef enum {
* - A socket in SCTP_SS_LISTENING state indicates that it is willing to
* accept new associations, but cannot initiate the creation of new ones.
* - A socket in SCTP_SS_ESTABLISHED state indicates that it has a single
- * association in ESTABLISHED state.
+ * association.
*/
typedef enum {
SCTP_SS_CLOSED = TCP_CLOSE,
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 719aa2cbb28c..a4fcb9e14d01 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -1545,6 +1545,9 @@ struct sctp_association {
* after reaching 4294967295.
*/
__u32 addip_serial;
+
+ /* Is it a temporary association? */
+ __u8 temp;
};