From c6f772a04eafccf03d20b0bbda08c399b4640f38 Mon Sep 17 00:00:00 2001
From: Hans Bolinder Represents an address of an SCTP socket.
- It is a tuple as explained in
- See One of the
Socket identifier returned from The number of outbound and inbound streams can be set by
@@ -300,6 +281,19 @@
The default Other options are: Set up the socket for IPv6. Set up the socket for IPv4. This is the default. A default set of socket Indicates change of the status of the peer's IP address given by
@@ -387,7 +381,7 @@
Delivered when a peer sends an Adaptation Layer Indication
@@ -505,7 +499,7 @@
Determines the size of the user-level software buffer used by
the SCTP driver. Not to be confused with Sets the Type-Of-Service field on the IP datagrams being sent,
to the given value, which effectively determines a prioritization
@@ -523,7 +517,7 @@
are system-dependent. TODO: we do not provide
symbolic names for these values yet. A protocol-independent equivalent of
#sctp_send_failed{
flags = true | false,
- error = int(),
+ error = integer(),
info = #sctp_sndrcvinfo{},
assoc_id = assoc_id()
data = binary()
@@ -407,7 +401,7 @@
#sctp_adaptation_event{
- adaptation_ind = int(),
+ adaptation_ind = integer(),
assoc_id = assoc_id()
}
Determines the timeout in seconds for flushing unsent data in the
The size, in bytes, of the *kernel* send buffer for this socket.
Sending errors would occur for datagrams larger than
The size, in bytes, of the *kernel* recv buffer for this socket. Sending errors would occur for datagrams larger than @@ -571,9 +565,9 @@
#sctp_rtoinfo{ assoc_id = assoc_id(), - initial = int(), - max = int(), - min = int() + initial = integer(), + max = integer(), + min = integer() }
Determines re-transmission time-out parameters, in milliseconds,
for the association(s) given by
#sctp_assocparams{ assoc_id = assoc_id(), - asocmaxrxt = int(), - number_peer_destinations = int(), - peer_rwnd = int(), - local_rwnd = int(), - cookie_life = int() + asocmaxrxt = integer(), + number_peer_destinations = integer(), + peer_rwnd = integer(), + local_rwnd = integer(), + cookie_life = integer() }
Determines association parameters for the association(s) given by
Determines the default parameters which this socket attempts
to negotiate with its peer while establishing an association with it.
@@ -630,10 +624,11 @@
Determines the time (in seconds) after which an idle association is
- automatically closed.
#sctp_initmsg{
- num_ostreams = int(),
- max_instreams = int(),
- max_attempts = int(),
- max_init_timeo = int()
+ num_ostreams = integer(),
+ max_instreams = integer(),
+ max_attempts = integer(),
+ max_init_timeo = integer()
}
Turns on|off automatic mapping of IPv4 addresses into IPv6 ones (if the socket address family is AF_INET6).
Determines the maximum chunk size if message fragmentation is used.
If
#sctp_setadaptation{ - adaptation_ind = int() + adaptation_ind = integer() }
When set, requests that the local endpoint uses the value given by
#sctp_sndrcvinfo{ - stream = int(), - ssn = int(), + stream = integer(), + ssn = integer(), flags = list(), - ppid = int(), - context = int(), - timetolive = int(), - tsn = int(), - cumtsn = int(), + ppid = integer(), + context = integer(), + timetolive = integer(), + tsn = integer(), + cumtsn = integer(), assoc_id = assoc_id() }
#sctp_assoc_value{ assoc_id = assoc_id(), - assoc_value = int() + assoc_value = integer() }
Rarely used. Determines the ACK time
(given by
This option is read-only. It determines the status of
@@ -946,10 +941,10 @@
assoc_id = assoc_id(),
address = {IP, Port},
state = inactive | active,
- cwnd = int(),
- srtt = int(),
- rto = int(),
- mtu = int()
+ cwnd = integer(),
+ srtt = integer(),
+ rto = integer(),
+ mtu = integer()
}
IP = ip_address()
Port = port_number()
@@ -1119,7 +1114,6 @@ client_loop(S, Peer1, Port1, AssocId1, Peer2, Port2, AssocId2) ->