Home | History | Annotate | Download | only in slirp-android

Lines Matching refs:ti_len

76                (tp)->rcv_nxt += (ti)->ti_len; \
79 STAT(tcpstat.tcps_rcvbyte += (ti)->ti_len); \
96 (tp)->rcv_nxt += (ti)->ti_len; \
99 STAT(tcpstat.tcps_rcvbyte += (ti)->ti_len); \
147 i = q->ti_seq + q->ti_len - ti->ti_seq;
149 if (i >= ti->ti_len) {
151 STAT(tcpstat.tcps_rcvdupbyte += ti->ti_len);
162 ti->ti_len -= i;
168 STAT(tcpstat.tcps_rcvoobyte += ti->ti_len);
176 register int i = (ti->ti_seq + ti->ti_len) - q->ti_seq;
179 if (i < q->ti_len) {
181 q->ti_len -= i;
206 if (tp->t_state == TCPS_SYN_RECEIVED && ti->ti_len)
209 tp->rcv_nxt += ti->ti_len;
301 ti->ti_len = htons((u_int16_t)tlen);
321 ti->ti_len = tlen;
504 * SEQ_LT(tp->last_ack_sent, ti->ti_seq + ti->ti_len)) {
509 if (ti->ti_len == 0) {
563 ti->ti_len <= sbspace(&so->so_rcv)) {
570 tp->rcv_nxt += ti->ti_len;
572 STAT(tcpstat.tcps_rcvbyte += ti->ti_len);
809 if (ti->ti_len > tp->rcv_wnd) {
810 todrop = ti->ti_len - tp->rcv_wnd;
812 ti->ti_len = tp->rcv_wnd;
850 * tcpstat.tcps_rcvdupbyte += ti->ti_len;
871 if (todrop > ti->ti_len
872 || (todrop == ti->ti_len && (tiflags & TH_FIN) == 0)) {
885 todrop = ti->ti_len;
894 ti->ti_len -= todrop;
907 tp->t_state > TCPS_CLOSE_WAIT && ti->ti_len) {
917 todrop = (ti->ti_seq+ti->ti_len) - (tp->rcv_nxt+tp->rcv_wnd);
920 if (todrop >= ti->ti_len) {
921 STAT(tcpstat.tcps_rcvbyteafterwin += ti->ti_len);
950 ti->ti_len -= todrop;
959 * SEQ_LT(tp->last_ack_sent, ti->ti_seq + ti->ti_len +
1084 if (ti->ti_len == 0 && tiwin == tp->snd_wnd) {
1295 if (ti->ti_len == 0 &&
1361 if ((ti->ti_len || (tiflags&TH_FIN)) &&
1446 /* if (ti->ti_len && (unsigned)ti->ti_len < tp->t_maxseg) {
1448 /* if ((ti->ti_len && (unsigned)ti->ti_len < tp->t_maxseg &&
1453 if (ti->ti_len && (unsigned)ti->ti_len <= 5 &&
1483 if (tiflags & TH_SYN) ti->ti_len++;
1484 tcp_respond(tp, ti, m, ti->ti_seq+ti->ti_len, (tcp_seq)0,