VirtualBox

Changeset 28166 in vbox


Ignore:
Timestamp:
Apr 11, 2010 9:08:45 PM (15 years ago)
Author:
vboxsync
Message:

NAT: fixed polling of the ICMP socket reducing the ICMP latency

Location:
trunk/src/VBox/Devices/Network/slirp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/slirp/ip_icmp.c

    r28147 r28166  
    427427                        time_fasttimo = curtime; /* Flag when we want a fasttimo */
    428428                    }
    429 
    430429                }
    431430                else
  • trunk/src/VBox/Devices/Network/slirp/slirp.c

    r28147 r28166  
    840840        }
    841841    }
     842    /* always add the ICMP socket */
     843#ifndef RT_OS_WINDOWS
     844    pData->icmp_socket.so_poll_index = -1;
     845#endif
    842846    ICMP_ENGAGE_EVENT(&pData->icmp_socket, readfds);
    843847
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette