Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/net/tls/
Dtls_main.c246 if (cmsg->cmsg_level != SOL_TLS) in tls_process_cmsg()
581 if (level != SOL_TLS) in tls_getsockopt()
800 if (level != SOL_TLS) in tls_setsockopt()
Dtls_sw.c1735 err = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_record_content_type()
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_sockmap.c47 #ifndef SOL_TLS
48 # define SOL_TLS 282 macro
274 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()
279 err = setsockopt(s, SOL_TLS, TLS_RX, (void *)&tls_rx, sizeof(tls_rx)); in sockmap_init_ktls()
/Linux-v6.6/include/linux/
Dsocket.h381 #define SOL_TLS 282 macro
/Linux-v6.6/tools/perf/trace/beauty/include/linux/
Dsocket.h381 #define SOL_TLS 282 macro