Changeset 33864 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Nov 8, 2010 5:09:31 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r33833 r33864 649 649 650 650 static void drvNATNotifyApplyPortForwardCommand(PDRVNAT pThis, bool fRemove, 651 const char *pNatRuleName,bool fUdp, const char *pHostIp,651 bool fUdp, const char *pHostIp, 652 652 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort) 653 653 { … … 674 674 675 675 DECLCALLBACK(int) drvNATNetworkNatConfig_RedirectRuleCommand(PPDMINETWORKNATCONFIG pInterface, bool fRemove, 676 const char *pNatRuleName,bool fUdp, const char *pHostIp,677 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort)678 { 679 LogFlow(("drvNATNetworkNatConfig_ApplyNatCommand: cRules=%s\n", (pNatRuleName ? pNatRuleName: "")));676 bool fUdp, const char *pHostIp, 677 uint16_t u16HostPort, const char *pGuestIp, uint16_t u16GuestPort) 678 { 679 LogFlow(("drvNATNetworkNatConfig_ApplyNatCommand: \n", (pNatRuleName ? pNatRuleName: ""))); 680 680 PDRVNAT pThis = RT_FROM_MEMBER(pInterface, DRVNAT, INetworkNATCfg); 681 681 PRTREQ pReq; 682 682 int rc = RTReqCallEx(pThis->pSlirpReqQueue, &pReq, 0 /*cMillies*/, RTREQFLAGS_VOID, 683 (PFNRT)drvNATNotifyApplyPortForwardCommand, 8, pThis, fRemove,684 pNatRuleName,fUdp, pHostIp, u16HostPort, pGuestIp, u16GuestPort);683 (PFNRT)drvNATNotifyApplyPortForwardCommand, 7, pThis, fRemove, 684 fUdp, pHostIp, u16HostPort, pGuestIp, u16GuestPort); 685 685 if (RT_LIKELY(rc == VERR_TIMEOUT)) 686 686 {
Note:
See TracChangeset
for help on using the changeset viewer.