Home
last modified time | relevance | path

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

/tools/testing/selftests/net/
Dtls.c26 #define SOL_TLS 282 macro
213 ret = setsockopt(self->fd, SOL_TLS, TLS_TX, &tls12, in FIXTURE_SETUP()
226 ret = setsockopt(self->cfd, SOL_TLS, TLS_RX, &tls12, in FIXTURE_SETUP()
875 ret = setsockopt(self->fd, SOL_TLS, TLS_RX, &tls12, in TEST_F()
879 ret = setsockopt(self->cfd, SOL_TLS, TLS_TX, &tls12, in TEST_F()
1196 cmsg->cmsg_level = SOL_TLS; in TEST_F()
1212 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in TEST_F()
1225 EXPECT_EQ(cmsg->cmsg_level, SOL_TLS); in TEST_F()
1374 ret = setsockopt(fd, SOL_TLS, TLS_TX, &tls12, in TEST()
1387 ret = setsockopt(cfd, SOL_TLS, TLS_RX, &tls12, in TEST()
/tools/perf/trace/beauty/include/linux/
Dsocket.h365 #define SOL_TLS 282 macro
/tools/testing/selftests/bpf/
Dtest_sockmap.c49 #ifndef SOL_TLS
50 # 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()