Searched refs:SOL_TLS (Results 1 – 3 of 3) sorted by relevance
/tools/testing/selftests/net/ |
D | tls.c | 26 #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/ |
D | socket.h | 365 #define SOL_TLS 282 macro
|
/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 49 #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()
|