Home
last modified time | relevance | path

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

/openbmc/linux/tools/include/uapi/linux/
H A Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/openbmc/linux/tools/testing/selftests/net/
H A Dtls.c382 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1165 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1547 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1556 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), 0); in TEST_F()
1564 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), -1); in TEST_F()
1569 EXPECT_EQ(getsockopt(self->fd, SOL_TLS, TLS_TX, &get, &len), -1); in TEST_F()
1608 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in FIXTURE_SETUP()
1953 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, in TEST()
1981 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, sizeof(tls12)); in TEST()
2055 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, tls12.len); in TEST()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dtls.h40 #define TLS_TX 1 /* Set transmit parameters */ macro
/openbmc/linux/Documentation/networking/
H A 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
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsetget_sockopt.c123 ret = setsockopt(fd, SOL_TLS, TLS_TX, &aes128, sizeof(aes128)); in test_ktls()
/openbmc/linux/net/tls/
H A Dtls_main.c555 case TLS_TX: in do_tls_getsockopt()
558 optname == TLS_TX); in do_tls_getsockopt()
773 case TLS_TX: in do_tls_setsockopt()
777 optname == TLS_TX); in do_tls_setsockopt()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_hw.c378 if (optname == TLS_TX) { in chtls_setkey()
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c274 err = setsockopt(s, SOL_TLS, TLS_TX, (void *)&tls_tx, sizeof(tls_tx)); in sockmap_init_ktls()