Home
last modified time | relevance | path

Searched refs:ti_len (Results 1 – 8 of 8) sorted by relevance

/external/qemu/slirp/
Dtcp_input.c76 (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; in tcp_reass()
149 if (i >= ti->ti_len) { in tcp_reass()
151 STAT(tcpstat.tcps_rcvdupbyte += ti->ti_len); in tcp_reass()
162 ti->ti_len -= i; in tcp_reass()
168 STAT(tcpstat.tcps_rcvoobyte += ti->ti_len); in tcp_reass()
176 register int i = (ti->ti_seq + ti->ti_len) - q->ti_seq; in tcp_reass()
[all …]
Dtcpip.h46 #define ti_len ti_i.ih_len macro
Dtcp_output.c466 ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) +
Dtcp_subr.c73 n->ti_len = htons(sizeof (struct tcpiphdr) - sizeof (struct ip)); in tcp_template()
145 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()
/external/qemu/slirp-android/
Dtcp_input.c76 (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; in tcp_reass()
149 if (i >= ti->ti_len) { in tcp_reass()
151 STAT(tcpstat.tcps_rcvdupbyte += ti->ti_len); in tcp_reass()
162 ti->ti_len -= i; in tcp_reass()
168 STAT(tcpstat.tcps_rcvoobyte += ti->ti_len); in tcp_reass()
176 register int i = (ti->ti_seq + ti->ti_len) - q->ti_seq; in tcp_reass()
[all …]
Dtcpip.h50 #define ti_len ti_i.ih_len macro
Dtcp_subr.c75 n->ti_len = htons(sizeof (struct tcpiphdr) - sizeof (struct ip)); in tcp_template()
147 ti->ti_len = htons((u_short)(sizeof (struct tcphdr) + tlen)); in tcp_respond()
Dtcp_output.c466 ti->ti_len = htons((u_int16_t)(sizeof (struct tcphdr) +