Lines Matching refs:SOL_TLS

27 #define SOL_TLS 282  macro
172 cmsg->cmsg_level = SOL_TLS; in tls_send_cmsg()
205 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in tls_recv_cmsg()
250 …EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_12… in TEST_F()
254 …EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_12… in TEST_F()
258 …EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_12… in TEST_F()
262 …EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_12… in TEST_F()
266 …EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_12… in TEST_F()
382 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
385 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len); in FIXTURE_SETUP()
389 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in FIXTURE_SETUP()
1161 ret = setsockopt(self->fd, SOL_TLS, TLS_RX, &tls12, in TEST_F()
1165 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1592 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1601 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1609 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), -1); in TEST_F()
1614 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), -1); in TEST_F()
1687 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1690 ret = setsockopt(self->cfd2, SOL_TLS, TLS_RX, &tls12, tls12.len); in FIXTURE_SETUP()
2032 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, in TEST()
2036 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, in TEST()
2060 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, sizeof(tls12)); in TEST()
2063 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, sizeof(tls12)); in TEST()
2067 ret = setsockopt(cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in TEST()
2073 ret = getsockopt(cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in TEST()
2080 ret = setsockopt(cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in TEST()
2086 ret = getsockopt(cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in TEST()
2134 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in TEST()
2137 ret = setsockopt(fd, SOL_TLS, TLS_RX, &tls12, tls12.len); in TEST()
2183 ASSERT_EQ(setsockopt(fd, SOL_TLS, TLS_TX, &tls12, tls12.len), 0); in TEST()
2187 ASSERT_EQ(setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), 0); in TEST()