Home
last modified time | relevance | path

Searched refs:SOL_TLS (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/tools/testing/selftests/net/
Dtls.c27 #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/
Dalert.c57 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/
Dsetget_sockopt.c123 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/
Dtls.rst59 setsockopt(sock, SOL_TLS, TLS_TX, &crypto_info, sizeof(crypto_info));
147 cmsg->cmsg_level = SOL_TLS;
190 if (cmsg->cmsg_level == SOL_TLS &&
Dtls-handshake.rst39 SOL_TLS socket options. The handshake agent returns the socket to the
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_main.c483 if (level != SOL_TLS) in chtls_getsockopt()
574 if (level != SOL_TLS) in chtls_setsockopt()
Dchtls_io.c988 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/
Dtls_main.c247 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()
Dtls_sw.c1762 err = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_record_content_type()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_sockmap.c47 #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/
Dsocket.h383 #define SOL_TLS 282 macro
/linux-6.12.1/include/linux/
Dsocket.h383 #define SOL_TLS 282 macro