Home
last modified time | relevance | path

Searched refs:sndinfo (Results 1 – 12 of 12) sorted by relevance

/external/usrsctp/programs/
Ddaytime_server.c70 struct sctp_sndinfo sndinfo; local
120 sndinfo.snd_sid = 0;
121 sndinfo.snd_flags = 0;
122 sndinfo.snd_ppid = htonl(DAYTIME_PPID);
123 sndinfo.snd_context = 0;
124 sndinfo.snd_assoc_id = 0;
125 if (usrsctp_sendv(conn_sock, buffer, strlen(buffer), NULL, 0, (void *)&sndinfo,
Ddaytime_server_upcall.c63 struct sctp_sndinfo sndinfo; local
78 sndinfo.snd_sid = 0;
79 sndinfo.snd_flags = 0;
80 sndinfo.snd_ppid = htonl(DAYTIME_PPID);
81 sndinfo.snd_context = 0;
82 sndinfo.snd_assoc_id = 0;
83 usrsctp_sendv(conn_sock, buffer, strlen(buffer), NULL, 0, (void *)&sndinfo,
Dtsctp.c219 struct sctp_sndinfo sndinfo; in send_cb() local
233 sndinfo.snd_sid = 0; in send_cb()
234 sndinfo.snd_flags = 0; in send_cb()
236 sndinfo.snd_flags |= SCTP_UNORDERED; in send_cb()
238 sndinfo.snd_ppid = 0; in send_cb()
239 sndinfo.snd_context = 0; in send_cb()
240 sndinfo.snd_assoc_id = 0; in send_cb()
249 (void *)&sndinfo, (socklen_t)sizeof(struct sctp_sndinfo), SCTP_SENDV_SNDINFO, in send_cb()
269 sndinfo.snd_flags |= SCTP_EOF; in send_cb()
271 (void *)&sndinfo, (socklen_t)sizeof(struct sctp_sndinfo), SCTP_SENDV_SNDINFO, in send_cb()
[all …]
Dekr_client.c172 struct sctp_sndinfo sndinfo; local
286 sndinfo.snd_sid = 1;
287 sndinfo.snd_flags = 0;
288 sndinfo.snd_ppid = htonl(DISCARD_PPID);
289 sndinfo.snd_context = 0;
290 sndinfo.snd_assoc_id = 0;
291 if (usrsctp_sendv(s, buffer, BUFFER_SIZE, NULL, 0, (void *)&sndinfo,
Dekr_peer.c167 struct sctp_sndinfo sndinfo; local
309 sndinfo.snd_sid = 1;
310 sndinfo.snd_flags = 0;
311 sndinfo.snd_ppid = htonl(DISCARD_PPID);
312 sndinfo.snd_context = 0;
313 sndinfo.snd_assoc_id = 0;
314 if (usrsctp_sendv(s, line, strlen(line), NULL, 0, (void *)&sndinfo,
Dst_client.c134 struct sctp_sndinfo sndinfo; in on_connect() local
144 sndinfo.snd_sid = 0; in on_connect()
145 sndinfo.snd_flags = 0; in on_connect()
146 sndinfo.snd_ppid = htonl(DISCARD_PPID); in on_connect()
147 sndinfo.snd_context = 0; in on_connect()
148 sndinfo.snd_assoc_id = 0; in on_connect()
149 if (usrsctp_sendv(s, buffer, bufferlen, NULL, 0, (void *)&sndinfo, in on_connect()
Dekr_loop.c280 struct sctp_sndinfo sndinfo; local
507 sndinfo.snd_sid = 1;
508 sndinfo.snd_ppid = htonl(DISCARD_PPID);
509 sndinfo.snd_context = 0;
510 sndinfo.snd_assoc_id = 0;
517 sndinfo.snd_flags = SCTP_UNORDERED;
519 sndinfo.snd_flags = 0;
523 debug_printf("usrscp_sendv - step %d - call %d flags %x\n", i, ++j, sndinfo.snd_flags);
524 while (usrsctp_sendv(s_c, line, LINE_LENGTH, NULL, 0, (void *)&sndinfo,
539 debug_printf("usrscp_sendv - step %d - call %d flags %x\n", i, ++j, sndinfo.snd_flags);
[all …]
Drtcweb.c322 struct sctp_sndinfo sndinfo; in send_open_request_message() local
347 memset(&sndinfo, 0, sizeof(struct sctp_sndinfo)); in send_open_request_message()
348 sndinfo.snd_sid = o_stream; in send_open_request_message()
349 sndinfo.snd_flags = SCTP_EOR; in send_open_request_message()
350 sndinfo.snd_ppid = htonl(DATA_CHANNEL_PPID_CONTROL); in send_open_request_message()
354 &sndinfo, (socklen_t)sizeof(struct sctp_sndinfo), in send_open_request_message()
368 struct sctp_sndinfo sndinfo; in send_open_response_message() local
375 memset(&sndinfo, 0, sizeof(struct sctp_sndinfo)); in send_open_response_message()
376 sndinfo.snd_sid = o_stream; in send_open_response_message()
377 sndinfo.snd_flags = SCTP_EOR; in send_open_response_message()
[all …]
Dekr_loop_upcall.c313 struct sctp_sndinfo sndinfo; local
541 sndinfo.snd_sid = 1;
542 sndinfo.snd_flags = SCTP_UNORDERED;
543 sndinfo.snd_ppid = htonl(DISCARD_PPID);
544 sndinfo.snd_context = 0;
545 sndinfo.snd_assoc_id = 0;
547 if (usrsctp_sendv(s_c, line, LINE_LENGTH, NULL, 0, (void *)&sndinfo,
553 if (usrsctp_sendv(s_c, line, LINE_LENGTH, NULL, 0, (void *)&sndinfo,
Dekr_loop_offload.c298 struct sctp_sndinfo sndinfo; local
513 sndinfo.snd_sid = 1;
514 sndinfo.snd_flags = 0;
515 sndinfo.snd_ppid = htonl(DISCARD_PPID);
516 sndinfo.snd_context = 0;
517 sndinfo.snd_assoc_id = 0;
519 if (usrsctp_sendv(s_c, line, LINE_LENGTH, NULL, 0, (void *)&sndinfo,
Dhttp_client.c111 struct sctp_sndinfo sndinfo; local
292 memset(&sndinfo, 0, sizeof(struct sctp_sndinfo));
293 sndinfo.snd_ppid = htonl(63); /* PPID for HTTP/SCTP */
295 …if (usrsctp_sendv(sock, request, strlen(request), NULL, 0, &sndinfo, sizeof(struct sctp_sndinfo), …
/external/usrsctp/usrsctplib/netinet/
Dsctp_output.c3582 struct sctp_sndinfo sndinfo; local
3642 m_copydata(control, cmsg_data_off, sizeof(struct sctp_sndinfo), (caddr_t)&sndinfo);
3643 sndrcvinfo->sinfo_stream = sndinfo.snd_sid;
3644 sndrcvinfo->sinfo_flags = sndinfo.snd_flags;
3645 sndrcvinfo->sinfo_ppid = sndinfo.snd_ppid;
3646 sndrcvinfo->sinfo_context = sndinfo.snd_context;
3647 sndrcvinfo->sinfo_assoc_id = sndinfo.snd_assoc_id;