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 */ variable144 if (zflg) { in child_thread()147 zflg = 0; in child_thread()154 if (zflg) { in child_thread()224 if (zflg) in child_thread()338 zflg = 1; in main()414 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main()417 zflg = 0; in main()425 wr = send(fd, buffer, wr, zflg ? MSG_ZEROCOPY : 0); in main()