VirtualBox

Changeset 50619 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Feb 27, 2014 1:28:45 AM (11 years ago)
Author:
vboxsync
Message:

NAT: DrvNAT.cpp: nuked trailing whitespaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r50061 r50619  
    10771077 * - drvNatDnsChanged (darwin, GUI or main) "listener"
    10781078 * When Main's interface IHost will support host network configuration change event on every host,
    1079  * we won't call it from drvNATResume, but from listener of Main event in the similar way it done 
     1079 * we won't call it from drvNATResume, but from listener of Main event in the similar way it done
    10801080 * for port-forwarding, and it wan't be on GUI/main thread, but on EMT thread only.
    10811081 *
    1082  * Thread here is important, because we need to change DNS server list and domain name (+ perhaps, 
     1082 * Thread here is important, because we need to change DNS server list and domain name (+ perhaps,
    10831083 * search string) at runtime (VBOX_NAT_ENFORCE_INTERNAL_DNS_UPDATE), we can do it safely on NAT thread,
    1084  * so with changing other variables (place where we handle update) the main mechanism of update 
    1085  * _won't_ be changed, the only thing will change is drop of fHostNetworkConfigurationEventListener parameter. 
     1084 * so with changing other variables (place where we handle update) the main mechanism of update
     1085 * _won't_ be changed, the only thing will change is drop of fHostNetworkConfigurationEventListener parameter.
    10861086 */
    10871087DECLINLINE(void) drvNATHostNetworkConfigurationChangeEventStrategySelector(PDRVNAT pThis,
     
    10911091    switch (strategy)
    10921092    {
    1093                  
     1093
    10941094        case VBOX_NAT_HNCE_DNSPROXY:
    10951095            {
    10961096                /**
    10971097                 * It's unsafe to to do it directly on non-NAT thread
    1098                  * so we schedule the worker and kick the NAT thread. 
     1098                 * so we schedule the worker and kick the NAT thread.
    10991099                 */
    11001100                RTREQQUEUE hQueue = pThis->hSlirpReqQueue;
    1101                
    1102                 int rc = RTReqQueueCallEx(hQueue, NULL /*ppReq*/, 0 /*cMillies*/, 
     1101
     1102                int rc = RTReqQueueCallEx(hQueue, NULL /*ppReq*/, 0 /*cMillies*/,
    11031103                                          RTREQFLAGS_VOID | RTREQFLAGS_NO_WAIT,
    11041104                                          (PFNRT)drvNATReinitializeHostNameResolving, 1, pThis);
    11051105                if (RT_SUCCESS(rc))
    1106                     drvNATNotifyNATThread(pThis, 
     1106                    drvNATNotifyNATThread(pThis,
    11071107                                          "drvNATHostNetworkConfigurationChangeEventStrategySelector");
    11081108
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