Lines Matching defs:tp1
3091 struct sctp_tmit_chunk *tp1;
3094 TAILQ_FOREACH(tp1, &stcb->asoc.sent_queue, sctp_next) {
3095 if (tp1->rec.data.tsn == tsn) {
3099 if (SCTP_TSN_GT(tp1->rec.data.tsn, tsn)) {
3101 tp1 = NULL;
3105 if (tp1 == NULL) {
3111 TAILQ_FOREACH(tp1, &stcb->asoc.sent_queue, sctp_next) {
3112 if (tp1->rec.data.tsn == tsn) {
3118 if (tp1 == NULL) {
3121 if ((tp1) && (tp1->sent < SCTP_DATAGRAM_ACKED)) {
3136 if ((uint32_t)SCTP_BUF_LEN(tp1->data) <
3142 if (memcmp(mtod(tp1->data, caddr_t)+SCTP_DATA_CHUNK_OVERHEAD(stcb),
3148 if (tp1->do_rtt) {
3153 if (tp1->whoTo->rto_needed == 0) {
3154 tp1->whoTo->rto_needed = 1;
3156 tp1->do_rtt = 0;
3159 if (tp1->sent != SCTP_DATAGRAM_RESEND)
3166 tp1->rec.data.doing_fast_retransmit = 1;
3172 tp1->rec.data.fast_retran_tsn = stcb->asoc.sending_seq;
3174 tp1->rec.data.fast_retran_tsn = (TAILQ_FIRST(&stcb->asoc.send_queue))->rec.data.tsn;
3179 stcb, tp1->whoTo,
3182 stcb, tp1->whoTo);
3187 tp1->whoTo->flight_size,
3188 tp1->book_size,
3190 tp1->rec.data.tsn);
3192 if (tp1->sent < SCTP_DATAGRAM_RESEND) {
3193 sctp_flight_size_decrease(tp1);
3194 sctp_total_flight_decrease(stcb, tp1);
3196 tp1->sent = SCTP_DATAGRAM_RESEND;
3202 TAILQ_FOREACH(tp1, &stcb->asoc.sent_queue, sctp_next) {
3203 if (tp1->sent == SCTP_DATAGRAM_RESEND)
3206 TAILQ_FOREACH(tp1, &stcb->asoc.control_send_queue,
3208 if (tp1->sent == SCTP_DATAGRAM_RESEND)