Searched refs:SOL_TLS (Results 1 – 12 of 12) sorted by relevance
/linux-6.12.1/tools/testing/selftests/net/ |
D | tls.c | 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() [all …]
|
/linux-6.12.1/net/handshake/ |
D | alert.c | 57 cmsg->cmsg_level = SOL_TLS; in tls_alert_send() 78 if (cmsg->cmsg_level != SOL_TLS) in tls_get_record_type()
|
/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() 127 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &aes128, sizeof(aes128)); in test_ktls()
|
/linux-6.12.1/Documentation/networking/ |
D | tls.rst | 59 setsockopt(sock, SOL_TLS, TLS_TX, &crypto_info, sizeof(crypto_info)); 147 cmsg->cmsg_level = SOL_TLS; 190 if (cmsg->cmsg_level == SOL_TLS &&
|
D | tls-handshake.rst | 39 SOL_TLS socket options. The handshake agent returns the socket to the
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_main.c | 483 if (level != SOL_TLS) in chtls_getsockopt() 574 if (level != SOL_TLS) in chtls_setsockopt()
|
D | chtls_io.c | 988 if (cmsg->cmsg_level != SOL_TLS) in chtls_proccess_cmsg() 1482 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in chtls_pt_recvmsg()
|
/linux-6.12.1/net/tls/ |
D | tls_main.c | 247 if (cmsg->cmsg_level != SOL_TLS) in tls_process_cmsg() 580 if (level != SOL_TLS) in tls_getsockopt() 805 if (level != SOL_TLS) in tls_setsockopt()
|
D | tls_sw.c | 1762 err = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_record_content_type()
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 47 #ifndef SOL_TLS 48 # define SOL_TLS 282 macro 275 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls() 280 err = setsockopt(s, SOL_TLS, TLS_RX, (void *)&tls_rx, sizeof(tls_rx)); in sockmap_init_ktls()
|
/linux-6.12.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 383 #define SOL_TLS 282 macro
|
/linux-6.12.1/include/linux/ |
D | socket.h | 383 #define SOL_TLS 282 macro
|