Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/net/
Dtls.c26 #define SOL_TLS 282 macro
156 cmsg->cmsg_level = SOL_TLS; in tls_send_cmsg()
189 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in tls_recv_cmsg()
322 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
325 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len); in FIXTURE_SETUP()
329 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX_EXPECT_NO_PAD, in FIXTURE_SETUP()
1076 ret = setsockopt(self->fd, SOL_TLS, TLS_RX, &tls12, in TEST_F()
1080 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1489 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1492 ret = setsockopt(self->cfd2, SOL_TLS, TLS_RX, &tls12, tls12.len); in FIXTURE_SETUP()
[all …]
/Linux-v6.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 &&
/Linux-v6.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.c985 if (cmsg->cmsg_level != SOL_TLS) in chtls_proccess_cmsg()
1564 cerr = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in chtls_pt_recvmsg()
/Linux-v6.1/net/tls/
Dtls_main.c195 if (cmsg->cmsg_level != SOL_TLS) in tls_process_cmsg()
662 if (level != SOL_TLS) in tls_getsockopt()
904 if (level != SOL_TLS) in tls_setsockopt()
Dtls_sw.c1726 err = put_cmsg(msg, SOL_TLS, TLS_GET_RECORD_TYPE, in tls_record_content_type()
/Linux-v6.1/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.1/tools/perf/trace/beauty/include/linux/
Dsocket.h374 #define SOL_TLS 282 macro
/Linux-v6.1/include/linux/
Dsocket.h374 #define SOL_TLS 282 macro