Searched refs:zflg (Results 1 – 1 of 1) sorted by relevance
81 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable173 if (zflg) { in child_thread()177 zflg = 0; in child_thread()187 if (zflg) { in child_thread()262 if (zflg) in child_thread()408 zflg = 1; in main()498 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main()501 zflg = 0; in main()509 wr = send(fd, buffer, (size_t)wr, zflg ? MSG_ZEROCOPY : 0); in main()