Searched refs:zflg (Results 1 – 1 of 1) sorted by relevance
86 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable196 if (zflg) { in child_thread()200 zflg = 0; in child_thread()218 if (zflg) { in child_thread()318 if (zflg) in child_thread()483 zflg = 1; in main()576 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main()579 zflg = 0; in main()598 (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()