H A D | ktls_test.c | 1182 int kq, sockets[2]; in test_ktls_transmit_app_data() local 1195 ATF_REQUIRE_MSG(open_sockets(tc, sockets), "failed to create sockets"); in test_ktls_transmit_app_data() 1197 ATF_REQUIRE(setsockopt(sockets[1], IPPROTO_TCP, TCP_TXTLS_ENABLE, en, in test_ktls_transmit_app_data() 1199 check_tls_mode(tc, sockets[1], TCP_TXTLS_MODE); in test_ktls_transmit_app_data() 1201 EV_SET(&ev, sockets[0], EVFILT_READ, EV_ADD, 0, 0, NULL); in test_ktls_transmit_app_data() 1203 EV_SET(&ev, sockets[1], EVFILT_WRITE, EV_ADD, 0, 0, NULL); in test_ktls_transmit_app_data() 1294 close_sockets(sockets); in test_ktls_transmit_app_data() 1332 int sockets[2]; in test_ktls_transmit_control() local 1343 ATF_REQUIRE_MSG(open_sockets(tc, sockets), "faile in test_ktls_transmit_control() 1392 int sockets[2]; test_ktls_transmit_empty_fragment() local 1501 int kq, sockets[2]; test_ktls_receive_app_data() local 1621 int sockets[2]; test_ktls_receive_corrupted_record() local 1710 int sockets[2]; test_ktls_receive_truncated_record() local 1751 int sockets[2]; test_ktls_receive_bad_major() local 1793 int sockets[2]; test_ktls_receive_bad_minor() local 1835 int sockets[2]; test_ktls_receive_bad_type() local 1878 int sockets[2]; test_ktls_receive_bad_size() local 2163 int sockets[2]; test_ktls_invalid_transmit_cipher_suite() local 2659 int sockets[2]; test_ktls_invalid_receive_cipher_suite() local 2698 int sockets[2]; test_ktls_unsupported_receive_cipher_suite() local [all...] |