Home
last modified time | relevance | path

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

/freebsd/tests/sys/kern/
H A Dunix_seqpacket_test.c151 test_eagain(int sndbufsize, int rcvbufsize) in test_eagain() argument
155 const size_t totalsize = (sndbufsize + rcvbufsize) * 2; in test_eagain()
156 const size_t pktsize = MIN(sndbufsize, rcvbufsize) / 4; in test_eagain()
166 ATF_REQUIRE_EQ(0, setsockopt(sv[1], SOL_SOCKET, SO_RCVBUF, &rcvbufsize, in test_eagain()
167 sizeof(rcvbufsize))); in test_eagain()
233 test_pipe_simulator(int sndbufsize, int rcvbufsize) in test_pipe_simulator() argument
237 const ssize_t pktsize = MIN(sndbufsize, rcvbufsize) / 4; in test_pipe_simulator()
250 ATF_REQUIRE_EQ(0, setsockopt(sv[1], SOL_SOCKET, SO_RCVBUF, &rcvbufsize, in test_pipe_simulator()
251 sizeof(rcvbufsize))); in test_pipe_simulator()
254 numpkts = MAX(sndbufsize, rcvbufsize) * 8 / pktsize; in test_pipe_simulator()
[all …]