Home
last modified time | relevance | path

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

/Linux-v6.6/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()
1151 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1533 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1542 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1550 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), -1); in TEST_F()
[all …]
/Linux-v6.6/tools/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/Linux-v6.6/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/Linux-v6.6/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-v6.6/tools/testing/selftests/bpf/prog_tests/
Dsetget_sockopt.c123 ret = setsockopt(fd, SOL_TLS, TLS_TX, &aes128, sizeof(aes128)); in test_ktls()
/Linux-v6.6/net/tls/
Dtls_main.c555 case TLS_TX: in do_tls_getsockopt()
558 optname == TLS_TX); in do_tls_getsockopt()
773 case TLS_TX: in do_tls_setsockopt()
777 optname == TLS_TX); in do_tls_setsockopt()
/Linux-v6.6/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c378 if (optname == TLS_TX) { in chtls_setkey()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sockmap.c274 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()