summaryrefslogtreecommitdiffstats
path: root/include/net/sctp/user.h
diff options
context:
space:
mode:
authorVlad Yasevich2009-06-01 18:41:15 +0200
committerVlad Yasevich2009-06-03 15:14:47 +0200
commitc6ba68a26645dbc5029a9faa5687ebe6fcfc53e4 (patch)
treee47a8f343b7fd0ba0a5d3e49a740d5dbe73e430a /include/net/sctp/user.h
parentsctp: fix to choose alternate destination when retransmit ASCONF chunk (diff)
downloadkernel-qcow2-linux-c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4.tar.gz
kernel-qcow2-linux-c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4.tar.xz
kernel-qcow2-linux-c6ba68a26645dbc5029a9faa5687ebe6fcfc53e4.zip
sctp: support non-blocking version of the new sctp_connectx() API
Prior implementation of the new sctp_connectx() call that returns an association ID did not work correctly on non-blocking socket. This is because we could not return both a EINPROGRESS error and an association id. This is a new implementation that supports this. Originally from Ivan Skytte Jørgensen <isj-sctp@i1.dk Signed-off-by: Ivan Skytte Jørgensen <isj-sctp@i1.dk Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'include/net/sctp/user.h')
-rw-r--r--include/net/sctp/user.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h
index b259fc5798fb..1580c04f68bc 100644
--- a/include/net/sctp/user.h
+++ b/include/net/sctp/user.h
@@ -147,6 +147,8 @@ enum sctp_optname {
#define SCTP_GET_LOCAL_ADDRS SCTP_GET_LOCAL_ADDRS
SCTP_SOCKOPT_CONNECTX, /* CONNECTX requests. */
#define SCTP_SOCKOPT_CONNECTX SCTP_SOCKOPT_CONNECTX
+ SCTP_SOCKOPT_CONNECTX3, /* CONNECTX requests. (new implementation) */
+#define SCTP_SOCKOPT_CONNECTX3 SCTP_SOCKOPT_CONNECTX3
};
/*