Searched refs:TLS_TX (Results 1 – 7 of 7) sorted by relevance
/linux/tools/testing/selftests/net/ |
H A D | tls.c | 250 EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_128)), -1); in TEST_F() 254 EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_128)), -1); in TEST_F() 258 EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_128)), -1); in TEST_F() 262 EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_128)), -1); in TEST_F() 266 EXPECT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, sizeof(struct tls12_crypto_info_aes_gcm_128)), -1); in TEST_F() 281 ASSERT_EQ(setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len), 0); 401 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in TEST_F() 1184 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F() 1611 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F() 1620 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, in TEST_F() [all...] |
/linux/tools/include/uapi/linux/ |
H A D | tls.h | 40 #define TLS_TX 1 /* Set transmit parameters */ macro
|
/linux/include/uapi/linux/ |
H A D | tls.h | 40 #define TLS_TX 1 /* Set transmit parameters */ macro
|
/linux/Documentation/networking/ |
H A 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/net/tls/ |
H A 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/tools/testing/selftests/bpf/prog_tests/ |
H A D | setget_sockopt.c | 123 ret = setsockopt(fd, SOL_TLS, TLS_TX, &aes128, sizeof(aes128)); in test_ktls()
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_sockmap.c | 281 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls() 283 fprintf(stderr, "setsockopt: TLS_TX(%s) failed with error %i\n", sock_to_string(s), err); in sockmap_init_ktls()
|