Searched refs:sndbufsize (Results 1 – 1 of 1) sorted by relevance
/freebsd/tests/sys/kern/ |
H A D | unix_seqpacket_test.c | 151 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() 164 ATF_REQUIRE_EQ(0, setsockopt(sv[0], SOL_SOCKET, SO_SNDBUF, &sndbufsize, in test_eagain() 165 sizeof(sndbufsize))); 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() 248 ATF_REQUIRE_EQ(0, setsockopt(sv[0], SOL_SOCKET, SO_SNDBUF, &sndbufsize, in test_pipe_simulator() 249 sizeof(sndbufsize))); in test_pipe_simulator() 254 numpkts = MAX(sndbufsize, rcvbufsize) * 8 / pktsize; in test_pipe_simulator() [all …]
|