Home
last modified time | relevance | path

Searched refs:TLS_TX (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/tools/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-6.1.9/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-6.1.9/Documentation/networking/
Dtls.rst59 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-6.1.9/net/tls/
Dtls_main.c639 case TLS_TX: in do_tls_getsockopt()
642 optname == TLS_TX); in do_tls_getsockopt()
877 case TLS_TX: in do_tls_setsockopt()
881 optname == TLS_TX); in do_tls_setsockopt()
/linux-6.1.9/tools/testing/selftests/net/
Dtls.c322 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
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()
1704 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, in TEST()
1732 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, sizeof(tls12)); in TEST()
1806 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in TEST()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c378 if (optname == TLS_TX) { in chtls_setkey()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sockmap.c274 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()