VirtualBox

Changeset 16565 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Feb 9, 2009 4:26:41 AM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
42519
Message:

NAT: fdset referenced in Unix compilation

File:
1 edited

Legend:

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

    r16541 r16565  
    148148    Log2(("drvNATSend: pvBuf=%p cb=%#x\n%.*Rhxd\n", pvBuf, cb, cb, pvBuf));
    149149
    150 #ifdef VBOX_WITH_SIMPLIFIED_SLIRP_SYNC 
     150#ifdef VBOX_WITH_SIMPLIFIED_SLIRP_SYNC
    151151
    152152    PRTREQ pReq = NULL;
     
    164164
    165165    /* @todo: Here we should get mbuf instead temporal buffer */
    166     buf = RTMemAlloc(cb); 
     166    buf = RTMemAlloc(cb);
    167167    if (buf == NULL)
    168168    {
     
    339339{
    340340    PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT);
    341     fd_set  ReadFDs;
    342     fd_set  WriteFDs;
    343     fd_set  XcptFDs;
    344341    int     nFDs = -1;
    345342    unsigned int ms;
     
    348345    HANDLE  *phEvents;
    349346    unsigned int cBreak = 0;
     347# else
     348    fd_set  ReadFDs;
     349    fd_set  WriteFDs;
     350    fd_set  XcptFDs;
    350351# endif
    351352
     
    452453
    453454#ifdef VBOX_WITH_SLIRP_MT
    454 static DECLCALLBACK(int) drvNATAsyncIoGuest(PPDMDRVINS pDrvIns, PPDMTHREAD pThread) 
     455static DECLCALLBACK(int) drvNATAsyncIoGuest(PPDMDRVINS pDrvIns, PPDMTHREAD pThread)
    455456{
    456457    PDRVNAT pThis = PDMINS_2_DATA(pDrvIns, PDRVNAT);
Note: See TracChangeset for help on using the changeset viewer.

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