VirtualBox

Ignore:
Timestamp:
Feb 16, 2010 12:44:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
57756
Message:

Networking: Preparing to make the driver return a send buffer to the device emulation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/DHCP/VBoxNetDHCP.cpp

    r26517 r26574  
    4343#include <VBox/sup.h>
    4444#include <VBox/intnet.h>
     45#include <VBox/intnetinline.h>
    4546#include <VBox/vmm.h>
    4647
     
    815816            case 'V':
    816817                RTPrintf("%sr%u\n", RTBldCfgVersion(), RTBldCfgRevision());
    817                 return 0;
     818                return 1;
    818819
    819820            case 'h':
     
    985986         * Process the receive buffer.
    986987         */
    987         while (INTNETRingGetReadable(pRingBuf) > 0)
     988        while (INTNETRingHasMoreToRead(pRingBuf))
    988989        {
    989990            size_t  cb;
     
    10171018
    10181019            /* Advance to the next frame. */
    1019             INTNETRingSkipFrame(m_pIfBuf, pRingBuf);
     1020            INTNETRingSkipFrame(pRingBuf);
    10201021        }
    10211022    }
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