/external/usrsctp/programs/ |
D | daytime_server.c | 70 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,
|
D | daytime_server_upcall.c | 63 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,
|
D | tsctp.c | 219 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 …]
|
D | ekr_client.c | 172 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,
|
D | ekr_peer.c | 167 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,
|
D | st_client.c | 134 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()
|
D | ekr_loop.c | 280 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 …]
|
D | rtcweb.c | 322 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 …]
|
D | ekr_loop_upcall.c | 313 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,
|
D | ekr_loop_offload.c | 298 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,
|
D | http_client.c | 111 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/ |
D | sctp_output.c | 3582 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;
|