Home
last modified time | relevance | path

Searched refs:TLS_TX (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/tools/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-6.12.1/tools/testing/selftests/net/
Dtls.c250 …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()
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()
[all …]
/linux-6.12.1/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-6.12.1/Documentation/networking/
Dtls.rst59 setsockopt(sock, SOL_TLS, TLS_TX, &crypto_info, sizeof(crypto_info));
62 TLS_TX or TLS_RX.
67 After setting the TLS_TX socket option all application data sent over this
/linux-6.12.1/net/tls/
Dtls_main.c554 case TLS_TX: in do_tls_getsockopt()
557 optname == TLS_TX); in do_tls_getsockopt()
778 case TLS_TX: in do_tls_setsockopt()
782 optname == TLS_TX); in do_tls_setsockopt()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dsetget_sockopt.c123 ret = setsockopt(fd, SOL_TLS, TLS_TX, &aes128, sizeof(aes128)); in test_ktls()
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c378 if (optname == TLS_TX) { in chtls_setkey()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_sockmap.c275 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()