summaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_make_chunk.c
diff options
context:
space:
mode:
authorWei Yongjun2010-05-01 04:41:09 +0200
committerVlad Yasevich2010-05-01 04:41:09 +0200
commit787a51a0878f7bee3a9a83040077301e1556b69a (patch)
tree0099ddf04a475fb0c3d102a042de186351315061 /net/sctp/sm_make_chunk.c
parentsctp: use sctp_chunk_is_data macro to decide a chunk is data chunk (diff)
downloadkernel-qcow2-linux-787a51a0878f7bee3a9a83040077301e1556b69a.tar.gz
kernel-qcow2-linux-787a51a0878f7bee3a9a83040077301e1556b69a.tar.xz
kernel-qcow2-linux-787a51a0878f7bee3a9a83040077301e1556b69a.zip
sctp: implement sctp association probing module
This patch implement sctp association probing module, the module will be called sctp_probe. This module allows for capturing the changes to SCTP association state in response to incoming packets. It is used for debugging SCTP congestion control algorithms. Usage: $ modprobe sctp_probe [full=n] [port=n] [bufsize=n] $ cat /proc/net/sctpprobe The output format is: TIME ASSOC LPORT RPORT MTU RWND UNACK <REMOTE-ADDR STATE CWND SSTHRESH INFLIGHT PARTIAL_BYTES_ACKED MTU> ... The output will be like this: 9.226086 c4064c48 9000 8000 1500 53352 1 *192.168.0.19 1 4380 54784 1252 0 1500 9.287195 c4064c48 9000 8000 1500 45144 5 *192.168.0.19 1 5880 54784 6500 0 1500 9.289130 c4064c48 9000 8000 1500 42724 5 *192.168.0.19 1 7380 54784 6500 0 1500 9.620332 c4064c48 9000 8000 1500 48284 4 *192.168.0.19 1 8880 54784 5200 0 1500 ...... Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/sm_make_chunk.c')
0 files changed, 0 insertions, 0 deletions