Searched defs:cbFrame (Results 1 - 17 of 17) sorted by relevance

/vbox/src/VBox/NetworkServices/NetLib/
H A DVBoxNetIntIf.cpp92 uint32_t cbFrame = 0; local
94 cbFrame += paSegs[iSeg].cb;
95 Assert(cbFrame >= sizeof(RTMAC) * 2);
102 int rc = IntNetRingAllocateFrame(pRingBuf, cbFrame, &pHdr, &pvFrame);
H A DVBoxNetBaseService.cpp533 int VBoxNetBaseService::sendBufferOnWire(PCINTNETSEG pcSg, int cSg, size_t cbFrame) argument
539 int rc = IntNetRingAllocateFrame(&m->m_pIfBuf->Send, cbFrame, &pHdr, (void **)&pu8Frame);
551 IntNetRingCommitFrameEx(&m->m_pIfBuf->Send, pHdr, cbFrame);
718 size_t cbFrame = pHdr->cbFrame; local
724 rc = processFrame(pvFrame, cbFrame);
746 rc = processGSO(pGso, cbFrame);
/vbox/src/VBox/Devices/Network/
H A DPcap.cpp78 static void pcapCalcHeader(struct pcaprec_hdr *pHdr, uint64_t StartNanoTS, size_t cbFrame, size_t cbMax) argument
83 pHdr->incl_len = (uint32_t)RT_MIN(cbFrame, cbMax);
84 pHdr->orig_len = (uint32_t)cbFrame;
91 static void pcapUpdateHeader(struct pcaprec_hdr *pHdr, size_t cbFrame, size_t cbMax) argument
93 pHdr->incl_len = (uint32_t)RT_MIN(cbFrame, cbMax);
94 pHdr->orig_len = (uint32_t)cbFrame;
122 * @param cbFrame The size of the frame.
125 int PcapStreamFrame(PRTSTREAM pStream, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax) argument
128 pcapCalcHeader(&Hdr, StartNanoTS, cbFrame, cbMax);
144 * @param cbFrame Th
148 PcapStreamGsoFrame(PRTSTREAM pStream, uint64_t StartNanoTS, PCPDMNETWORKGSO pGso, const void *pvFrame, size_t cbFrame, size_t cbSegMax) argument
205 PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax) argument
228 PcapFileGsoFrame(RTFILE File, uint64_t StartNanoTS, PCPDMNETWORKGSO pGso, const void *pvFrame, size_t cbFrame, size_t cbSegMax) argument
[all...]
H A DDrvIntNet.cpp713 size_t cbFrame = pHdr->cbFrame; local
727 cbFrame, u64Now, u64Now - pThis->u64LastReceiveTS, u64Now - pThis->u64LastTransferTS));
729 Log2(("drvR3IntNetRecvRun: cbFrame=%#x\n"
731 cbFrame, cbFrame, IntNetHdrGetFramePtr(pHdr, pBuf)));
734 rc = pThis->pIAboveNet->pfnReceive(pThis->pIAboveNet, IntNetHdrGetFramePtr(pHdr, pBuf), cbFrame);
747 if (PDMNetGsoIsValid(pGso, cbFrame, cbFrame - sizeof(PDMNETWORKGSO)))
752 pHdr->cbFrame
[all...]
H A DDevPCNet.cpp2154 static void pcnetXmitRead1stSlow(PPCNETSTATE pThis, RTGCPHYS32 GCPhysFrame, unsigned cbFrame, argument
2159 pSgBuf->cbUsed = cbFrame;
2163 uint32_t cbRead = (uint32_t)RT_MIN(cbFrame, pSgBuf->aSegs[iSeg].cbSeg);
2165 cbFrame -= cbRead;
2166 if (!cbFrame)
2177 static void pcnetXmitReadMoreSlow(PPCNETSTATE pThis, RTGCPHYS32 GCPhysFrame, unsigned cbFrame, argument
2193 /* Commit before we start copying so we can decrement cbFrame. */
2194 pSgBuf->cbUsed = off + cbFrame;
2200 uint32_t cbRead = (uint32_t)RT_MIN(pSgBuf->aSegs[iSeg].cbSeg - offIntoSeg, cbFrame);
2203 cbFrame
2228 pcnetXmitRead1st(PPCNETSTATE pThis, RTGCPHYS32 GCPhysFrame, const unsigned cbFrame, PPDMSCATTERGATHER pSgBuf) argument
2246 pcnetXmitReadMore(PPCNETSTATE pThis, RTGCPHYS32 GCPhysFrame, const unsigned cbFrame, PPDMSCATTERGATHER pSgBuf) argument
[all...]
H A DDevE1000.cpp3810 uint32_t cbFrame = pSg ? (uint32_t)pSg->cbUsed : 0; local
3813 if (cbFrame > 70) /* unqualified guess */
3817 if (cbFrame <= 1514)
3819 else if (cbFrame <= 2962)
3821 else if (cbFrame <= 4410)
3823 else if (cbFrame <= 5858)
3825 else if (cbFrame <= 7306)
3827 else if (cbFrame <= 8754)
3829 else if (cbFrame <= 16384)
3831 else if (cbFrame <
[all...]
/vbox/src/VBox/Main/src-client/
H A DUsbWebcamInterface.cpp296 const VRDEVIDEOINPAYLOADHDR *pFrame, uint32_t cbFrame)
299 rcRequest, pDeviceCtx, pFrame, cbFrame));
303 if ( cbFrame >= sizeof(VRDEVIDEOINPAYLOADHDR)
304 && cbFrame >= pFrame->u8HeaderLength)
306 uint32_t cbImage = cbFrame - pFrame->u8HeaderLength;
295 EmWebcamCbFrame(int rcRequest, void *pDeviceCtx, const VRDEVIDEOINPAYLOADHDR *pFrame, uint32_t cbFrame) argument
H A DConsoleVRDPServer.cpp2761 uint32_t cbFrame)
2766 pThis->mEmWebcam->EmWebcamCbFrame(rcRequest, pDeviceCtx, pFrame, cbFrame);
2757 VRDECallbackVideoInFrame(void *pvCallback, int rcRequest, void *pDeviceCtx, const VRDEVIDEOINPAYLOADHDR *pFrame, uint32_t cbFrame) argument
/vbox/include/VBox/vmm/
H A Dpdmnetinline.h63 * @param cbFrame The max size of the GSO frame (use to validate
66 DECLINLINE(bool) PDMNetGsoIsValid(PCPDMNETWORKGSO pGso, size_t cbGsoMax, size_t cbFrame) argument
131 if (RT_UNLIKELY( cbFrame <= pGso->cbHdrsTotal ))
133 if (RT_UNLIKELY( cbFrame - pGso->cbHdrsTotal < pGso->cbMaxSeg ))
169 * @param cbFrame The size of the GSO frame.
171 DECLINLINE(uint32_t) pdmNetSegPayloadLen(PCPDMNETWORKGSO pGso, uint32_t iSeg, uint32_t cSegs, uint32_t cbFrame) argument
174 return cbFrame - iSeg * pGso->cbMaxSeg - pdmNetSegHdrLen(pGso, iSeg);
184 * @param cbFrame The GSO frame size (header proto + payload).
186 DECLINLINE(uint32_t) PDMNetGsoCalcSegmentCount(PCPDMNETWORKGSO pGso, size_t cbFrame) argument
189 Assert(PDMNetGsoIsValid(pGso, sizeof(*pGso), cbFrame));
400 PDMNetGsoCarveSegmentQD(PCPDMNETWORKGSO pGso, uint8_t *pbFrame, size_t cbFrame, uint8_t *pbHdrScatch, uint32_t iSeg, uint32_t cSegs, uint32_t *pcbSegFrame) argument
501 PDMNetGsoCarveSegment(PCPDMNETWORKGSO pGso, const uint8_t *pbFrame, size_t cbFrame, uint32_t iSeg, uint32_t cSegs, uint8_t *pbSegHdrs, uint32_t *pcbSegHdrs, uint32_t *pcbSegPayload) argument
584 PDMNetGsoPrepForDirectUse(PCPDMNETWORKGSO pGso, void *pvFrame, size_t cbFrame, PDMNETCSUMTYPE enmCsumType) argument
[all...]
/vbox/include/VBox/
H A Dintnetinline.h139 * @param cbFrame The size of the frame.
141 DECLINLINE(void) IntNetSgInitTemp(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame) argument
143 IntNetSgInitTempSegs(pSG, cbFrame, 1, 1);
146 pSG->aSegs[0].cb = cbFrame;
155 * @param cbFrame The size of the frame.
158 DECLINLINE(void) IntNetSgInitTempGso(PINTNETSG pSG, void *pvFrame, uint32_t cbFrame, PCPDMNETWORKGSO pGso) argument
160 IntNetSgInitTempSegsGso(pSG, cbFrame, 1, 1, pGso);
163 pSG->aSegs[0].cb = cbFrame;
332 Assert(off + pHdr->cbFrame <= pBuf->cbBuf);
345 * is INTNETBUF::cbFrame
404 intnetRingAllocateFrameInternal(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, uint8_t u8Type, PINTNETHDR *ppHdr, void **ppvFrame) argument
499 IntNetRingAllocateFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PINTNETHDR *ppHdr, void **ppvFrame) argument
516 IntNetRingAllocateGsoFrame(PINTNETRINGBUF pRingBuf, uint32_t cbFrame, PCPDMNETWORKGSO pGso, PINTNETHDR *ppHdr, void **ppvFrame) argument
553 const uint32_t cbFrame = pHdr->cbFrame; local
639 IntNetRingWriteFrame(PINTNETRINGBUF pRingBuf, const void *pvFrame, size_t cbFrame) argument
758 uint32_t const cbFrame = pHdr->cbFrame; local
[all...]
H A Dintnet.h217 uint32_t cbFrame : 24; member in struct:INTNETHDR
/vbox/src/VBox/Devices/Network/testcase/
H A DtstIntNet-1.cpp86 * @param cbFrame The size of the ethernet frame.
89 static void tstIntNetTestFrame(void const *pvFrame, size_t cbFrame, PRTSTREAM pErrStrm, bool fGso) argument
95 if (cbFrame <= sizeof(*pEtherHdr))
96 return tstIntNetError(pErrStrm, "cbFrame=%#x <= %#x (ether)\n", cbFrame, sizeof(*pEtherHdr));
97 ssize_t cbLeft = cbFrame - sizeof(*pEtherHdr);
173 * @param cbFrame The size of it.
177 static void doXmitFrame(INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, PINTNETBUF pBuf, void *pvFrame, size_t cbFrame, PRTSTREAM pFileRaw, PRTSTREAM pFileText) argument
188 cbFrame, &pEthHdr->SrcMac, &pEthHdr->DstMac, RT_BE2H_U16(pEthHdr->EtherType));
194 tstIntNetTestFrame(pvFrame, cbFrame, pFileTex
467 size_t cbFrame = pHdr->cbFrame; local
545 size_t cbFrame = pHdr->cbFrame; local
[all...]
H A DtstIntNetR0.cpp210 uint32_t cbFrame; member in struct:MYARGS
254 const unsigned cb = pArgs->cbFrame
255 ? pArgs->cbFrame
461 static void tstBidirectionalTransfer(PTSTSTATE pThis, uint32_t cbFrame) argument
470 Args0.cbFrame = cbFrame;
479 Args1.cbFrame = cbFrame;
718 for (uint32_t cbFrame = 64; cbFrame < cbSen
[all...]
/vbox/src/VBox/VMM/VMMAll/
H A DIEMAllInstructions.cpp.h12168 uint16_t cbFrame; IEM_OPCODE_GET_NEXT_U16(&cbFrame); local
12170 return IEM_MC_DEFER_TO_CIMPL_3(iemCImpl_enter, pIemCpu->enmEffOpSize, cbFrame, u8NestingLevel);
/vbox/include/VBox/RemoteDesktop/
H A DVRDEVideoIn.h269 uint16_t cbFrame; /* Size of the structure including cbFrame and frame specific data. */ member in struct:VRDEVIDEOINFRAMEDESC
1065 * @param cbFrame The size of buffer pointed by pFrame.
1071 uint32_t cbFrame));
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dwinnt.h3552 WORD cbFrame : 2; member in struct:_FPO_DATA
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dwinnt.h3717 WORD cbFrame : 2; member in struct:_FPO_DATA

Completed in 263 milliseconds