Changeset 37909 in vbox for trunk/src/VBox/Devices/Network
- Timestamp:
- Jul 13, 2011 10:27:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/SrvIntNetR0.cpp
r36089 r37909 283 283 /** Pointer to the trunk's per interface data. Can be NULL. */ 284 284 void *pvIfData; 285 /** Header buffer for when we're carving GSO frames. */ 286 uint8_t abGsoHdrs[256]; 285 287 } INTNETIF; 286 288 /** Pointer to an internal network interface. */ … … 319 321 * number. */ 320 322 uint32_t fHostGsoCapabilites; 321 /** Header buffer for when we're carving GSO frames. */322 uint8_t abGsoHdrs[256];323 323 /** The destination table spinlock, interrupt safe. 324 324 * Protects apTaskDstTabs and apIntDstTabs. */ … … 2665 2665 uint32_t cbSegPayload; 2666 2666 uint32_t offSegPayload = PDMNetGsoCarveSegment(&pSG->GsoCtx, (uint8_t *)pSG->aSegs[0].pv, pSG->cbTotal, iSeg, cSegs, 2667 p This->abGsoHdrs, &cbSegPayload);2667 pIfSender->abGsoHdrs, &cbSegPayload); 2668 2668 2669 2669 IntNetSgInitTempSegs(&u.SG, pSG->GsoCtx.cbHdrs + cbSegPayload, 2, 2); 2670 2670 u.SG.aSegs[0].Phys = NIL_RTHCPHYS; 2671 u.SG.aSegs[0].pv = p This->abGsoHdrs;2671 u.SG.aSegs[0].pv = pIfSender->abGsoHdrs; 2672 2672 u.SG.aSegs[0].cb = pSG->GsoCtx.cbHdrs; 2673 2673 u.SG.aSegs[1].Phys = NIL_RTHCPHYS;
Note:
See TracChangeset
for help on using the changeset viewer.