MCPcopy Create free account
hub / github.com/F-Stack/f-stack / show_count

Function show_count

dpdk/app/dumpcap/main.c:860–869  ·  view source on GitHub ↗

* Show current count of captured packets * with backspaces to overwrite last value. */

Source from the content-addressed store, hash-verified

858 * with backspaces to overwrite last value.
859 */
860static void show_count(uint64_t count)
861{
862 unsigned int i;
863 static unsigned int bt;
864
865 for (i = 0; i < bt; i++)
866 fputc('\b', stderr);
867
868 bt = fprintf(stderr, "%"PRIu64" ", count);
869}
870
871/* Write multiple packets in older pcap format */
872static ssize_t

Callers 2

process_ringFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected