80d312338b8811a48b3a9ac1da7c1fa888e0be40
[paraslash.git] / m4 / gengetopt / dccp_recv.m4
1 option "host" i
2 "ip or host"
3 string default="localhost"
4 optional
5 details="
6         Both IPv4 and IPv6 addresses are supported.
7 "
8
9 option "port" p
10 "port to connect to"
11 int
12 default="8000"
13 optional
14
15 option "ccid" c
16 "CCID preference(s) for this connection"
17 int
18 # restrict the maximum number of times this option can be passed
19 optional multiple(-10)
20 # currently known CCIDs:
21 # - CCID-2 (RFC 4341),
22 # - CCID-3 (RFC 4342),
23 # - CCID-4 (RFC 5622),
24 # - CCID-248 ... CCID-254 are experimental (RFC 4340, 19.5)
25 values="2", "3", "4", "248", "249", "250", "251", "252", "253", "254"
26 details="
27         When present exactly once, this option mandates the CCID for the
28         sender-receiver connection. If it is passed more than once, it sets
29         a preference list where the order of appearance signifies descending
30         priority. For example, passing 4, 2, 3 creates the preference list
31         (CCID-4, CCID-2, CCID-3), assigning CCID-4 highest preference.
32
33         The request is reconciled with the CCIDs on the server through the
34         'server-priority' mechanism of RFC 4340 6.3.1/10. The server CCIDs
35         can be listed by calling 'para_client si'.
36
37 "