Changeset 52113 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 21, 2014 4:31:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/udp.c
r46643 r52113 304 304 Log2(("NAT: UDP tx errno = %d (%s) on sent to %RTnaipv4\n", 305 305 errno, strerror(errno), ip->ip_dst)); 306 #if 0 307 /* ICMP_SOURCEQUENCH haven't got any effect, the idea here 308 * inform guest about the exosting NAT resources with assumption that 309 * that guest reduce traffic. But it doesn't work 310 */ 311 if( errno == EAGAIN 312 || errno == EWOULDBLOCK 313 || errno == EINPROGRESS 314 || errno == ENOTCONN) 315 icmp_error(pData, m, ICMP_SOURCEQUENCH, 0, 1, strerror(errno)); 316 else 317 #endif 318 icmp_error(pData, m, ICMP_UNREACH, ICMP_UNREACH_NET, 0, strerror(errno)); 306 icmp_error(pData, m, ICMP_UNREACH, ICMP_UNREACH_NET, 0, strerror(errno)); 319 307 so->so_m = NULL; 320 308 LogFlowFuncLeave();
Note:
See TracChangeset
for help on using the changeset viewer.