Changeset 28025 in vbox for trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c
- Timestamp:
- Apr 7, 2010 6:37:43 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxNetFlt/solaris/VBoxNetFltBow-solaris.c
r26498 r28025 26 26 #include <VBox/log.h> 27 27 #include <VBox/err.h> 28 #include <VBox/ cdefs.h>28 #include <VBox/intnetinline.h> 29 29 #include <VBox/version.h> 30 30 #include <iprt/initterm.h> … … 478 478 LogFlow((DEVICE_NAME ":vboxNetFltSolarisMBlkToSG pThis=%p pMsg=%p pSG=%p cSegs=%d\n", pThis, pMsg, pSG, cSegs)); 479 479 480 pSG->pvOwnerData = NULL;481 pSG->pvUserData = NULL;482 pSG->pvUserData2 = NULL;483 pSG->cUsers = 1;484 pSG->cbTotal = 0;485 pSG->fFlags = INTNETSG_FLAGS_TEMP;486 pSG->cSegsAlloc = cSegs;487 488 480 /* 489 * Convert the message block to segments. 481 * Convert the message block to segments. Works cbTotal and sets cSegsUsed. 490 482 */ 483 INTNETSgInitTempSegs(pSG, 0 /*cbTotal*/, cSegs, 0 /*cSegsUsed*/); 491 484 mblk_t *pCur = pMsg; 492 485 unsigned iSeg = 0; … … 518 511 pSG->cbTotal = 60; 519 512 pSG->cSegsUsed++; 513 Assert(iSeg + 1 < cSegs); 520 514 } 521 515 #endif
Note:
See TracChangeset
for help on using the changeset viewer.