This patch series adds the necessary bits to make use of recently added sctp_diag module in Linux. There are a few pending kernel fixes currently under review which this series kind of depends on, but it is already useable as is (although a bit buggy here and there).
The first patch adds include/linux/sctp.h which albeit existing in kernel uapi headers contains modifications included in above mentioned kernel fixes so doesn't comply with upstream and therefore shouldn't be applied as-is (at least not now). Probably it will be obsoleted by the usual kernel headers import anyway. So please don't consider this series as the final word, but rather a base for early review/testing and feedback. Phil Sutter (2): include: Add linux/sctp.h ss: Add support for SCTP protocol include/linux/sctp.h | 1005 ++++++++++++++++++++++++++++++++++++++++++++++++++ misc/ss.c | 212 ++++++++++- 2 files changed, 1209 insertions(+), 8 deletions(-) create mode 100644 include/linux/sctp.h -- 2.8.2