sctp: implement socket option SCTP_GET_ASSOC_ID_LIST
authorWei Yongjun <yjwei@cn.fujitsu.com>
Sun, 17 Apr 2011 17:27:08 +0000 (17:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Apr 2011 17:35:43 +0000 (10:35 -0700)
commit209ba424c2c6e5ff4dd0ff79bb23659aa6048eac
treedf443b83a4d458cfb46ea2e08e176b2433fa5b66
parent4c6a6f42131dd750dcfe3c71e63bfc046e5a227e
sctp: implement socket option SCTP_GET_ASSOC_ID_LIST

This patch Implement socket option SCTP_GET_ASSOC_ID_LIST.
SCTP Socket API Extension:

  8.2.6. Get the Current Identifiers of Associations
         (SCTP_GET_ASSOC_ID_LIST)

  This option gets the current list of SCTP association identifiers of
  the SCTP associations handled by a one-to-many style socket.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/user.h
net/sctp/socket.c