Home
last modified time | relevance | path

Searched refs:zflg (Results 1 – 1 of 1) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/net/
Dtcp_mmap.c95 static int zflg; /* zero copy option. (MSG_ZEROCOPY for sender, mmap() for receiver */ variable
158 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()