VirtualBox

Changeset 10746 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 18, 2008 12:43:53 PM (16 years ago)
Author:
vboxsync
Message:

Added pSession argument to all the intnet request packets.

File:
1 edited

Legend:

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

    r10663 r10746  
    237237        SendReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    238238        SendReq.Hdr.cbReq = sizeof(SendReq);
     239        SendReq.pSession = NULL;
    239240        SendReq.hIf = pThis->hIf;
    240241        pThis->pDrvIns->pDrvHlp->pfnSUPCallVMMR0Ex(pThis->pDrvIns, VMMR0_DO_INTNET_IF_SEND, &SendReq, sizeof(SendReq));
     
    248249        SendReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    249250        SendReq.Hdr.cbReq = sizeof(SendReq);
     251        SendReq.pSession = NULL;
    250252        SendReq.hIf = pThis->hIf;
    251253        rc = pThis->pDrvIns->pDrvHlp->pfnSUPCallVMMR0Ex(pThis->pDrvIns, VMMR0_DO_INTNET_IF_SEND, &SendReq, sizeof(SendReq));
     
    274276    Req.Hdr.u32Magic    = SUPVMMR0REQHDR_MAGIC;
    275277    Req.Hdr.cbReq       = sizeof(Req);
     278    Req.pSession        = NULL;
    276279    Req.hIf             = pThis->hIf;
    277280    Req.fPromiscuous    = fPromiscuous;
     
    428431        WaitReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    429432        WaitReq.Hdr.cbReq    = sizeof(WaitReq);
     433        WaitReq.pSession     = NULL;
    430434        WaitReq.hIf          = pThis->hIf;
    431435        WaitReq.cMillies     = 30000; /* 30s - don't wait forever, timeout now and then. */
     
    615619        CloseReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    616620        CloseReq.Hdr.cbReq = sizeof(CloseReq);
     621        CloseReq.pSession = NULL;
    617622        CloseReq.hIf = pThis->hIf;
    618623        pThis->hIf = INTNET_HANDLE_INVALID;
     
    815820    GetRing3BufferReq.Hdr.u32Magic = SUPVMMR0REQHDR_MAGIC;
    816821    GetRing3BufferReq.Hdr.cbReq = sizeof(GetRing3BufferReq);
     822    GetRing3BufferReq.pSession = NULL;
    817823    GetRing3BufferReq.hIf = pThis->hIf;
    818824    GetRing3BufferReq.pRing3Buf = NULL;
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