Changeset 51865 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 4, 2014 4:31:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r44528 r51865 126 126 { 127 127 register int tlen; 128 int win = 0;129 128 130 129 LogFlowFunc(("ENTER: tp = %R[tcpcb793], ti = %lx, m = %lx, ack = %u, seq = %u, flags = %x\n", 131 130 tp, (long)ti, (long)m, ack, seq, flags)); 132 131 133 if (tp)134 win = sbspace(&tp->t_socket->so_rcv);135 132 if (m == 0) 136 133 { … … 174 171 ti->ti_flags = flags; 175 172 if (tp) 173 { 174 int win = sbspace(&tp->t_socket->so_rcv); 176 175 ti->ti_win = RT_H2N_U16((u_int16_t) (win >> tp->rcv_scale)); 176 } 177 177 else 178 ti->ti_win = RT_H2N_U16((u_int16_t)win);178 ti->ti_win = 0; 179 179 ti->ti_urp = 0; 180 180 ti->ti_sum = 0;
Note:
See TracChangeset
for help on using the changeset viewer.