VirtualBox

Ignore:
Timestamp:
May 19, 2010 2:46:02 PM (15 years ago)
Author:
vboxsync
Message:

IntNet: Added Interface, Interface private data passing for per-interface based VBoxNetFlt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h

    r29494 r29662  
    360360 * @return  IPRT status code.
    361361 * @param   pThis           The new instance.
     362 * @param   pvIfData        Pointer to the host-private interface data.
    362363 * @param   pSG             The (scatter/)gather list.
    363364 * @param   fDst            The destination mask. At least one bit will be set.
     
    365366 * @remarks Owns the out-bound trunk port semaphore.
    366367 */
    367 DECLHIDDEN(int) vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst);
     368DECLHIDDEN(int) vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, void *pvIfData, PINTNETSG pSG, uint32_t fDst);
    368369
    369370/**
     
    385386 *
    386387 * @param   pThis           The instance.
    387  * @param   hIf             The handle to the network.
     388 * @param   pvIfData        Pointer to the private interface data.
    388389 * @param   pMac            Pointer to the new MAC address.
    389390 */
    390 DECLHIDDEN(void) vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf, PCRTMAC pMac);
     391DECLHIDDEN(void) vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, void *pvIfData, PCRTMAC pMac);
    391392
    392393/**
     
    395396 * @return IPRT status code.
    396397 * @param   pThis           The instance.
    397  * @param   hIf             The handle to the network.
    398  */
    399 DECLHIDDEN(int) vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf);
     398 * @param   pvIf            Pointer to the interface.
     399 * @param   ppvIfData       Where to store the private interface data.
     400 */
     401DECLHIDDEN(int) vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, void *pvIf, void **ppvIfData);
    400402
    401403/**
     
    403405 *
    404406 * @param   pThis           The instance.
    405  * @param   hIf             The handle to the network.
    406  */
    407 DECLHIDDEN(int) vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf);
     407 * @param   pvIfData        Pointer to the private interface data.
     408 */
     409DECLHIDDEN(int) vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, void *pvIfData);
    408410
    409411/**
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