Lines Matching +full:shutdown +full:- +full:user +full:- +full:flag

75 one-to-many (SOCK_SEQPACKET) and one-to-one (SOCK_STREAM) socket types.
85 -1 is returned, and
90 Locally detected errors are indicated by a return value of -1.
96 non-blocking I/O mode.
100 send more data on one-to-one type (SOCK_STREAM) sockets.
106 .Bd -literal
113 uint32_t sinfo_timetolive; /* timetolive for PR-SCTP */
121 .Fa sinfo->sinfo_ppid
130 .Fa sinfo->sinfo_flags
132 .Bd -literal
133 #define SCTP_EOF 0x0100 /* Start a shutdown procedures */
135 #define SCTP_UNORDERED 0x0400 /* Message is un-ordered */
136 #define SCTP_ADDR_OVER 0x0800 /* Override the primary-address */
139 /* The lower byte is an enumeration of PR-SCTP policies */
140 #define SCTP_PR_SCTP_TTL 0x0001 /* Time based PR-SCTP */
141 #define SCTP_PR_SCTP_BUF 0x0002 /* Buffer based PR-SCTP */
142 #define SCTP_PR_SCTP_RTX 0x0003 /* Number of retransmissions based PR-SCTP */
145 The flag
148 and then start a graceful shutdown of the association.
162 When this flag is absent messages
166 The flag
170 SCTP will use only one of a multi-homed peers addresses as the primary
176 this flag, the user is asking the stack to ignore the primary address
180 For a one-to-many type (SOCK_SEQPACKET) socket the flag
198 .Fa sinfo->sinfo_timetolive
208 .Fa sinfo->sinfo_timetolive
214 .Fa sinfo->sinfo_timetolive
218 other buffer-based sends are looked to be removed and
229 .Fa sinfo->sinfo_timetolive
235 .Fa sinfo->sinfo_timetolive
238 .Fa sinfo->sinfo_stream
245 .Fa sinfo->sinfo_assoc_id
247 select the association to send to on a one-to-many socket.
248 For a one-to-one socket, this field is ignored.
251 .Fa sinfo->sinfo_context
254 value that the stack retains and will give to the user when a failed send
257 Normally a user process can use this value to index some application
267 .Fa sinfo->sinfo_ssn ,
268 .Fa sinfo->sinfo_tsn ,
270 .Fa sinfo->sinfo_cumtsn
290 user the equivalent behavior as doing a
296 .Fa sinfo->sinfo_assoc_id
346 .Bd -literal
371 .Bd -literal
393 .Bd -literal
395 uint16_t pr_policy; /* PR-SCTP policy */
396 uint32_t pr_value; /* PR-SCTP Policy option */
425 .Bd -literal
453 The call returns the number of characters sent, or -1
460 .Bl -tag -width Er
468 An invalid user space address was specified for an argument.
473 The socket is marked non-blocking and the requested operation
485 On a one-to-one style socket no association exists.
487 An abort was received by the stack while the user was
490 On a one-to-many style socket no address is specified
492 SCTP_ABORT flag was specified on a non-existing association.
498 is not connected and is a one-to-one style socket.
535 select on write will only work for a one-to-one style