VirtualBox

Changeset 1606 in vbox


Ignore:
Timestamp:
Mar 21, 2007 7:27:40 PM (18 years ago)
Author:
vboxsync
Message:

Corrected some more log statements and synced some function docs.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/intnet.h

    r1599 r1606  
    215215    /** The size of the receive buffer. (input) */
    216216    uint32_t        cbRecv;
    217     /** check access? */
     217    /** Whether new participants should be subjected to access check or not. */
    218218    bool            fRestrictAccess;
    219219    /** The handle to the network interface. (output) */
     
    325325 *
    326326 * @returns VBox status code.
    327  * @param   pIntNet     The
     327 * @param   pIntNet         The internal network instance.
     328 * @param   pSession        The session handle.
     329 * @param   pszNetwork      The network name.
     330 * @param   cbSend          The send buffer size.
     331 * @param   cbRecv          The receive buffer size.
     332 * @param   fRestrictAccess Whether new participants should be subjected to access check or not.
     333 * @param   phIf            Where to store the handle to the network interface.
    328334 */
    329335INTNETR0DECL(int) INTNETR0Open(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, unsigned cbSend, unsigned cbRecv, bool fRestrictAccess, PINTNETIFHANDLE phIf);
  • trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp

    r1599 r1606  
    12661266 *
    12671267 * @returns VBox status code.
    1268  * @param   pIntNet     The instance data.
    1269  * @param   pszNetwork  The name of the network. This must be at least one character long and no longer
    1270  *                      than the INTNETNETWORK::szName.
    1271  * @param   pSession    The session handle.
    1272  * @param   ppNetwork   Where to store the network.
     1268 * @param   pIntNet         The instance data.
     1269 * @param   pszNetwork      The name of the network. This must be at least one character long and no longer
     1270 *                          than the INTNETNETWORK::szName.
     1271 * @param   fRestrictAccess Whether new participants should be subjected to access check or not.
     1272 * @param   pSession        The session handle.
     1273 * @param   ppNetwork       Where to store the network.
    12731274 */
    12741275static int INTNETCreateNetwork(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, bool fRestrictAccess, PINTNETNETWORK *ppNetwork)
     
    12941295        {
    12951296            RTSpinlockRelease(pIntNet->Spinlock, &Tmp);
    1296             LogFlow(("INTNETOpenNetwork: returns VERR_ALREADY_EXISTS\n"));
     1297            LogFlow(("INTNETCreateNetwork: returns VERR_ALREADY_EXISTS\n"));
    12971298            return VERR_ALREADY_EXISTS;
    12981299        }
     
    13391340            {
    13401341                *ppNetwork = pNew;
    1341                 LogFlow(("INTNETOpenNetwork: returns VINF_SUCCESS *ppNetwork=%p\n", pNew));
     1342                LogFlow(("INTNETCreateNetwork: returns VINF_SUCCESS *ppNetwork=%p\n", pNew));
    13421343                return VINF_SUCCESS;
    13431344            }
     
    13451346            /* The release will destroy the object. */
    13461347            SUPR0ObjRelease(pNew->pvObj, pSession);
    1347             LogFlow(("INTNETOpenNetwork: returns %Vrc\n", rc));
     1348            LogFlow(("INTNETCreateNetwork: returns %Vrc\n", rc));
    13481349            return rc;
    13491350        }
     
    13541355    }
    13551356    RTMemFree(pNew);
    1356     LogFlow(("INTNETOpenNetwork: returns %Vrc\n", rc));
     1357    LogFlow(("INTNETCreateNetwork: returns %Vrc\n", rc));
    13571358    return rc;
    13581359}
     
    13631364 *
    13641365 * @returns VBox status code.
    1365  * @param   pIntNet     The internal network instance.
    1366  * @param   pSession    The session handle.
    1367  * @param   pszNetwork  The network name.
    1368  * @param   cbSend      The send buffer size.
    1369  * @param   cbRecv      The receive buffer size.
    1370  * @param   phIf        Where to store the handle to the network interface.
     1366 * @param   pIntNet         The internal network instance.
     1367 * @param   pSession        The session handle.
     1368 * @param   pszNetwork      The network name.
     1369 * @param   cbSend          The send buffer size.
     1370 * @param   cbRecv          The receive buffer size.
     1371 * @param   fRestrictAccess Whether new participants should be subjected to access check or not.
     1372 * @param   phIf            Where to store the handle to the network interface.
    13711373 */
    13721374INTNETR0DECL(int) INTNETR0Open(PINTNET pIntNet, PSUPDRVSESSION pSession, const char *pszNetwork, unsigned cbSend, unsigned cbRecv, bool fRestrictAccess, PINTNETIFHANDLE phIf)
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