Home
last modified time | relevance | path

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

/freebsd/libexec/tftpd/tests/
H A Dfunctional.c324 int client_s, server_s, pid, argv_idx; in setup() local
360 server_s = socket(protocol, SOCK_DGRAM, 0); in setup()
361 if (server_s < 0 && errno == EAFNOSUPPORT) { in setup()
365 ATF_REQUIRE_MSG(server_s >= 0, in setup()
367 ATF_REQUIRE_EQ_MSG(0, bind(server_s, server_addr, len), in setup()
392 ATF_REQUIRE_EQ(STDOUT_FILENO, dup2(server_s, STDOUT_FILENO)); in setup()
393 ATF_REQUIRE_EQ(STDIN_FILENO, dup2(server_s, STDIN_FILENO)); in setup()
394 ATF_REQUIRE_EQ(STDERR_FILENO, dup2(server_s, STDERR_FILENO)); in setup()
420 ATF_REQUIRE_INTEQ(0, close(server_s)); in setup()
/freebsd/crypto/openssl/test/
H A Dssl_old_test.c146 const unsigned char *server_s; in verify_npn() local
150 SSL_get0_next_proto_negotiated(server, &server_s, &server_len); in verify_npn()
160 BIO_write(bio_stdout, server_s, server_len); in verify_npn()
172 memcmp(server_s, NEXT_PROTO_STRING + 1, server_len))) in verify_npn()