Home
last modified time | relevance | path

Searched refs:strrst (Results 1 – 5 of 5) sorted by relevance

/external/usrsctp/programs/
Dprograms_helper.c253 handle_stream_reset_event(struct sctp_stream_reset_event *strrst) argument
257 n = (strrst->strreset_length - sizeof(struct sctp_stream_reset_event)) / sizeof(uint16_t);
258 fprintf(stderr, "Stream reset event: flags = %x, ", strrst->strreset_flags);
259 if (strrst->strreset_flags & SCTP_STREAM_RESET_INCOMING_SSN) {
260 if (strrst->strreset_flags & SCTP_STREAM_RESET_OUTGOING_SSN) {
265 if (strrst->strreset_flags & SCTP_STREAM_RESET_OUTGOING_SSN) {
273 fprintf(stderr, "%d", strrst->strreset_stream_list[i]);
Drtcweb.c986 handle_stream_reset_event(struct peer_connection *pc, struct sctp_stream_reset_event *strrst) argument
991 n = (strrst->strreset_length - sizeof(struct sctp_stream_reset_event)) / sizeof(uint16_t);
992 printf("Stream reset event: flags = %x, ", strrst->strreset_flags);
993 if (strrst->strreset_flags & SCTP_STREAM_RESET_INCOMING_SSN) {
994 if (strrst->strreset_flags & SCTP_STREAM_RESET_OUTGOING_SSN) {
999 if (strrst->strreset_flags & SCTP_STREAM_RESET_OUTGOING_SSN) {
1007 printf("%d", strrst->strreset_stream_list[i]);
1010 if (!(strrst->strreset_flags & SCTP_STREAM_RESET_DENIED) &&
1011 !(strrst->strreset_flags & SCTP_STREAM_RESET_FAILED)) {
1013 if (strrst->strreset_flags & SCTP_STREAM_RESET_INCOMING_SSN) {
[all …]
/external/usrsctp/usrsctplib/netinet/
Dsctp_timer.c1131 struct sctp_tmit_chunk *strrst = NULL, *chk = NULL; local
1137 (void)sctp_find_stream_reset(stcb, stcb->asoc.str_reset_seq_out, &strrst);
1138 if (strrst == NULL) {
1141 net = strrst->whoTo;
1153 strrst->whoTo = alt;
1180 if (strrst->sent != SCTP_DATAGRAM_RESEND)
1182 strrst->sent = SCTP_DATAGRAM_RESEND;
1183 strrst->flags |= CHUNK_FLAGS_FRAGMENT_OK;
Dsctp_usrreq.c5529 struct sctp_reset_streams *strrst; local
5533 SCTP_CHECK_AND_CAST(strrst, optval, struct sctp_reset_streams, optsize);
5534 SCTP_FIND_STCB(inp, stcb, strrst->srs_assoc_id);
5556 strrst->srs_number_streams * sizeof(uint16_t) > optsize) {
5561 if (strrst->srs_flags & SCTP_STREAM_RESET_INCOMING) {
5570 if (strrst->srs_flags & SCTP_STREAM_RESET_OUTGOING) {
5573 if ((strrst->srs_number_streams > SCTP_MAX_STREAMS_AT_ONCE_RESET) && send_in) {
5585 for (i = 0; i < strrst->srs_number_streams; i++) {
5587 (strrst->srs_stream_list[i] >= stcb->asoc.streamincnt)) {
5593 (strrst->srs_stream_list[i] >= stcb->asoc.streamoutcnt)) {
[all …]
Dsctp_pcb.c5489 struct sctp_stream_reset_list *strrst, *nstrrst; local
5763 TAILQ_FOREACH_SAFE(strrst, &asoc->resetHead, next_resp, nstrrst) {
5764 TAILQ_REMOVE(&asoc->resetHead, strrst, next_resp);
5765 SCTP_FREE(strrst, SCTP_M_STRESET);