Lines Matching defs:tlenp
517 int *tlenp, struct mbuf *m)
536 KASSERT(th == NULL || (seq_start != NULL && tlenp != NULL),
538 "(tp=%p, th=%p, seq_start=%p, tlenp=%p, m=%p)",
539 tp, th, seq_start, tlenp, m));
550 tcp_reass_log_new_in(tp, th->th_seq, *tlenp, m, TCP_R_LOG_ADD, NULL);
558 if ((*tlenp == 0) && ((tcp_get_flags(th) & TH_FIN) == 0)) {
574 } else if ((*tlenp == 0) &&
608 *tlenp = 0;
622 SEQ_LT((th->th_seq + *tlenp), (last->tqe_start + last->tqe_len))) {
627 *tlenp = 0;
645 if (i < *tlenp) {
651 *tlenp -= i;
655 TCPSTAT_ADD(tcps_rcvdupbyte, *tlenp);
657 *tlenp = last->tqe_len;
666 *tlenp = 0;
670 tcp_reass_append(tp, last, m, th, *tlenp, mlast, lenofoh);
673 *tlenp = last->tqe_len;
691 *tlenp = 0;
707 SEQ_GEQ((th->th_seq + *tlenp),first->tqe_start) &&
708 SEQ_LT((th->th_seq + *tlenp), (first->tqe_start + first->tqe_len))) {
749 *tlenp -= i;
755 tcp_reass_prepend(tp, first, m, th, *tlenp, mlast, lenofoh);
767 *tlenp = first->tqe_len;
769 } else if (SEQ_LT((th->th_seq + *tlenp), first->tqe_start)) {
799 if (SEQ_LT((th->th_seq + *tlenp), q->tqe_start) &&
823 if (i >= *tlenp) {
831 TCPSTAT_ADD(tcps_rcvdupbyte, *tlenp);
832 *tlenp = p->tqe_len;
858 *tlenp -= i;
874 tcp_reass_append(tp, p, m, th, *tlenp, mlast, lenofoh);
882 *tlenp = 0;
897 if (SEQ_GEQ((th->th_seq + *tlenp), (q->tqe_start + q->tqe_len))) {
908 tcp_reass_replace(tp, q, m, th->th_seq, *tlenp, mlast, lenofoh, tcp_get_flags(th));
921 tcp_reass_prepend(tp, q, m, th, *tlenp, mlast, lenofoh);
928 *tlenp = q->tqe_len;
956 tp->rcv_nxt += *tlenp;
959 TCPSTAT_ADD(tcps_rcvoobyte, *tlenp);
971 (*tlenp < MSIZE)) {
980 *tlenp = 0;
996 *tlenp = 0;
1017 *tlenp = 0;
1028 TCPSTAT_ADD(tcps_rcvoobyte, *tlenp);
1032 te->tqe_len = *tlenp;
1043 tcp_reass_log_new_in(tp, th->th_seq, *tlenp, m, TCP_R_LOG_NEW_ENTRY, te);
1073 tcp_log_reassm(tp, q, NULL, th->th_seq, *tlenp, TCP_R_LOG_READ, 1);
1082 tcp_log_reassm(tp, q, NULL, th->th_seq, *tlenp, TCP_R_LOG_READ, 2);
1102 tcp_log_reassm(tp, NULL, NULL, th->th_seq, *tlenp, TCP_R_LOG_ZERO, 0);