Home | History | Annotate | Download | only in netinet

Lines Matching defs:chk

187 		struct sctp_tmit_chunk *chk;
196 chk = TAILQ_FIRST(&outs->outqueue);
197 while (chk) {
198 TAILQ_REMOVE(&outs->outqueue, chk,
203 chk);
204 sctp_m_freem(chk->data);
205 chk->data = NULL;
206 sctp_free_remote_addr(chk->whoTo);
207 chk->whoTo = NULL;
208 chk->asoc = NULL;
210 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
216 chk = TAILQ_FIRST(&outs->outqueue);
673 struct sctp_chunkhdr *chk;
675 chk = (struct sctp_chunkhdr *)((vaddr_t)phdr + sizeof(*phdr));
676 switch (chk->chunk_type) {
699 chk->chunk_type, (u_int)chk->chunk_type);
2208 struct sctp_tmit_chunk *chk;
2209 chk = TAILQ_FIRST(&asoc->sent_queue);
2210 if (chk) {
2212 stcb, chk->whoTo);
2295 struct sctp_tmit_chunk *chk;
2298 TAILQ_FOREACH(chk, &stcb->asoc.control_send_queue, sctp_next) {
2299 if (chk->rec.chunk_id != SCTP_ECN_ECHO) {
2307 ecne = mtod(chk->data, struct sctp_ecne_chunk *);
2311 TAILQ_REMOVE(&stcb->asoc.control_send_queue, chk,
2313 sctp_m_freem(chk->data);
2314 chk->data = NULL;
2316 sctp_free_remote_addr(chk->whoTo);
2317 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
2630 struct sctp_tmit_chunk *chk, *nchk;
2635 for (chk = TAILQ_FIRST(&asoc->control_send_queue);
2636 chk; chk = nchk) {
2637 nchk = TAILQ_NEXT(chk, sctp_next);
2638 if (chk->rec.chunk_id == SCTP_STREAM_RESET) {
2640 strreq = mtod(chk->data, struct sctp_stream_reset_req *);
2649 sctp_timer_stop(SCTP_TIMER_TYPE_STRRESET, stcb->sctp_ep, stcb, chk->whoTo);
2651 chk,
2653 sctp_m_freem(chk->data);
2654 chk->data = NULL;
2656 sctp_free_remote_addr(chk->whoTo);
2657 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_chunk, chk);
3541 struct sctp_tmit_chunk *chk;
3542 chk = TAILQ_FIRST(&stcb->asoc.sent_queue);
3543 if (chk) {
3546 chk->whoTo);