Searched refs:zflg (Results 1 – 1 of 1) sorted by relevance
95 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable158 if (zflg) { in child_thread()161 zflg = 0; in child_thread()168 if (zflg) { in child_thread()238 if (zflg) in child_thread()352 zflg = 1; in main()428 if (zflg && setsockopt(fd, SOL_SOCKET, SO_ZEROCOPY, in main()431 zflg = 0; in main()439 wr = send(fd, buffer, wr, zflg ? MSG_ZEROCOPY : 0); in main()