Changeset 9803 in vbox for trunk/include
- Timestamp:
- Jun 18, 2008 4:13:42 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/intnet.h
r9770 r9803 384 384 385 385 /** 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 /** 386 416 * Changes the active state of the interface. 387 417 * … … 403 433 404 434 /** 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 /** 405 451 * Tests if the mac address belongs to any of the host NICs 406 452 * and should take the pfnSendToHost route. … … 492 538 */ 493 539 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 or499 * when the network is being torn down. In both cases, the interface will be500 * 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));507 540 508 541 /** Structure version number. (INTNETTRUNKIFPORT_VERSION) */
Note:
See TracChangeset
for help on using the changeset viewer.