VirtualBox

Changeset 28666 in vbox for trunk/include


Ignore:
Timestamp:
Apr 23, 2010 5:25:58 PM (15 years ago)
Author:
vboxsync
Message:

SrvIntNet,VBoxNetFlt: Changing from getting to reporting (VBoxNetFlt reports stuff to SrvIntNet).

File:
1 edited

Legend:

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

    r28623 r28666  
    484484
    485485    /**
     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    /**
    486513     * Reports the GSO capabilities of the host, wire or both.
    487514     *
     
    495522     * @param   fDst                The destination mask (INTNETTRUNKDIR_XXX).
    496523     *
    497      * @remarks Will to take any locks.
     524     * @remarks May take a spinlock or two.
    498525     */
    499526    DECLR0CALLBACKMEMBER(void, pfnReportGsoCapabilities,(PINTNETTRUNKSWPORT pSwitchPort, uint32_t fGsoCapabilities, uint32_t fDst));
     
    613640
    614641    /**
    615      * Tests if the mac address belongs to any of the host NICs
    616      * 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 their
    626      *          traffic take the host direction.
    627      *
    628      * @remarks This didn't quiet work out the way it should... perhaps obsolete this
    629      *          with pfnGetHostMac?
    630      */
    631     DECLR0CALLBACKMEMBER(bool, pfnIsHostMac,(PINTNETTRUNKIFPORT pIfPort, PCRTMAC pMac));
    632 
    633     /**
    634642     * Tests whether the host is operating the interface is promiscuous mode.
    635643     *
     
    726734
    727735/** 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"
    729737
    730738/** @name INTNETTRUNKFACTORY::pfnCreateAndConnect flags.
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