Searched refs:TLS_TX (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/tools/include/uapi/linux/ |
D | tls.h | 40 #define TLS_TX 1 /* Set transmit parameters */ macro
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | tls.c | 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() 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/ |
D | tls.h | 40 #define TLS_TX 1 /* Set transmit parameters */ macro
|
/linux-6.12.1/Documentation/networking/ |
D | tls.rst | 59 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/ |
D | tls_main.c | 554 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/ |
D | setget_sockopt.c | 123 ret = setsockopt(fd, SOL_TLS, TLS_TX, &aes128, sizeof(aes128)); in test_ktls()
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_hw.c | 378 if (optname == TLS_TX) { in chtls_setkey()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 275 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()
|