VirtualBox

Changeset 9803 in vbox for trunk/include


Ignore:
Timestamp:
Jun 18, 2008 4:13:42 PM (17 years ago)
Author:
vboxsync
Message:

vacation.

File:
1 edited

Legend:

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

    r9770 r9803  
    384384
    385385    /**
     386     * Retain the object.
     387     *
     388     * It will normally be called while owning the internal network semaphore.
     389     *
     390     * @param   pIfPort     Pointer to this structure.
     391     */
     392    DECLR0CALLBACKMEMBER(void, pfnRetain,(PINTNETTRUNKIFPORT pIfPort));
     393
     394    /**
     395     * Releases the object.
     396     *
     397     * This must be called for every pfnRetain call. Where possible, it
     398     * should be executed without holding any locks unless the caller
     399     * is certain it is not going to trigger the destructor.
     400     *
     401     * @param   pIfPort     Pointer to this structure.
     402     */
     403    DECLR0CALLBACKMEMBER(void, pfnRelease,(PINTNETTRUNKIFPORT pIfPort));
     404
     405    /**
     406     * Disconnect from the switch and release the object.
     407     *
     408     * The is the counter action of the
     409     * INTNETTRUNKNETFLTFACTORY::pfnCreateAndConnect method.
     410     *
     411     * @param   pIfPort     Pointer to this structure.
     412     */
     413    DECLR0CALLBACKMEMBER(void, pfnDisconnectAndRelease,(PINTNETTRUNKIFPORT pIfPort));
     414
     415    /**
    386416     * Changes the active state of the interface.
    387417     *
     
    403433
    404434    /**
     435     * Waits for the interface to become idle.
     436     *
     437     * This method must be called before disconnecting and releasing the
     438     * object in order to prevent racing incoming/outgoing packets and
     439     * device enabling/disabling.
     440     *
     441     * @param   pIfPort     Pointer to this structure.
     442     * @param   cMillies    The number of milliseconds to wait. 0 means
     443     *                      no waiting at all. Use RT_INDEFINITE_WAIT for
     444     *                      an indefinite wait.
     445     *
     446     * @remarks Will not grab any semaphores.
     447     */
     448    DECLR0CALLBACKMEMBER(bool, pfnWaitForIdle,(PINTNETTRUNKIFPORT pIfPort, uint32_t cMillies));
     449
     450    /**
    405451     * Tests if the mac address belongs to any of the host NICs
    406452     * and should take the pfnSendToHost route.
     
    492538     */
    493539    DECLR0CALLBACKMEMBER(void, pfnSGRelease,(PINTNETTRUNKIFPORT pIfPort, PINTNETSG pSG));
    494 
    495     /**
    496      * Destroys this network interface port.
    497      *
    498      * This is called either when disconnecting the trunk interface at runtime or
    499      * when the network is being torn down. In both cases, the interface will be
    500      * suspended first. Note that this may still cause races in the receive path...
    501      *
    502      * @param   pIfPort     Pointer to this structure.
    503      *
    504      * @remarks Called while owning the network semaphore.
    505      */
    506     DECLR0CALLBACKMEMBER(bool, pfnDestroy,(PINTNETTRUNKIFPORT pIfPort));
    507540
    508541    /** Structure version number. (INTNETTRUNKIFPORT_VERSION) */
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