Changeset 87925 in vbox
- Timestamp:
- Mar 2, 2021 8:12:02 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143015
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxIntnetPcap/VBoxIntnetPcap.cpp
r87924 r87925 36 36 IntNetIf g_net; 37 37 PRTSTREAM g_pStrmOut; 38 uint64_t g_StartNanoTS; 38 39 bool g_fPacketBuffered; 39 40 uint64_t g_u64Count; … … 193 194 strNetworkName.c_str(), rc); 194 195 195 rc = PcapStreamHdr(g_pStrmOut, RTTimeNanoTS()); 196 g_StartNanoTS = RTTimeNanoTS(); 197 rc = PcapStreamHdr(g_pStrmOut, g_StartNanoTS); 196 198 if (RT_FAILURE(rc)) 197 199 return RTMsgErrorExit(RTEXITCODE_FAILURE, … … 225 227 RT_NOREF(pvUser); 226 228 227 rc = PcapStreamFrame(g_pStrmOut, RTTimeNanoTS(),229 rc = PcapStreamFrame(g_pStrmOut, g_StartNanoTS, 228 230 pvFrame, cbFrame, g_cbSnapLen); 229 231 if (RT_FAILURE(rc)) {
Note:
See TracChangeset
for help on using the changeset viewer.