Home | History | Annotate | Download | only in netinet

Lines Matching defs:chk

176 sctp_log_strm_del(struct sctp_tmit_chunk *chk, struct sctp_tmit_chunk *poschk,
180 if (chk == NULL) {
186 sctp_clog[sctp_cwnd_log_at].x.strlog.n_tsn = chk->rec.data.TSN_seq;
187 sctp_clog[sctp_cwnd_log_at].x.strlog.n_sseq = chk->rec.data.stream_seq;
436 struct sctp_tmit_chunk *chk;
472 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
473 if (chk->sent == SCTP_DATAGRAM_RESEND) {
475 } else if (chk->sent < SCTP_DATAGRAM_RESEND) {
476 tot_out += chk->book_size;
540 TAILQ_FOREACH(chk, &stcb->asoc.sent_queue, sctp_next) {
541 if ((chk->whoTo == lnet) &&
542 (chk->sent < SCTP_DATAGRAM_RESEND)) {
543 tot_out += chk->book_size;
907 struct sctp_tmit_chunk *chk;
915 chk = TAILQ_FIRST(&stcb->asoc.sent_queue);
917 chk->whoTo);
1597 struct sctp_tmit_chunk *chk;
1609 TAILQ_FOREACH(chk, &strm->outqueue, sctp_next) {
1610 if (chk->send_size > eff_mtu) {
1611 chk->flags &= SCTP_DONT_FRAGMENT;
1612 chk->flags |= CHUNK_FLAGS_FRAGMENT_OK;
1616 TAILQ_FOREACH(chk, &asoc->send_queue, sctp_next) {
1617 if (chk->send_size > eff_mtu) {
1618 chk->flags &= SCTP_DONT_FRAGMENT;
1619 chk->flags |= CHUNK_FLAGS_FRAGMENT_OK;
1622 TAILQ_FOREACH(chk, &asoc->sent_queue, sctp_next) {
1623 if (chk->send_size > eff_mtu) {
1624 chk->flags &= SCTP_DONT_FRAGMENT;
1625 chk->flags |= CHUNK_FLAGS_FRAGMENT_OK;
2058 struct sctp_tmit_chunk *chk)
2070 length = sizeof(struct sctp_send_failed) + chk->send_size;
2085 ssf->ssf_info.sinfo_stream = chk->rec.data.stream_number;
2086 ssf->ssf_info.sinfo_ssn = chk->rec.data.stream_seq;
2087 ssf->ssf_info.sinfo_flags = chk->rec.data.rcv_flags;
2088 ssf->ssf_info.sinfo_ppid = chk->rec.data.payloadtype;
2089 ssf->ssf_info.sinfo_context = chk->rec.data.context;
2092 m_notify->m_next = chk->data;
2108 chk->data = NULL;
2571 struct sctp_tmit_chunk *chk;
2581 chk = TAILQ_FIRST(&outs->outqueue);
2582 while (chk) {
2584 TAILQ_REMOVE(&outs->outqueue, chk, sctp_next);
2586 SCTP_NOTIFY_DATAGRAM_UNSENT, chk);
2587 sctp_m_freem(chk->data);
2588 chk->data = NULL;
2589 if (chk->whoTo)
2590 sctp_free_remote_addr(chk->whoTo);
2591 chk->whoTo = NULL;
2592 chk->asoc = NULL;
2594 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
2600 chk = TAILQ_FIRST(&outs->outqueue);
2605 chk = TAILQ_FIRST(&asoc->send_queue);
2606 while (chk) {
2607 TAILQ_REMOVE(&asoc->send_queue, chk, sctp_next);
2608 sctp_ulp_notify(SCTP_NOTIFY_DG_FAIL, stcb, SCTP_NOTIFY_DATAGRAM_UNSENT, chk);
2609 sctp_m_freem(chk->data);
2610 chk->data = NULL;
2611 if (chk->whoTo)
2612 sctp_free_remote_addr(chk->whoTo);
2613 chk->whoTo = NULL;
2614 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
2620 chk = TAILQ_FIRST(&asoc->send_queue);
2625 chk = TAILQ_FIRST(&asoc->sent_queue);
2626 while (chk) {
2627 TAILQ_REMOVE(&asoc->sent_queue, chk, sctp_next);
2629 SCTP_NOTIFY_DATAGRAM_SENT, chk);
2630 sctp_m_freem(chk->data);
2631 chk->data = NULL;
2632 if (chk->whoTo)
2633 sctp_free_remote_addr(chk->whoTo);
2634 chk->whoTo = NULL;
2635 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
2641 chk = TAILQ_FIRST(&asoc->sent_queue);