summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichio Honda <micchie@sfc.wide.ad.jp>2011-04-26 20:16:31 +0900
committerDavid S. Miller <davem@davemloft.net>2011-06-02 02:04:53 -0700
commit7dc04d712203eecdc1435a4cd135935c4a297be5 (patch)
treed50fa7599ca9ee393f7c50510e6ea742efcfbf81 /include
parentdd51be0f5484b450b8d48c9226ed86ce3dd5102e (diff)
downloadlinux-3.10-7dc04d712203eecdc1435a4cd135935c4a297be5.tar.gz
linux-3.10-7dc04d712203eecdc1435a4cd135935c4a297be5.tar.bz2
linux-3.10-7dc04d712203eecdc1435a4cd135935c4a297be5.zip
sctp: Add socket option operation for Auto-ASCONF.
This patch allows the application to operate Auto-ASCONF on/off behavior via setsockopt() and getsockopt(). Signed-off-by: Michio Honda <micchie@sfc.wide.ad.jp> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Acked-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/user.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h
index 32fd5127403..0842ef00b2f 100644
--- a/include/net/sctp/user.h
+++ b/include/net/sctp/user.h
@@ -92,6 +92,7 @@ typedef __s32 sctp_assoc_t;
#define SCTP_LOCAL_AUTH_CHUNKS 27 /* Read only */
#define SCTP_GET_ASSOC_NUMBER 28 /* Read only */
#define SCTP_GET_ASSOC_ID_LIST 29 /* Read only */
+#define SCTP_AUTO_ASCONF 30
/* Internal Socket Options. Some of the sctp library functions are
* implemented using these socket options.