sctp: add sctp/remaddr table to complete RFC remote address table OID
authorNeil Horman <nhorman@tuxdriver.com>
Fri, 9 May 2008 22:14:50 +0000 (15:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 May 2008 22:14:50 +0000 (15:14 -0700)
commit20c2c1fd6c842caf70dcb1d94b9d58861949fd3d
tree4bce7be751ae0d460b8c2be5a6454100c93f0697
parent88a0a948e752bb9b617a8c55417a9fd9b0257199
sctp: add sctp/remaddr table to complete RFC remote address table OID

Add support for RFC3873 remote address table OID.

      +--(5) sctpAssocRemAddrTable
      |   |
      |   |--(-) sctpAssocId (shared index)
      |   |
      |   +--(1) sctpAssocRemAddrType (index)
      .   |
      .   +--(2) sctpAssocRemAddr (index)
      .   |
          +--(3) sctpAssocRemAddrActive
          |
          +--(4) sctpAssocRemAddrHBActive
          |
          +--(5) sctpAssocRemAddrRTO
          |
          +--(6) sctpAssocRemAddrMaxPathRtx
          |
          +--(7) sctpAssocRemAddrRtx
          |
          +--(8) sctpAssocRemAddrStartTime

This patch places all the requsite data in /proc/net/sctp/remaddr.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/sctp.h
net/sctp/proc.c
net/sctp/protocol.c