Home
last modified time | relevance | path

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

/linux/tools/include/uapi/linux/
H A Dtls.h41 #define TLS_RX 2 /* Set receive parameters */ macro
/linux/include/uapi/linux/
H A Dtls.h41 #define TLS_RX 2 /* Set receive parameters */ macro
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsetget_sockopt.c127 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &aes128, sizeof(aes128)); in test_ktls()
/linux/tools/testing/selftests/net/
H A Dtls.c282 ASSERT_EQ(setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), 0);
404 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, tls12.len); in TEST_F()
1180 ret = setsockopt(self->fd, SOL_TLS, TLS_RX, &tls12, in TEST_F()
1709 ret = setsockopt(self->cfd2, SOL_TLS, TLS_RX, &tls12, tls12.len); in TEST_F()
2055 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, in TEST()
2082 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, sizeof(tls12)); in TEST()
2156 ret = setsockopt(fd, SOL_TLS, TLS_RX, &tls12, tls12.len); in TEST()
2206 ASSERT_EQ(setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, tls12.len), 0); in fips_check()
/linux/Documentation/networking/
H A Dtls.rst62 TLS_TX or TLS_RX.
102 After setting the TLS_RX socket option, all recv family socket calls
/linux/net/tls/
H A Dtls_main.c555 case TLS_RX: in do_tls_getsockopt()
779 case TLS_RX: in do_tls_setsockopt()
/linux/tools/testing/selftests/bpf/
H A Dtest_sockmap.c286 err = setsockopt(s, SOL_TLS, TLS_RX, (void *)&tls_rx, sizeof(tls_rx)); in sockmap_init_ktls()
288 fprintf(stderr, "setsockopt: TLS_RX(%s) failed with error %i\n", sock_to_string(s), err); in sockmap_init_ktls()