Changeset 63668 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Aug 31, 2016 1:34:59 AM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/socket.c
r63562 r63668 352 352 else 353 353 { 354 int fUniniti olizedTemplate = 0;355 fUniniti olizedTemplate = RT_BOOL(( sototcpcb(so)354 int fUninitializedTemplate = 0; 355 fUninitializedTemplate = RT_BOOL(( sototcpcb(so) 356 356 && ( sototcpcb(so)->t_template.ti_src.s_addr == INADDR_ANY 357 357 || sototcpcb(so)->t_template.ti_dst.s_addr == INADDR_ANY))); … … 360 360 RT_GCC_EXTENSION __PRETTY_FUNCTION__, nn, errno, strerror(errno))); 361 361 sofcantrcvmore(so); 362 if (!fUniniti olizedTemplate)362 if (!fUninitializedTemplate) 363 363 tcp_sockclosed(pData, sototcpcb(so)); 364 364 else -
trunk/src/VBox/Devices/Network/slirp/tcp_output.c
r63013 r63668 444 444 else 445 445 { 446 bool fUniniti olizedTemplate = false;446 bool fUninitializedTemplate = false; 447 447 if (tp->t_flags & TF_ACKNOW) 448 448 tcpstat.tcps_sndacks++; … … 488 488 * to workaround the problem till right fix. Warning appears once at release log. 489 489 */ 490 fUniniti olizedTemplate = RT_BOOL(( tp->t_template.ti_src.s_addr == INADDR_ANY490 fUninitializedTemplate = RT_BOOL(( tp->t_template.ti_src.s_addr == INADDR_ANY 491 491 || tp->t_template.ti_dst.s_addr == INADDR_ANY)); 492 492 #ifndef DEBUG_vvl 493 if (fUniniti olizedTemplate)493 if (fUninitializedTemplate) 494 494 { 495 495 static bool fWarn; … … 502 502 } 503 503 #else 504 Assert((!fUniniti olizedTemplate));504 Assert((!fUninitializedTemplate)); 505 505 #endif 506 506 } -
trunk/src/VBox/Devices/Network/slirp/tcp_subr.c
r63562 r63668 243 243 { 244 244 */ 245 int fUniniti olizedTemplate = 0;245 int fUninitializedTemplate = 0; 246 246 #ifndef LOG_ENABLED 247 247 NOREF(err); 248 248 #endif 249 249 LogFlowFunc(("ENTER: tp = %R[tcpcb793], errno = %d\n", tp, err)); 250 fUniniti olizedTemplate = RT_BOOL(( tp250 fUninitializedTemplate = RT_BOOL(( tp 251 251 && ( tp->t_template.ti_src.s_addr == INADDR_ANY 252 252 || tp->t_template.ti_dst.s_addr == INADDR_ANY))); 253 253 254 254 if ( TCPS_HAVERCVDSYN(tp->t_state) 255 && !fUniniti olizedTemplate)255 && !fUninitializedTemplate) 256 256 { 257 257 TCP_STATE_SWITCH_TO(tp, TCPS_CLOSED); -
trunk/src/VBox/Devices/Network/slirp/tcp_timer.c
r62511 r63668 159 159 { 160 160 register int rexmt; 161 int fUniniti olizedTemplate = 0;161 int fUninitializedTemplate = 0; 162 162 163 163 LogFlowFunc(("ENTER: tp:%R[tcpcb793], timer:%d\n", tp, timer)); 164 fUniniti olizedTemplate = RT_BOOL(( tp->t_template.ti_src.s_addr == INADDR_ANY164 fUninitializedTemplate = RT_BOOL(( tp->t_template.ti_src.s_addr == INADDR_ANY 165 165 || tp->t_template.ti_dst.s_addr == INADDR_ANY)); 166 if (fUniniti olizedTemplate)166 if (fUninitializedTemplate) 167 167 { 168 168 tp = tcp_drop(pData, tp, 0);
Note:
See TracChangeset
for help on using the changeset viewer.