- Timestamp:
- Apr 7, 2010 5:22:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNetSniffer.cpp
r27973 r28056 118 118 /* output to sniffer */ 119 119 RTCritSectEnter(&pThis->Lock); 120 /** @todo Deal with GSO here. */ 121 PcapFileFrame(pThis->File, pThis->StartNanoTS, 122 pSgBuf->aSegs[0].pvSeg, 123 pSgBuf->cbUsed, 124 RT_MIN(pSgBuf->cbUsed, pSgBuf->aSegs[0].cbSeg)); 120 if (!pSgBuf->pvUser) 121 PcapFileFrame(pThis->File, pThis->StartNanoTS, 122 pSgBuf->aSegs[0].pvSeg, 123 pSgBuf->cbUsed, 124 RT_MIN(pSgBuf->cbUsed, pSgBuf->aSegs[0].cbSeg)); 125 else 126 PcapFileGsoFrame(pThis->File, pThis->StartNanoTS, (PCPDMNETWORKGSO)pSgBuf->pvUser, 127 pSgBuf->aSegs[0].pvSeg, 128 pSgBuf->cbUsed, 129 RT_MIN(pSgBuf->cbUsed, pSgBuf->aSegs[0].cbSeg)); 125 130 RTCritSectLeave(&pThis->Lock); 126 131
Note:
See TracChangeset
for help on using the changeset viewer.