]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: Implement socket option SCTP_GET_ASSOC_NUMBER
authorWei Yongjun <yjwei@cn.fujitsu.com>
Fri, 26 Dec 2008 00:57:24 +0000 (16:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Dec 2008 00:57:24 +0000 (16:57 -0800)
commit4b4dc83a93ec12bd0cc6e82724ae6257fa59b806
tree2ee271efa68ef7677c94b1c9daaa33b9ad6a2531
parent301581efd5904f4cb6836a8a835dfdd53e75fe00
sctp: Implement socket option SCTP_GET_ASSOC_NUMBER

Implement socket option SCTP_GET_ASSOC_NUMBER of the latest ietf socket
extensions API draft.

  8.2.5.  Get the Current Number of Associations (SCTP_GET_ASSOC_NUMBER)

   This option gets the current number of associations that are attached
   to a one-to-many style socket.  The option value is an uint32_t.

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