Home
last modified time | relevance | path

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

/linux-5.19.10/tools/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-5.19.10/include/uapi/linux/
Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/linux-5.19.10/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-5.19.10/net/tls/
Dtls_main.c542 case TLS_TX: in do_tls_getsockopt()
545 optname == TLS_TX); in do_tls_getsockopt()
727 case TLS_TX: in do_tls_setsockopt()
731 optname == TLS_TX); in do_tls_setsockopt()
/linux-5.19.10/tools/testing/selftests/net/
Dtls.c313 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1057 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1466 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1649 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, in TEST()
1700 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in TEST()
/linux-5.19.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_hw.c378 if (optname == TLS_TX) { in chtls_setkey()
/linux-5.19.10/tools/testing/selftests/bpf/
Dtest_sockmap.c273 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()