VirtualBox

Changeset 27842 in vbox


Ignore:
Timestamp:
Mar 30, 2010 9:01:26 PM (15 years ago)
Author:
vboxsync
Message:

DrvNAT: Added missing FreeBuf method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DrvNAT.cpp

    r27827 r27842  
    455455
    456456    *ppSgBuf = pSgBuf;
     457    return VINF_SUCCESS;
     458}
     459
     460/**
     461 * @interface_method_impl{PDMINETWORKUP,pfnFreeBuf}
     462 */
     463static DECLCALLBACK(int) drvNATNetworkUp_FreeBuf(PPDMINETWORKUP pInterface, PPDMSCATTERGATHER pSgBuf)
     464{
     465    PDRVNAT pThis = RT_FROM_MEMBER(pInterface, DRVNAT, INetworkUp);
     466    drvNATFreeSgBuf(pThis, pSgBuf);
    457467    return VINF_SUCCESS;
    458468}
     
    10441054    /* INetwork */
    10451055    pThis->INetworkUp.pfnAllocBuf           = drvNATNetworkUp_AllocBuf;
     1056    pThis->INetworkUp.pfnFreeBuf            = drvNATNetworkUp_FreeBuf;
    10461057    pThis->INetworkUp.pfnSendBuf            = drvNATNetworkUp_SendBuf;
    10471058    pThis->INetworkUp.pfnSendDeprecated     = drvNATNetworkUp_SendDeprecated;
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