Lines Matching defs:File
183 * @param File The file handle.
186 int PcapFileHdr(RTFILE File, uint64_t StartNanoTS)
188 int rc1 = RTFileWrite(File, &s_Hdr, sizeof(s_Hdr), NULL);
189 int rc2 = PcapFileFrame(File, StartNanoTS, s_szDummyData, 60, sizeof(s_szDummyData));
199 * @param File The file handle.
205 int PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax)
209 int rc1 = RTFileWrite(File, &Hdr, sizeof(Hdr), NULL);
210 int rc2 = RTFileWrite(File, pvFrame, Hdr.incl_len, NULL);
220 * @param File The file handle.
228 int PcapFileGsoFrame(RTFILE File, uint64_t StartNanoTS, PCPDMNETWORKGSO pGso,
243 int rc = RTFileWrite(File, &Hdr, sizeof(Hdr), NULL);
247 rc = RTFileWrite(File, abHdrs, RT_MIN(Hdr.incl_len, cbHdrs), NULL);
249 rc = RTFileWrite(File, pbFrame + offSegPayload, Hdr.incl_len - cbHdrs, NULL);