Searched refs:usend (Results 1 - 1 of 1) sorted by relevance

/freebsd-current/tests/sys/kern/
H A Dsocket_accf.c89 usend(int s, const void *msg, size_t len) function
112 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo"));
134 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo"));
146 ATF_REQUIRE(usend(s, CHUNK1, LEN(CHUNK1)) == LEN(CHUNK1));
151 ATF_REQUIRE(usend(s, CHUNK2, LEN(CHUNK2)) == LEN(CHUNK2));
173 ATF_REQUIRE(usend(s, "foo", sizeof("foo")) == sizeof("foo"));
177 ATF_REQUIRE(usend(s, "bar", sizeof("bar")) == sizeof("bar"));
194 ATF_REQUIRE(usend(s, &header, sizeof(header)) == sizeof(header));
205 ATF_REQUIRE(usend(s, buf, len) == (ssize_t)len);

Completed in 371 milliseconds