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/darwin/VBoxNetFlt-darwin.cpp

    r29491 r29662  
    842842        vboxNetFltDarwinMBufToSG(pThis, pMBuf, pvFrame, pSG, cSegs, fSrc);
    843843
    844         fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, pSG, fSrc);
     844        fDropIt = pThis->pSwitchPort->pfnRecv(pThis->pSwitchPort, NULL /* pvIf */, pSG, fSrc);
    845845        if (fDropIt)
    846846            mbuf_freem(pMBuf);
     
    982982
    983983
    984 int  vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, PINTNETSG pSG, uint32_t fDst)
    985 {
     984int  vboxNetFltPortOsXmit(PVBOXNETFLTINS pThis, void *pvIfData, PINTNETSG pSG, uint32_t fDst)
     985{
     986    NOREF(pvIfData);
     987
    986988    int rc = VINF_SUCCESS;
    987989    ifnet_t pIfNet = vboxNetFltDarwinRetainIfNet(pThis);
     
    11921194
    11931195
    1194 void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf, PCRTMAC pMac)
    1195 {
    1196     NOREF(pThis); NOREF(hIf); NOREF(pMac);
    1197 }
    1198 
    1199 
    1200 int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)
     1196void vboxNetFltPortOsNotifyMacAddress(PVBOXNETFLTINS pThis, void *pvIfData, PCRTMAC pMac)
     1197{
     1198    NOREF(pThis); NOREF(pvIfData); NOREF(pMac);
     1199}
     1200
     1201
     1202int vboxNetFltPortOsConnectInterface(PVBOXNETFLTINS pThis, void *pvIf, void **ppvIfData)
    12011203{
    12021204    /* Nothing to do */
    1203     NOREF(pThis); NOREF(hIf);
     1205    NOREF(pThis); NOREF(pvIf); NOREF(ppvIfData);
    12041206    return VINF_SUCCESS;
    12051207}
    12061208
    12071209
    1208 int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, INTNETIFHANDLE hIf)
     1210int vboxNetFltPortOsDisconnectInterface(PVBOXNETFLTINS pThis, void *pvIfData)
    12091211{
    12101212    /* Nothing to do */
    1211     NOREF(pThis); NOREF(hIf);
     1213    NOREF(pThis); NOREF(pvIfData);
    12121214    return VINF_SUCCESS;
    12131215}
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