VirtualBox

儲存庫 vbox 的更動 17186


忽略:
時間撮記:
2009-2-27 上午12:57:39 (16 年 以前)
作者:
vboxsync
訊息:

VBoxNetFlt: Fixed vboxNetFltOsInitInstance which had gotten out of sync.

位置:
trunk/src/VBox/HostDrivers/VBoxNetFlt
檔案:
修改 4 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h

    r17184 r17186  
    408408 * @return  IPRT status code.
    409409 * @param   pThis           The new instance.
     410 * @param   pvContext       The user supplied context in the static config only.
     411 *                          NULL in the dynamic config.
    410412 *
    411413 * @remarks Owns no locks.
    412414 */
    413 DECLHIDDEN(int) vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis
    414 #ifdef VBOXNETFLT_STATIC_CONFIG
    415         , void * pContext
    416 #endif
    417         );
     415DECLHIDDEN(int) vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis, void *pvContext);
    418416
    419417/**
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp

    r17184 r17186  
    11851185
    11861186
    1187 int  vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis)
    1188 {
     1187int  vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis, void *pvContext)
     1188{
     1189    NOREF(pvContext);
    11891190    return vboxNetFltDarwinAttachToInterface(pThis, false /* fRediscovery */);
    11901191}
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/VBoxNetFlt-linux.c

    r17184 r17186  
    11441144
    11451145
    1146 int  vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis)
     1146int  vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis, void *pvContext)
    11471147{
    11481148    int err;
     
    11571157        return VERR_INTNET_FLT_IF_NOT_FOUND;
    11581158    }
     1159
    11591160    Log(("vboxNetFltOsInitInstance: this=%p: Notifier installed.\n", pThis));
     1161    NOREF(pvContext)
    11601162    return pThis->fDisconnectedFromHost ? VERR_INTNET_FLT_IF_FAILED : VINF_SUCCESS;
    11611163}
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFlt-solaris.c

    r17184 r17186  
    128128 * OS specific hooks invoked from common VBoxNetFlt ring-0.
    129129 */
     130/** @todo r=bird: What are these doing here? */
    130131bool vboxNetFltPortOsIsPromiscuous(PVBOXNETFLTINS pThis);
    131132void vboxNetFltPortOsGetMacAddress(PVBOXNETFLTINS pThis, PRTMAC pMac);
     
    135136int vboxNetFltOsConnectIt(PVBOXNETFLTINS pThis);
    136137void vboxNetFltOsDeleteInstance(PVBOXNETFLTINS pThis);
    137 int vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis);
     138int vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis, void *pvContext);
    138139int vboxNetFltOsPreInitInstance(PVBOXNETFLTINS pThis);
    139140
     
    30903091
    30913092
    3092 int vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis)
     3093int vboxNetFltOsInitInstance(PVBOXNETFLTINS pThis, void *pvContext)
    30933094{
    30943095    LogFlow((DEVICE_NAME ":vboxNetFltOsInitInstance pThis=%p\n"));
     
    31113112        LogRel((DEVICE_NAME ":vboxNetFltOsInitInstance failed to create mutex. rc=%Rrc\n", rc));
    31123113
     3114    NOREF(pvContext)
    31133115    return rc;
    31143116}
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette