Changeset 28666 in vbox for trunk/include
- Timestamp:
- Apr 23, 2010 5:25:58 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/intnet.h
r28623 r28666 484 484 485 485 /** 486 * Reports the MAC address of the trunk. 487 * 488 * This is supposed to be called when creating, connection or reconnecting the 489 * trunk and when the MAC address is changed by the system admin. 490 * 491 * @param pSwitchPort Pointer to this structure. 492 * @param pMacAddr The MAC address. 493 * 494 * @remarks May take a spinlock or two. 495 */ 496 DECLR0CALLBACKMEMBER(void, pfnReportMacAddress,(PINTNETTRUNKSWPORT pSwitchPort, PCRTMAC pMacAddr)); 497 498 /** 499 * Reports the promicuousness of the interface. 500 * 501 * This is supposed to be called when creating, connection or reconnecting the 502 * trunk and when the mode is changed by the system admin. 503 * 504 * @param pSwitchPort Pointer to this structure. 505 * @param fPromiscuous True if the host operates the interface in 506 * promiscuous mode, false if not. 507 * 508 * @remarks May take a spinlock or two. 509 */ 510 DECLR0CALLBACKMEMBER(void, pfnReportPromiscuousMode,(PINTNETTRUNKSWPORT pSwitchPort, bool fPromiscuous)); 511 512 /** 486 513 * Reports the GSO capabilities of the host, wire or both. 487 514 * … … 495 522 * @param fDst The destination mask (INTNETTRUNKDIR_XXX). 496 523 * 497 * @remarks Will to take any locks.524 * @remarks May take a spinlock or two. 498 525 */ 499 526 DECLR0CALLBACKMEMBER(void, pfnReportGsoCapabilities,(PINTNETTRUNKSWPORT pSwitchPort, uint32_t fGsoCapabilities, uint32_t fDst)); … … 613 640 614 641 /** 615 * Tests if the mac address belongs to any of the host NICs616 * and should take the host route.617 *618 * @returns true / false.619 *620 * @param pIfPort Pointer to this structure.621 * @param pMac Pointer to the mac address.622 *623 * @remarks Called while owning the network and the out-bound trunk port semaphores.624 *625 * @remarks TAP and NAT will compare with their own MAC address and let all their626 * traffic take the host direction.627 *628 * @remarks This didn't quiet work out the way it should... perhaps obsolete this629 * with pfnGetHostMac?630 */631 DECLR0CALLBACKMEMBER(bool, pfnIsHostMac,(PINTNETTRUNKIFPORT pIfPort, PCRTMAC pMac));632 633 /**634 642 * Tests whether the host is operating the interface is promiscuous mode. 635 643 * … … 726 734 727 735 /** The UUID for the (current) trunk factory. (case sensitive) */ 728 #define INTNETTRUNKFACTORY_UUID_STR " daeaf07b-9974-48be-843e-b9afd763c2ff"736 #define INTNETTRUNKFACTORY_UUID_STR "7eb192c8-6ee3-4d0a-96fb-f51ce7381354" 729 737 730 738 /** @name INTNETTRUNKFACTORY::pfnCreateAndConnect flags.
Note:
See TracChangeset
for help on using the changeset viewer.