Lines Matching defs:pFileText

175  * @param   pFileText       The file to write a textual packet summary to (optional).
177 static void doXmitFrame(INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, PINTNETBUF pBuf, void *pvFrame, size_t cbFrame, PRTSTREAM pFileRaw, PRTSTREAM pFileText)
182 if (pFileText)
186 RTStrmPrintf(pFileText, "%3RU64.%09u: cb=%04x dst=%.6Rhxs src=%.6Rhxs type=%04x Send!\n",
194 tstIntNetTestFrame(pvFrame, cbFrame, pFileText, false /*fGso*/);
237 * @param pFileText The file to write a textual packet summary to (optional).
239 static void doXmitTest(INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, PINTNETBUF pBuf, PCRTMAC pSrcMac, PRTSTREAM pFileRaw, PRTSTREAM pFileText)
324 doXmitFrame(hIf, pSession, pBuf, &abFrame[0], (uint8_t *)(pDhcpMsg + 1) - (uint8_t *)&abFrame[0], pFileRaw, pFileText);
362 * @param pFileText The file to write a textual packet summary to (optional).
364 static void doPingTest(INTNETIFHANDLE hIf, PSUPDRVSESSION pSession, PINTNETBUF pBuf, PCRTMAC pSrcMac, PRTSTREAM pFileRaw, PRTSTREAM pFileText)
413 doXmitFrame(hIf, pSession, pBuf, &abFrame[0], (uint8_t *)(pIcmpEcho + 1) + cbPad - (uint8_t *)&abFrame[0], pFileRaw, pFileText);
425 * @param pFileText The file to write a textual packet summary to (optional).
429 PRTSTREAM pFileRaw, PRTSTREAM pFileText, PCRTMAC pSrcMac)
475 if (pFileText)
476 RTStrmPrintf(pFileText, "%3RU64.%09u: cb=%04x dst=%.6Rhxs src=%.6Rhxs type=%04x%s\n",
480 tstIntNetTestFrame(pvFrame, cbFrame, pFileText, false /*fGso*/);
556 if (pFileText)
557 RTStrmPrintf(pFileText, "%3RU64.%09u: cb=%04x dst=%.6Rhxs src=%.6Rhxs type=%04x%s [GSO]\n",
561 tstIntNetTestFrame(pvFrame, cbFrame, pFileText, true /*fGso*/);
583 RTStrmPrintf(pFileText ? pFileText : g_pStdOut,
592 RTStrmPrintf(pFileText ? pFileText : g_pStdOut,
696 PRTSTREAM pFileText = g_pStdOut;
772 pFileText = NULL;
774 pFileText = g_pStdOut;
776 pFileText = g_pStdErr;
779 rc = RTStrmOpen(Value.psz, "w", &pFileText);
937 doXmitTest(OpenReq.hIf, pSession, pBuf, &SrcMac, pFileRaw, pFileText);
940 doPingTest(OpenReq.hIf, pSession, pBuf, &SrcMac, pFileRaw, pFileText);
947 doPacketSniffing(OpenReq.hIf, pSession, pBuf, cMillies, pFileRaw, pFileText, &SrcMac);
994 if (pFileText && pFileText != g_pStdErr && pFileText != g_pStdOut)
995 RTStrmClose(pFileText);