Searched refs:INTNETHDR (Results 1 - 5 of 5) sorted by relevance

/vbox/include/VBox/
H A Dintnetinline.h376 Assert(RT_ALIGN_PT(pHdr, INTNETHDR_ALIGNMENT, INTNETHDR *) == pHdr);
421 if (pRingBuf->offEnd - offWriteInt >= cb + sizeof(INTNETHDR))
423 uint32_t offNew = offWriteInt + cb + sizeof(INTNETHDR);
433 pHdr->offFrame = sizeof(INTNETHDR);
443 AssertMsg(pRingBuf->offEnd - offWriteInt >= sizeof(INTNETHDR), ("offEnd=%x offWriteInt=%x\n", pRingBuf->offEnd, offWriteInt));
464 else if (offRead - offWriteInt > cb + sizeof(INTNETHDR)) /* not >= ! */
466 uint32_t offNew = offWriteInt + cb + sizeof(INTNETHDR);
474 pHdr->offFrame = sizeof(INTNETHDR);
616 pHdrPadding->cbFrame = cbAlignedFrame - cbAlignedUsed - sizeof(INTNETHDR);
617 Assert(pHdrPadding->cbFrame == cbAlignedFrame - cbAlignedUsed - sizeof(INTNETHDR));
[all...]
H A Dintnet.h75 #define INTNETRINGBUF_ALIGNMENT sizeof(INTNETHDR)
214 typedef struct INTNETHDR struct
225 } INTNETHDR; typedef in typeref:struct:INTNETHDR
226 AssertCompileSize(INTNETHDR, 8);
227 AssertCompileSizeAlignment(INTNETBUF, sizeof(INTNETHDR));
229 typedef INTNETHDR *PINTNETHDR;
231 typedef INTNETHDR const *PCINTNETHDR;
234 #define INTNETHDR_ALIGNMENT sizeof(INTNETHDR)
235 AssertCompile(sizeof(INTNETHDR) == INTNETHDR_ALIGNMENT);
238 /** @name Frame types (INTNETHDR
[all...]
/vbox/src/VBox/Devices/Network/testcase/
H A DtstIntNetR0.cpp609 const unsigned cbExpect = RT_ALIGN(sizeof(s_au16Frame) + sizeof(INTNETHDR), sizeof(INTNETHDR));
648 const unsigned cbExpect = RT_ALIGN(sizeof(s_au16Frame) + sizeof(INTNETHDR), sizeof(INTNETHDR));
/vbox/src/VBox/Devices/Network/
H A DDrvIntNet.cpp399 && pThis->CTX_SUFF(pBuf)->cbSend >= cbMin * 2 + sizeof(INTNETHDR))
440 if (pThis->CTX_SUFF(pBuf)->cbSend >= cbMin * 2 + sizeof(INTNETHDR))
H A DSrvIntNetR0.cpp4918 cbRecv = RT_ALIGN(RT_MAX(cbRecv, sizeof(INTNETHDR) * 4), INTNETRINGBUF_ALIGNMENT);
4919 cbSend = RT_ALIGN(RT_MAX(cbSend, sizeof(INTNETHDR) * 4), INTNETRINGBUF_ALIGNMENT);

Completed in 78 milliseconds