Debian Codegraph @

debian/man/sctp_darn.1

raw
1 .TH sctp_darn 1
2 .SH NAME
3 sctp_darn \- Send and receive messages via SCTP
4
5 .SH SYNOPSIS
6 .PP
7 .B sctp_darn
8 -H \fIlocal_address\fP -P \fIlocal_port\fP [-h \fIremote_host\fP] [-p \fIremote_port\fP] -l|s
9
10 .SH DESCRIPTION
11
12 This is a userspace test application for the SCTP Linux kernel reference
13 implementation state machine. It is vaguely inspired by Stevens'
14 program "sock".
15
16 It has the limited ability to send messages and to listen for messages
17 sent via SCTP.
18
19 .SH OPTIONS
20 .PP
21 .IP "-H, --local \fIlocal_address\fP"
22 specify one of the local addresses
23 .IP "-P, --local-port \fIlocal_port\fP"
24 specify the port number for local addresses
25 .IP "-h, --remote \fIremote_address\fP"
26 specify the peer address
27 .IP "-p, --remote-port \fIremote_port\fP"
28 specify the port number for the peer address
29 .IP "-l, --listen"
30 print messages received from the peer
31 .IP "-s, --send"
32 send messages to the peer
33 .IP "-B, --bindx-add \fIaddress\fP"
34 add the specified address(es) as additional bind
35 addresses to the local socket. Multiple addresses can
36 be specified by this argument multiple times.
37 For example, '-B 10.0.0.1 -B 20.0.0.2'.
38 .IP "-b, --bindx-rem \fIaddress\fP"
39 remove the specified address(es) from the bind
40 addresses of the local socket. Multiple addresses can
41 be specified by this argument multiple times.
42 For example, '-b 10.0.0.1 -b 20.0.0.2'.
43 .IP "-I"
44 use the interactive mode.
45 .IP "-i"
46 setup the specified number of endpoints by using the
47 specified local host (-H) and local port (-P). The port
48 number will be incremented by one for each additional
49 endpoint. All of these endpoints will be listening.
50 If a remote host (-h) and a remote port are also
51 specified, the first endpoint will start sending fixed
52 sized messages to the remote host.
53 .IP "-m \fIsize\fP"
54 specify the sockopt sndbuf/rcvbuf size.
55 .IP "-n"
56 set the socket(s) to be in the non-blocking mode.
57 collect messages from stdin and deliver them to the peer
58 .IP "--use-poll"
59 use system call poll() for polling among the
60 number of endpoints specified by the -i option. Without
61 this option, select() would be used as default.
62 .IP "-t"
63 use SOCK_STREAM tcp-style sockets.
64 .IP "-z \fIsize\fP"
65 specify the message size to be sent. The default
66 message size generated would be 16K.
67 .IP "--interface \fIifname\fP"
68 select interface for sin6_scope_id.
69
70 .SH AUTHOR
71 Michael Biebl <[email protected]>